<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Avance Zone &#187; Microsoft Dot Net</title>
	<atom:link href="http://blogs.avancezone.com/category/technical/microsoft-dot-net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.avancezone.com</link>
	<description>Technical Experts Zone Blogs</description>
	<lastBuildDate>Thu, 15 Sep 2011 15:54:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>C sharp HTML  Searching  Method</title>
		<link>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-searching-method/</link>
		<comments>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-searching-method/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 15:45:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C Sharp]]></category>

		<guid isPermaLink="false">http://blogs.avancezone.com/?p=406</guid>
		<description><![CDATA[This program helps in understanding the c sharp HTML Searching Method &#160; &#160; &#160; &#160; &#60;html&#62; &#160; &#60;form action= http://127.0.0.1/cgi-bin/search.exe &#62; &#160; &#60;b&#62; Enter keyword &#60;/b&#62; &#160; &#60;input type=text name=aa&#62; &#60;p&#62; &#160; &#60;input type=submit value=&#34;Search&#34;&#62; &#160; &#60;form&#62; &#160; &#60;/html&#62; &#160; //c# Code using System.Data.OleDb; &#160; class zzz &#160; &#123; &#160; public static void Main&#40;&#41; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>This program helps in understanding the c sharp HTML  Searching  Method</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;">&nbsp;
&nbsp;
&nbsp;
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>html<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>form action<span style="color: #006600; font-weight: bold;">=</span> http<span style="color: #006600; font-weight: bold;">:</span><span style="color: #ff6600;">//127.0.0.1/cgi-bin/search.exe &gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>b<span style="color: #006600; font-weight: bold;">&gt;</span> Enter keyword <span style="color: #006600; font-weight: bold;">&lt;/</span>b<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>input type<span style="color: #006600; font-weight: bold;">=</span>text name<span style="color: #006600; font-weight: bold;">=</span>aa<span style="color: #006600; font-weight: bold;">&gt;</span> <span style="color: #006600; font-weight: bold;">&lt;</span>p<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>input type<span style="color: #006600; font-weight: bold;">=</span>submit value<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;Search&quot;</span><span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>form<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;/</span>html<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #ff6600;">//c# Code</span>
using System.<span style="color: #9900cc;">Data</span>.<span style="color: #9900cc;">OleDb</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #0000ff; font-weight: bold;">class</span> zzz
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">public</span> static void Main<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
try
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">string</span> t<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
t<span style="color: #006600; font-weight: bold;">=</span>System.<span style="color: #9900cc;">Environment</span>.<span style="color: #9900cc;">GetEnvironmentVariable</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;QUERY_STRING&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">string</span> <span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #006600; font-weight:bold;">&#93;</span> u<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
char <span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #006600; font-weight:bold;">&#93;</span> v <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #0000ff; font-weight: bold;">new</span> char<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#93;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
v<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">0</span><span style="color: #006600; font-weight:bold;">&#93;</span> <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #008000;">'=';</span>
&nbsp;
u <span style="color: #006600; font-weight: bold;">=</span> t.<span style="color: #9900cc;">Split</span><span style="color: #006600; font-weight:bold;">&#40;</span>v<span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">string</span> w<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;Content-Type:text/html\n&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
w <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #cc0000;">&quot;select * from search where keyword='&quot;</span> + u<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#93;</span> + <span style="color: #cc0000;">&quot;'&quot;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
OleDbConnection s<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
s <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #0000ff; font-weight: bold;">new</span> OleDbConnection<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=zzz.mdb&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
s.<span style="color: #330066;">Open</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
OleDbCommand c<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
c<span style="color: #006600; font-weight: bold;">=</span><span style="color: #0000ff; font-weight: bold;">new</span> OleDbCommand<span style="color: #006600; font-weight:bold;">&#40;</span>w,s<span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
OleDbDataReader r<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
r <span style="color: #006600; font-weight: bold;">=</span> c.<span style="color: #9900cc;">ExecuteReader</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">while</span> <span style="color: #006600; font-weight:bold;">&#40;</span> r.<span style="color: #9900cc;">Read</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;&lt;a href=/{0}&gt; {1} &lt;/a&gt;  {2}  &lt;br&gt;&quot;</span>,r.<span style="color: #9900cc;">GetValue</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#41;</span>,r.<span style="color: #9900cc;">GetValue</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">2</span><span style="color: #006600; font-weight:bold;">&#41;</span>,r.<span style="color: #9900cc;">GetValue</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">3</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
<span style="color: #990099; font-weight: bold;">if</span><span style="color: #006600; font-weight:bold;">&#40;</span>u<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#93;</span><span style="color: #006600; font-weight: bold;">!=</span><span style="color: #cc0000;">&quot;java&quot;</span> <span style="color: #006600; font-weight: bold;">&amp;&amp;</span> u<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#93;</span><span style="color: #006600; font-weight: bold;">!=</span><span style="color: #cc0000;">&quot;php&quot;</span> <span style="color: #006600; font-weight: bold;">&amp;&amp;</span> u<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#93;</span><span style="color: #006600; font-weight: bold;">!=</span><span style="color: #cc0000;">&quot;csharp&quot;</span> <span style="color: #006600; font-weight: bold;">&amp;&amp;</span> u<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#93;</span><span style="color: #006600; font-weight: bold;">!=</span><span style="color: #cc0000;">&quot;html&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
<span style="color: #006600; font-weight:bold;">&#123;</span>
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;&lt;h1&gt;Sorry Not Matching the Criteria&lt;/h1&gt;&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #006600; font-weight:bold;">&#125;</span>
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
catch<span style="color: #006600; font-weight:bold;">&#40;</span>System.<span style="color: #9900cc;">Exception</span> e<span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span>e.<span style="color: #9900cc;">ToString</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-searching-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C sharp Html Connection</title>
		<link>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-connection-4/</link>
		<comments>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-connection-4/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 15:41:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C Sharp]]></category>

		<guid isPermaLink="false">http://blogs.avancezone.com/?p=404</guid>
		<description><![CDATA[This program helps in understanding the c sharp Html Connection &#160; &#60;html&#62; &#60;form action=http://127.0.0.1/cgi-bin/test.exe&#62; &#60;input type=submit value=Search&#62; &#60;form&#62; &#60;/html&#62; &#160; //C# code &#160; class zzz &#160; &#123; &#160; public static void Main&#40;&#41;&#123; &#160; System.Collections.IDictionary i,t,KARTHIK; &#160; i=System.Environment.GetEnvironmentVariables &#40;&#41;; &#160; System.Collections.IDictionaryEnumerator d; &#160; d=i.GetEnumerator&#40;&#41;; t.Add&#40;KARTHIK,54&#41;; System.Console.WriteLine&#40;&#34;Content-Type:text/html\n&#34;&#41;; &#160; System.Console.WriteLine&#40;&#34;Total Environmental Variables &#34;+i.Count + &#34;&#60;br&#62;&#34;&#41;; &#160; while &#40;d.MoveNext&#40;&#41;&#41; [...]]]></description>
			<content:encoded><![CDATA[<p>This program helps in understanding the c sharp  Html Connection</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;">&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>html<span style="color: #006600; font-weight: bold;">&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;</span>form action<span style="color: #006600; font-weight: bold;">=</span>http<span style="color: #006600; font-weight: bold;">:</span><span style="color: #ff6600;">//127.0.0.1/cgi-bin/test.exe&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;</span>input type<span style="color: #006600; font-weight: bold;">=</span>submit value<span style="color: #006600; font-weight: bold;">=</span>Search<span style="color: #006600; font-weight: bold;">&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;</span>form<span style="color: #006600; font-weight: bold;">&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;/</span>html<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #ff6600;">//C# code</span>
&nbsp;
<span style="color: #0000ff; font-weight: bold;">class</span> zzz
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">public</span> static void Main<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
System.<span style="color: #9900cc;">Collections</span>.<span style="color: #9900cc;">IDictionary</span> i,t,KARTHIK<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
i<span style="color: #006600; font-weight: bold;">=</span>System.<span style="color: #9900cc;">Environment</span>.<span style="color: #9900cc;">GetEnvironmentVariables</span> <span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
System.<span style="color: #9900cc;">Collections</span>.<span style="color: #9900cc;">IDictionaryEnumerator</span> d<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
d<span style="color: #006600; font-weight: bold;">=</span>i.<span style="color: #9900cc;">GetEnumerator</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
t.<span style="color: #9900cc;">Add</span><span style="color: #006600; font-weight:bold;">&#40;</span>KARTHIK,<span style="color: #800000;">54</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;Content-Type:text/html\n&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;Total Environmental Variables &quot;</span>+i.<span style="color: #9900cc;">Count</span> + <span style="color: #cc0000;">&quot;&lt;br&gt;&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">while</span> <span style="color: #006600; font-weight:bold;">&#40;</span>d.<span style="color: #330066;">MoveNext</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;{0} = {1}&lt;br&gt;&quot;</span>,d.<span style="color: #9900cc;">Key</span>,d.<span style="color: #9900cc;">Value</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-connection-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>c sharp HTML Connection</title>
		<link>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-connection-3/</link>
		<comments>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-connection-3/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 15:35:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C Sharp]]></category>

		<guid isPermaLink="false">http://blogs.avancezone.com/?p=402</guid>
		<description><![CDATA[This program helps in understanding the c sharp HTML Connection &#160; &#160; &#60;html&#62; &#160; &#60;form action= http://127.0.0.1/cgi-bin/nine.exe &#62; &#160; &#60;b&#62; Enter Table Name &#60;/b&#62; &#160; &#60;input type=text name=aa&#62; &#60;p&#62; &#160; &#60;input type=submit value=&#34;Show Table&#34;&#62; &#160; &#60;form&#62; &#160; &#60;/html&#62; // C# Code &#160; using System.Data.OleDb; using System; class zzz &#160; &#123; &#160; public static void Main&#40;&#41; [...]]]></description>
			<content:encoded><![CDATA[<p>This program helps in understanding the c sharp HTML Connection</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;">&nbsp;
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>html<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>form action<span style="color: #006600; font-weight: bold;">=</span> http<span style="color: #006600; font-weight: bold;">:</span><span style="color: #ff6600;">//127.0.0.1/cgi-bin/nine.exe &gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>b<span style="color: #006600; font-weight: bold;">&gt;</span> Enter Table Name <span style="color: #006600; font-weight: bold;">&lt;/</span>b<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>input type<span style="color: #006600; font-weight: bold;">=</span>text name<span style="color: #006600; font-weight: bold;">=</span>aa<span style="color: #006600; font-weight: bold;">&gt;</span> <span style="color: #006600; font-weight: bold;">&lt;</span>p<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>input type<span style="color: #006600; font-weight: bold;">=</span>submit value<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;Show Table&quot;</span><span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>form<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;/</span>html<span style="color: #006600; font-weight: bold;">&gt;</span>
<span style="color: #ff6600;">// C# Code </span>
&nbsp;
using System.<span style="color: #9900cc;">Data</span>.<span style="color: #9900cc;">OleDb</span><span style="color: #006600; font-weight: bold;">;</span>
using System<span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #0000ff; font-weight: bold;">class</span> zzz
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">public</span> static void Main<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
try
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">string</span> t<span style="color: #006600; font-weight: bold;">;</span>
t<span style="color: #006600; font-weight: bold;">=</span>System.<span style="color: #9900cc;">Environment</span>.<span style="color: #9900cc;">GetEnvironmentVariable</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;QUERY_STRING&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #990099; font-weight: bold;">string</span> <span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #006600; font-weight:bold;">&#93;</span> u<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
char <span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #006600; font-weight:bold;">&#93;</span> v <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #0000ff; font-weight: bold;">new</span> char<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#93;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
v<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">0</span><span style="color: #006600; font-weight:bold;">&#93;</span> <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #008000;">'=';</span>
&nbsp;
u <span style="color: #006600; font-weight: bold;">=</span> t.<span style="color: #9900cc;">Split</span><span style="color: #006600; font-weight:bold;">&#40;</span>v<span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">string</span> w<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
w <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #cc0000;">&quot;select * from &quot;</span> + u<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#93;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
OleDbConnection s<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
s <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #0000ff; font-weight: bold;">new</span> OleDbConnection<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\zzz.mdb&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
s.<span style="color: #330066;">Open</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
OleDbCommand c<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
c<span style="color: #006600; font-weight: bold;">=</span><span style="color: #0000ff; font-weight: bold;">new</span> OleDbCommand<span style="color: #006600; font-weight:bold;">&#40;</span>w,s<span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
OleDbDataReader r<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
r <span style="color: #006600; font-weight: bold;">=</span> c.<span style="color: #9900cc;">ExecuteReader</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;Content-Type:text/html\n&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;&lt;table border=10&gt;&lt;thead&gt;&lt;th&gt;Vno&lt;/th&gt;&lt;th&gt;Name&lt;/th&gt;&lt;/thead&gt;&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">while</span> <span style="color: #006600; font-weight:bold;">&#40;</span> r.<span style="color: #9900cc;">Read</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;&lt;tr&gt;&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">for</span> <span style="color: #006600; font-weight:bold;">&#40;</span> <span style="color: #990099; font-weight: bold;">int</span> i <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #800000;">0</span> <span style="color: #006600; font-weight: bold;">;</span> i <span style="color: #006600; font-weight: bold;">&lt;</span> r.<span style="color: #9900cc;">FieldCount</span> <span style="color: #006600; font-weight: bold;">;</span> i++<span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #330066;">Write</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;&lt;td&gt;&quot;</span> + r.<span style="color: #9900cc;">GetValue</span><span style="color: #006600; font-weight:bold;">&#40;</span>i<span style="color: #006600; font-weight:bold;">&#41;</span> + <span style="color: #cc0000;">&quot;&lt;/td&gt;&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;&lt;/tr&gt;&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;&lt;/table&gt;&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
catch<span style="color: #006600; font-weight:bold;">&#40;</span>System.<span style="color: #9900cc;">Exception</span> e<span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span>e.<span style="color: #9900cc;">ToString</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-connection-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>c sharp HTML   Connection</title>
		<link>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-connection-2/</link>
		<comments>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-connection-2/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 15:31:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C Sharp]]></category>

		<guid isPermaLink="false">http://blogs.avancezone.com/?p=400</guid>
		<description><![CDATA[This program helps in understanding the c sharp HTML Connection &#160; &#60;html&#62; &#160; &#60;form action= http://127.0.0.1/cgi-bin/eight.exe &#62; &#160; &#60;b&#62; Enter Table Name &#60;/b&#62; &#160; &#60;input type=text name=aa&#62; &#60;p&#62; &#160; &#60;input type=submit value=&#34;Show Table&#34;&#62; &#160; &#60;form&#62; &#160; &#60;/html&#62; &#160; &#160; &#160; &#160; //C # code using System.Data.OleDb; class zzz &#160; &#123; &#160; public static void Main&#40;&#41; [...]]]></description>
			<content:encoded><![CDATA[<p>This program helps in understanding the c sharp HTML   Connection</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;">&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>html<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>form action<span style="color: #006600; font-weight: bold;">=</span> http<span style="color: #006600; font-weight: bold;">:</span><span style="color: #ff6600;">//127.0.0.1/cgi-bin/eight.exe &gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>b<span style="color: #006600; font-weight: bold;">&gt;</span> Enter Table Name <span style="color: #006600; font-weight: bold;">&lt;/</span>b<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>input type<span style="color: #006600; font-weight: bold;">=</span>text name<span style="color: #006600; font-weight: bold;">=</span>aa<span style="color: #006600; font-weight: bold;">&gt;</span> <span style="color: #006600; font-weight: bold;">&lt;</span>p<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>input type<span style="color: #006600; font-weight: bold;">=</span>submit value<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;Show Table&quot;</span><span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>form<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;/</span>html<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
&nbsp;
&nbsp;
&nbsp;
<span style="color: #ff6600;">//C # code</span>
using System.<span style="color: #9900cc;">Data</span>.<span style="color: #9900cc;">OleDb</span><span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #0000ff; font-weight: bold;">class</span> zzz
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">public</span> static void Main<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
try
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">string</span> t<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
t<span style="color: #006600; font-weight: bold;">=</span>System.<span style="color: #9900cc;">Environment</span>.<span style="color: #9900cc;">GetEnvironmentVariable</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;QUERY_STRING&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">string</span> <span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #006600; font-weight:bold;">&#93;</span> u<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
char <span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #006600; font-weight:bold;">&#93;</span> v <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #0000ff; font-weight: bold;">new</span> char<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#93;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
v<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">0</span><span style="color: #006600; font-weight:bold;">&#93;</span> <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #008000;">'=';</span>
&nbsp;
u <span style="color: #006600; font-weight: bold;">=</span> t.<span style="color: #9900cc;">Split</span><span style="color: #006600; font-weight:bold;">&#40;</span>v<span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">string</span> w<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
w <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #cc0000;">&quot;select * from &quot;</span> + u<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#93;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
OleDbConnection s<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
s <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #0000ff; font-weight: bold;">new</span> OleDbConnection<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\zzz.mdb&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
s.<span style="color: #330066;">Open</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
OleDbCommand c<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
c<span style="color: #006600; font-weight: bold;">=</span><span style="color: #0000ff; font-weight: bold;">new</span> OleDbCommand<span style="color: #006600; font-weight:bold;">&#40;</span>w,s<span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
OleDbDataReader r<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
r <span style="color: #006600; font-weight: bold;">=</span> c.<span style="color: #9900cc;">ExecuteReader</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;Content-Type:text/html\n&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">while</span> <span style="color: #006600; font-weight:bold;">&#40;</span> r.<span style="color: #9900cc;">Read</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">for</span> <span style="color: #006600; font-weight:bold;">&#40;</span> <span style="color: #990099; font-weight: bold;">int</span> i <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #800000;">0</span> <span style="color: #006600; font-weight: bold;">;</span> i <span style="color: #006600; font-weight: bold;">&lt;</span> r.<span style="color: #9900cc;">FieldCount</span> <span style="color: #006600; font-weight: bold;">;</span> i++<span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #330066;">Write</span><span style="color: #006600; font-weight:bold;">&#40;</span>r.<span style="color: #9900cc;">GetValue</span><span style="color: #006600; font-weight:bold;">&#40;</span>i<span style="color: #006600; font-weight:bold;">&#41;</span>+<span style="color: #cc0000;">&quot; &quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;&lt;br&gt;&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
catch<span style="color: #006600; font-weight:bold;">&#40;</span>System.<span style="color: #9900cc;">Exception</span> e<span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span>e.<span style="color: #9900cc;">ToString</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-connection-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C sharp Html Connection</title>
		<link>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-connection/</link>
		<comments>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-connection/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 15:27:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C Sharp]]></category>

		<guid isPermaLink="false">http://blogs.avancezone.com/?p=398</guid>
		<description><![CDATA[This program helps in understanding the c sharp Html Connection using System; class zzz &#123; public static void Main&#40;&#41; &#123; string t; int a,b,c; System.Console.WriteLine&#40;&#34;Content-Type:text/html\n&#34;&#41;; t=System.Environment.GetEnvironmentVariable&#40;&#34;QUERY_STRING&#34;&#41;; string &#91;&#93; u; char &#91;&#93; v = new char&#91;2&#93;; v&#91;0&#93; = '='; v&#91;1&#93; = '&#38;'; u = t.Split&#40;v&#41;; a=Int32.Parse&#40;u&#91;1&#93;&#41;; b=Int32.Parse&#40;u&#91;3&#93;&#41;; c=a+b; System.Console.WriteLine&#40;&#34;&#60;h1&#62;Addition of {0} and {1} is {2}&#60;/h1&#62;&#34;,a,b,c&#41;; &#125; [...]]]></description>
			<content:encoded><![CDATA[<p>This program helps in understanding the c sharp Html Connection</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;">using System<span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #0000ff; font-weight: bold;">class</span> zzz
<span style="color: #006600; font-weight:bold;">&#123;</span>
<span style="color: #990099; font-weight: bold;">public</span> static void Main<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
<span style="color: #006600; font-weight:bold;">&#123;</span>
<span style="color: #990099; font-weight: bold;">string</span> t<span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #990099; font-weight: bold;">int</span> a,b,c<span style="color: #006600; font-weight: bold;">;</span>
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;Content-Type:text/html\n&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
t<span style="color: #006600; font-weight: bold;">=</span>System.<span style="color: #9900cc;">Environment</span>.<span style="color: #9900cc;">GetEnvironmentVariable</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;QUERY_STRING&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #990099; font-weight: bold;">string</span> <span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #006600; font-weight:bold;">&#93;</span> u<span style="color: #006600; font-weight: bold;">;</span>
char <span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #006600; font-weight:bold;">&#93;</span> v <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #0000ff; font-weight: bold;">new</span> char<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">2</span><span style="color: #006600; font-weight:bold;">&#93;</span><span style="color: #006600; font-weight: bold;">;</span>
v<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">0</span><span style="color: #006600; font-weight:bold;">&#93;</span> <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #008000;">'=';</span>
v<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#93;</span> <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #008000;">'&amp;';</span>
u <span style="color: #006600; font-weight: bold;">=</span> t.<span style="color: #9900cc;">Split</span><span style="color: #006600; font-weight:bold;">&#40;</span>v<span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
a<span style="color: #006600; font-weight: bold;">=</span>Int32.<span style="color: #9900cc;">Parse</span><span style="color: #006600; font-weight:bold;">&#40;</span>u<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#93;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
b<span style="color: #006600; font-weight: bold;">=</span>Int32.<span style="color: #9900cc;">Parse</span><span style="color: #006600; font-weight:bold;">&#40;</span>u<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">3</span><span style="color: #006600; font-weight:bold;">&#93;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
c<span style="color: #006600; font-weight: bold;">=</span>a+b<span style="color: #006600; font-weight: bold;">;</span>
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;&lt;h1&gt;Addition of {0} and {1} is {2}&lt;/h1&gt;&quot;</span>,a,b,c<span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #006600; font-weight:bold;">&#125;</span>  
<span style="color: #006600; font-weight:bold;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-connection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>c sharp using Html</title>
		<link>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-using-html/</link>
		<comments>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-using-html/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 15:23:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C Sharp]]></category>

		<guid isPermaLink="false">http://blogs.avancezone.com/?p=396</guid>
		<description><![CDATA[This program helps in understanding the c sharp using Html &#60;html&#62; &#160; &#60;form action= http://127.0.0.1/cgi-bin/six.exe &#62; &#160; &#60;b&#62; Enter the number &#60;/b&#62; &#160; &#60;input type=text name=aa&#62; &#60;p&#62; &#160; &#60;input type=submit value=&#34;Show Table&#34;&#62; &#160; &#60;form&#62; &#160; &#60;/html&#62; &#160; // C # coding using System; class zzz &#123; public static void Main&#40;&#41; &#123; string t; int n; [...]]]></description>
			<content:encoded><![CDATA[<p>This program helps in understanding the c sharp using Html</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;"><span style="color: #006600; font-weight: bold;">&lt;</span>html<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>form action<span style="color: #006600; font-weight: bold;">=</span> http<span style="color: #006600; font-weight: bold;">:</span><span style="color: #ff6600;">//127.0.0.1/cgi-bin/six.exe &gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>b<span style="color: #006600; font-weight: bold;">&gt;</span> Enter the number <span style="color: #006600; font-weight: bold;">&lt;/</span>b<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>input type<span style="color: #006600; font-weight: bold;">=</span>text name<span style="color: #006600; font-weight: bold;">=</span>aa<span style="color: #006600; font-weight: bold;">&gt;</span> <span style="color: #006600; font-weight: bold;">&lt;</span>p<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>input type<span style="color: #006600; font-weight: bold;">=</span>submit value<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;Show Table&quot;</span><span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;</span>form<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #006600; font-weight: bold;">&lt;/</span>html<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #ff6600;">// C # coding</span>
using System<span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #0000ff; font-weight: bold;">class</span> zzz
<span style="color: #006600; font-weight:bold;">&#123;</span>
<span style="color: #990099; font-weight: bold;">public</span> static void Main<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
<span style="color: #006600; font-weight:bold;">&#123;</span>
<span style="color: #990099; font-weight: bold;">string</span> t<span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #990099; font-weight: bold;">int</span> n<span style="color: #006600; font-weight: bold;">;</span>
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;Content-Type:text/html\n&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
t<span style="color: #006600; font-weight: bold;">=</span>System.<span style="color: #9900cc;">Environment</span>.<span style="color: #9900cc;">GetEnvironmentVariable</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;QUERY_STRING&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #990099; font-weight: bold;">string</span> <span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #006600; font-weight:bold;">&#93;</span> u<span style="color: #006600; font-weight: bold;">;</span>
char <span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #006600; font-weight:bold;">&#93;</span> v <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #0000ff; font-weight: bold;">new</span> char<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#93;</span><span style="color: #006600; font-weight: bold;">;</span>
v<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">0</span><span style="color: #006600; font-weight:bold;">&#93;</span> <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #008000;">'=';</span>
u <span style="color: #006600; font-weight: bold;">=</span> t.<span style="color: #9900cc;">Split</span><span style="color: #006600; font-weight:bold;">&#40;</span>v<span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
n<span style="color: #006600; font-weight: bold;">=</span>Int32.<span style="color: #9900cc;">Parse</span><span style="color: #006600; font-weight:bold;">&#40;</span>u<span style="color: #006600; font-weight:bold;">&#91;</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#93;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;&lt;center&gt;&lt;h1&gt;Multiplication Table for {0} &lt;/h1&gt;&lt;/center&gt;&quot;</span>,n<span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #990099; font-weight: bold;">for</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #990099; font-weight: bold;">int</span> i<span style="color: #006600; font-weight: bold;">=</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight: bold;">;</span>i<span style="color: #006600; font-weight: bold;">&lt;=</span><span style="color: #800000;">12</span><span style="color: #006600; font-weight: bold;">;</span>i++<span style="color: #006600; font-weight:bold;">&#41;</span>
<span style="color: #006600; font-weight:bold;">&#123;</span>
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;&lt;font color='red' size=6&gt;{0} * {1} = {2} &lt;/font&gt;&lt;br&gt;&quot;</span>,n,i,n<span style="color: #006600; font-weight: bold;">*</span>i<span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #006600; font-weight:bold;">&#125;</span>
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-using-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>c sharp Connection  with  HTML</title>
		<link>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-connection-with-html/</link>
		<comments>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-connection-with-html/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 15:21:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C Sharp]]></category>

		<guid isPermaLink="false">http://blogs.avancezone.com/?p=394</guid>
		<description><![CDATA[This program helps in understanding the c sharp Connection with HTML &#60;html&#62; &#60;form action=http://127.0.0.1/cgi-bin/five.exe&#62; &#60;input type=submit value=Search&#62; &#60;form&#62; &#60;/html&#62; &#160; class zzz &#160; &#123; &#160; public static void Main&#40;&#41;&#123; &#160; System.Collections.IDictionary i; &#160; i=System.Environment.GetEnvironmentVariables &#40;&#41;; &#160; System.Collections.IDictionaryEnumerator d; &#160; d=i.GetEnumerator&#40;&#41;; &#160; System.Console.WriteLine&#40;&#34;Content-Type:text/html\n&#34;&#41;; &#160; System.Console.WriteLine&#40;&#34;Total Environmental Variables &#34;+i.Count + &#34;&#60;br&#62;&#34;&#41;; &#160; while &#40;d.MoveNext&#40;&#41;&#41; &#160; &#123; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>This program helps in understanding the c sharp Connection  with  HTML</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;"><span style="color: #006600; font-weight: bold;">&lt;</span>html<span style="color: #006600; font-weight: bold;">&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;</span>form action<span style="color: #006600; font-weight: bold;">=</span>http<span style="color: #006600; font-weight: bold;">:</span><span style="color: #ff6600;">//127.0.0.1/cgi-bin/five.exe&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;</span>input type<span style="color: #006600; font-weight: bold;">=</span>submit value<span style="color: #006600; font-weight: bold;">=</span>Search<span style="color: #006600; font-weight: bold;">&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;</span>form<span style="color: #006600; font-weight: bold;">&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;/</span>html<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #0000ff; font-weight: bold;">class</span> zzz
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">public</span> static void Main<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
System.<span style="color: #9900cc;">Collections</span>.<span style="color: #9900cc;">IDictionary</span> i<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
i<span style="color: #006600; font-weight: bold;">=</span>System.<span style="color: #9900cc;">Environment</span>.<span style="color: #9900cc;">GetEnvironmentVariables</span> <span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
System.<span style="color: #9900cc;">Collections</span>.<span style="color: #9900cc;">IDictionaryEnumerator</span> d<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
d<span style="color: #006600; font-weight: bold;">=</span>i.<span style="color: #9900cc;">GetEnumerator</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;Content-Type:text/html\n&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;Total Environmental Variables &quot;</span>+i.<span style="color: #9900cc;">Count</span> + <span style="color: #cc0000;">&quot;&lt;br&gt;&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">while</span> <span style="color: #006600; font-weight:bold;">&#40;</span>d.<span style="color: #330066;">MoveNext</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;{0} = {1}&lt;br&gt;&quot;</span>,d.<span style="color: #9900cc;">Key</span>,d.<span style="color: #9900cc;">Value</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-connection-with-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C sharp (HTML Connection With Ms Access)</title>
		<link>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-connection-with-ms-access/</link>
		<comments>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-connection-with-ms-access/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 15:17:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C Sharp]]></category>

		<guid isPermaLink="false">http://blogs.avancezone.com/?p=392</guid>
		<description><![CDATA[This program helps in understanding the c sharp This program helps in understanding the c sharp (HTML With Ms Access) &#60;html&#62; &#60;form action=http://127.0.0.1/cgi-bin/three.exe&#62; &#60;input type=submit value=Search&#62; &#60;form&#62; &#60;/html&#62; &#160; // c# File using System.Data.OleDb; &#160; class zzz &#160; &#123; &#160; public static void Main&#40;&#41; &#160; &#123; &#160; try &#160; &#123; &#160; OleDbConnection s; &#160; s [...]]]></description>
			<content:encoded><![CDATA[<p>This program helps in understanding the c sharp<br />
This program helps in understanding  the c sharp (HTML With Ms Access)</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;"><span style="color: #006600; font-weight: bold;">&lt;</span>html<span style="color: #006600; font-weight: bold;">&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;</span>form action<span style="color: #006600; font-weight: bold;">=</span>http<span style="color: #006600; font-weight: bold;">:</span><span style="color: #ff6600;">//127.0.0.1/cgi-bin/three.exe&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;</span>input type<span style="color: #006600; font-weight: bold;">=</span>submit value<span style="color: #006600; font-weight: bold;">=</span>Search<span style="color: #006600; font-weight: bold;">&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;</span>form<span style="color: #006600; font-weight: bold;">&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;/</span>html<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #ff6600;">// c# File</span>
using System.<span style="color: #9900cc;">Data</span>.<span style="color: #9900cc;">OleDb</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #0000ff; font-weight: bold;">class</span> zzz
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">public</span> static void Main<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
try
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
OleDbConnection s<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
s <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #0000ff; font-weight: bold;">new</span> OleDbConnection<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\zzz.mdb&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
s.<span style="color: #330066;">Open</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
OleDbCommand c<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
c<span style="color: #006600; font-weight: bold;">=</span><span style="color: #0000ff; font-weight: bold;">new</span> OleDbCommand<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;select * from a1&quot;</span>,s<span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
OleDbDataReader r<span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
r <span style="color: #006600; font-weight: bold;">=</span> c.<span style="color: #9900cc;">ExecuteReader</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;Content-Type:text/html\n&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">while</span> <span style="color: #006600; font-weight:bold;">&#40;</span> r.<span style="color: #9900cc;">Read</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">for</span> <span style="color: #006600; font-weight:bold;">&#40;</span> <span style="color: #990099; font-weight: bold;">int</span> i <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #800000;">0</span> <span style="color: #006600; font-weight: bold;">;</span> i <span style="color: #006600; font-weight: bold;">&lt;</span> r.<span style="color: #9900cc;">FieldCount</span> <span style="color: #006600; font-weight: bold;">;</span> i++<span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #330066;">Write</span><span style="color: #006600; font-weight:bold;">&#40;</span>r.<span style="color: #9900cc;">GetValue</span><span style="color: #006600; font-weight:bold;">&#40;</span>i<span style="color: #006600; font-weight:bold;">&#41;</span>+<span style="color: #cc0000;">&quot; &quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;&lt;br&gt;&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
catch<span style="color: #006600; font-weight:bold;">&#40;</span>System.<span style="color: #9900cc;">Exception</span> e<span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#123;</span>
&nbsp;
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span>e.<span style="color: #9900cc;">ToString</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-html-connection-with-ms-access/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>c sharp with Html</title>
		<link>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-with-html/</link>
		<comments>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-with-html/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 15:05:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C Sharp]]></category>

		<guid isPermaLink="false">http://blogs.avancezone.com/?p=390</guid>
		<description><![CDATA[This program helps in understanding the c sharp with Html &#60;html&#62; &#60;form action=http://127.0.0.1/cgi-bin/two.exe&#62; &#60;input type=submit value=Search&#62; &#60;form&#62; &#60;/html&#62; &#160; class zzz &#123; public static void Main&#40;&#41; &#123; System.Console.WriteLine&#40;&#34;Content-Type:text/html\n&#34;&#41;; System.Console.WriteLine&#40;&#34;&#60;center&#62;&#60;h1&#62;Multiplication Table&#60;/h1&#62;&#60;/center&#62;&#34;&#41;; int n=3; for&#40;int i=1;i&#60;=12;i++&#41; &#123; System.Console.WriteLine&#40;&#34;&#60;font color='red' size=4&#62;{0} * {1} = {2} &#60;/font&#62;&#60;br&#62;&#34;,n,i,n*i&#41;; &#125; &#160; &#125; &#160; &#125;]]></description>
			<content:encoded><![CDATA[<p>This program helps in understanding the c sharp with Html</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;"><span style="color: #006600; font-weight: bold;">&lt;</span>html<span style="color: #006600; font-weight: bold;">&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;</span>form action<span style="color: #006600; font-weight: bold;">=</span>http<span style="color: #006600; font-weight: bold;">:</span><span style="color: #ff6600;">//127.0.0.1/cgi-bin/two.exe&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;</span>input type<span style="color: #006600; font-weight: bold;">=</span>submit value<span style="color: #006600; font-weight: bold;">=</span>Search<span style="color: #006600; font-weight: bold;">&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;</span>form<span style="color: #006600; font-weight: bold;">&gt;</span>
<span style="color: #006600; font-weight: bold;">&lt;/</span>html<span style="color: #006600; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #0000ff; font-weight: bold;">class</span> zzz
<span style="color: #006600; font-weight:bold;">&#123;</span>
<span style="color: #990099; font-weight: bold;">public</span> static void Main<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
<span style="color: #006600; font-weight:bold;">&#123;</span>
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;Content-Type:text/html\n&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;&lt;center&gt;&lt;h1&gt;Multiplication Table&lt;/h1&gt;&lt;/center&gt;&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #990099; font-weight: bold;">int</span> n<span style="color: #006600; font-weight: bold;">=</span><span style="color: #800000;">3</span><span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #990099; font-weight: bold;">for</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #990099; font-weight: bold;">int</span> i<span style="color: #006600; font-weight: bold;">=</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight: bold;">;</span>i<span style="color: #006600; font-weight: bold;">&lt;=</span><span style="color: #800000;">12</span><span style="color: #006600; font-weight: bold;">;</span>i++<span style="color: #006600; font-weight:bold;">&#41;</span>
<span style="color: #006600; font-weight:bold;">&#123;</span>
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;&lt;font color='red' size=4&gt;{0} * {1} = {2} &lt;/font&gt;&lt;br&gt;&quot;</span>,n,i,n<span style="color: #006600; font-weight: bold;">*</span>i<span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-with-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>c sharp with Html Example</title>
		<link>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-with-html-example-2/</link>
		<comments>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-with-html-example-2/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 15:03:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C Sharp]]></category>

		<guid isPermaLink="false">http://blogs.avancezone.com/?p=388</guid>
		<description><![CDATA[This program helps in understanding the c sharp with Html &#160; class zzz &#123; public static void Main&#40;&#41; &#123; System.Console.WriteLine&#40;&#34;Content-Type:text/html\n&#34;&#41;; System.Console.WriteLine&#40;&#34;&#60;center&#62;&#60;h1&#62;Multiplication Table&#60;/h1&#62;&#60;/center&#62;&#34;&#41;; int n=3; for&#40;int i=1;i&#60;=12;i++&#41; &#123; System.Console.WriteLine&#40;&#34;&#60;font color='red' size=4&#62;{0} * {1} = {2} &#60;/font&#62;&#60;br&#62;&#34;,n,i,n*i&#41;; &#125; &#160; &#125; &#160; &#125;]]></description>
			<content:encoded><![CDATA[<p>This program helps in understanding the c sharp with Html</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;">&nbsp;
<span style="color: #0000ff; font-weight: bold;">class</span> zzz
<span style="color: #006600; font-weight:bold;">&#123;</span>
<span style="color: #990099; font-weight: bold;">public</span> static void Main<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
<span style="color: #006600; font-weight:bold;">&#123;</span>
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;Content-Type:text/html\n&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;&lt;center&gt;&lt;h1&gt;Multiplication Table&lt;/h1&gt;&lt;/center&gt;&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #990099; font-weight: bold;">int</span> n<span style="color: #006600; font-weight: bold;">=</span><span style="color: #800000;">3</span><span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #990099; font-weight: bold;">for</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #990099; font-weight: bold;">int</span> i<span style="color: #006600; font-weight: bold;">=</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight: bold;">;</span>i<span style="color: #006600; font-weight: bold;">&lt;=</span><span style="color: #800000;">12</span><span style="color: #006600; font-weight: bold;">;</span>i++<span style="color: #006600; font-weight:bold;">&#41;</span>
<span style="color: #006600; font-weight:bold;">&#123;</span>
System.<span style="color: #9900cc;">Console</span>.<span style="color: #9900cc;">WriteLine</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;&lt;font color='red' size=4&gt;{0} * {1} = {2} &lt;/font&gt;&lt;br&gt;&quot;</span>,n,i,n<span style="color: #006600; font-weight: bold;">*</span>i<span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">;</span>
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color: #006600; font-weight:bold;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blogs.avancezone.com/technical/microsoft-dot-net/c-sharp/c-sharp-with-html-example-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

