<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Benazir's Blogs</title>
	<atom:link href="http://zirmandli.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://zirmandli.wordpress.com</link>
	<description>Experience the Technology</description>
	<lastBuildDate>Tue, 12 Aug 2008 13:01:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='zirmandli.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Benazir's Blogs</title>
		<link>http://zirmandli.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://zirmandli.wordpress.com/osd.xml" title="Benazir&#039;s Blogs" />
	<atom:link rel='hub' href='http://zirmandli.wordpress.com/?pushpress=hub'/>
		<item>
		<title>To call Web service using Java script</title>
		<link>http://zirmandli.wordpress.com/2008/05/29/to-call-web-service-using-java-script/</link>
		<comments>http://zirmandli.wordpress.com/2008/05/29/to-call-web-service-using-java-script/#comments</comments>
		<pubDate>Thu, 29 May 2008 09:32:18 +0000</pubDate>
		<dc:creator>Benazir Samir Patel</dc:creator>
				<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://zirmandli.wordpress.com/?p=41</guid>
		<description><![CDATA[Hi Friends,   You can make asynchronous call of Web service using Javascript   The webservice behavior is encapsulated in HTC file. Therefore before we begin first download this webservice.htc file and copy it into a folder of our webproject.   You can download this file from http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/samples/internet/behaviors/library/webservice/default.asp   Now your code should be like [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=41&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;">Hi Friends,</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;">You can make asynchronous call of Web service using Javascript</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;">The webservice behavior is encapsulated in HTC file.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;">Therefore before we begin first download this webservice.htc file and copy it into a folder of our webproject.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;">You can download this file from</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;"><a href="http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/samples/internet/behaviors/library/webservice/default.asp">http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/samples/internet/behaviors/library/webservice/default.asp</a></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;">Now your code should be like this</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:&quot;">&lt;!</span><span style="font-size:10pt;color:maroon;font-family:&quot;">DOCTYPE</span><span style="font-size:10pt;font-family:&quot;"> <span style="color:red;">html</span> <span style="color:red;">PUBLIC</span> <span style="color:blue;">&#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221;</span> <span style="color:blue;">&#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&gt;</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:&quot;">&lt;</span><span style="font-size:10pt;color:maroon;font-family:&quot;">html</span><span style="font-size:10pt;font-family:&quot;"> <span style="color:red;">xmlns</span><span style="color:blue;">=&#8221;http://www.w3.org/1999/xhtml&#8221;</span> <span style="color:blue;">&gt;</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:&quot;">&lt;</span><span style="font-size:10pt;color:maroon;font-family:&quot;">head</span><span style="font-size:10pt;color:blue;font-family:&quot;">&gt;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>    </span><span style="color:blue;">&lt;</span><span style="color:maroon;">title</span><span style="color:blue;">&gt;</span>Untitled Page<span style="color:blue;">&lt;/</span><span style="color:maroon;">title</span><span style="color:blue;">&gt;</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:&quot;">&lt;/</span><span style="font-size:10pt;color:maroon;font-family:&quot;">head</span><span style="font-size:10pt;color:blue;font-family:&quot;">&gt;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:&quot;">&lt;</span><span style="font-size:10pt;color:maroon;font-family:&quot;">body</span><span style="font-size:10pt;font-family:&quot;"> <span style="color:red;">id</span><span style="color:blue;">=&#8221;webServiceCallerBody&#8221;</span> <span style="color:red;">onload</span><span style="color:blue;">=&#8221;loadService()&#8221;</span> <span style="color:red;">style</span><span style="color:blue;">=&#8221;behavior:url(webservice.htc);font-size:18&#8243;&gt;</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:&quot;">&lt;</span><span style="font-size:10pt;color:maroon;font-family:&quot;">script</span><span style="font-size:10pt;font-family:&quot;"> <span style="color:red;">language</span><span style="color:blue;">=&#8221;JavaScript&#8221;</span> <span style="color:red;">type</span><span style="color:blue;">=&#8221;text/javascript&#8221;&gt;</span> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:&quot;">function</span><span style="font-size:10pt;font-family:&quot;"> loadService()</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;"><span> </span>{</span></p>
<p class="MsoNormal" style="margin:0 0 0 0.5in;"><span style="font-size:10pt;font-family:&quot;">webServiceCallerBody.onserviceavailable = enableServiceCall;<span>  </span><span style="color:green;">//Used for the synchronous call.</span></span></p>
<p class="MsoNormal" style="margin:0 0 0 0.5in;"><span style="font-size:10pt;font-family:&quot;">webServiceCallerBody.useService(<span style="color:maroon;">&#8220;http://localhost:1500/TESTProject.WebService/Service.asmx?wsdl&#8221;</span>,<span style="color:maroon;">&#8220;JS&#8221;</span>);</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;">}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:&quot;">function</span><span style="font-size:10pt;font-family:&quot;"> callAsynch() </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;">{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>      </span>iCallID = webServiceCallerBody.JS.callService(ResponseManipulation, <span style="color:maroon;">&#8220;Function Name&#8221;</span>,Parameter1, Parameter2, .. , PareameterN);</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;">}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:&quot;">function</span><span style="font-size:10pt;font-family:&quot;"> ResponseManipulation(Response)</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;"><span> </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>  </span><span style="color:blue;">if</span> (!res.error) {</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>    </span>alert(<span style="color:maroon;">&#8220;Webservice call process successfull. Result is &#8220;</span> + Response.value);</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>  </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>  </span><span style="color:blue;">else</span> {</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>    </span>alert(<span style="color:maroon;">&#8220;Unsuccessful call. Error is &#8220;</span> + Response.errorDetail.string);</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;"><span>  </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;">}</span><span style="font-size:10pt;font-family:Verdana;"></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zirmandli.wordpress.com/41/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zirmandli.wordpress.com/41/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zirmandli.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zirmandli.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zirmandli.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zirmandli.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zirmandli.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zirmandli.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zirmandli.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zirmandli.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zirmandli.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zirmandli.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zirmandli.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zirmandli.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zirmandli.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zirmandli.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=41&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zirmandli.wordpress.com/2008/05/29/to-call-web-service-using-java-script/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/30a2f5bc4923f7f0051b346523049c74?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Benazir Patel</media:title>
		</media:content>
	</item>
		<item>
		<title>Paypal Integration (Standard Checkout)</title>
		<link>http://zirmandli.wordpress.com/2008/01/16/paypal-integration-standard-checkout/</link>
		<comments>http://zirmandli.wordpress.com/2008/01/16/paypal-integration-standard-checkout/#comments</comments>
		<pubDate>Wed, 16 Jan 2008 06:38:54 +0000</pubDate>
		<dc:creator>Benazir Samir Patel</dc:creator>
				<category><![CDATA[Payment Gateway]]></category>

		<guid isPermaLink="false">http://zirmandli.wordpress.com/2008/01/16/paypal-integration-standard-checkout/</guid>
		<description><![CDATA[Hi Friends,Here is example how to integrate your application with Paypal using Standard Checkout option.But before some steps needed for developer you can ignore first two steps if you have paypal account. Steps are    First create your one developer account in paypal https://developer.paypal.com/  Now choose Test Accounts link and create one test account.         Note: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=40&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:10pt;font-family:Verdana;">Hi Friends,</span><span style="font-size:10pt;font-family:Verdana;">Here is example how to integrate your application with Paypal using Standard Checkout option.</span><span style="font-size:10pt;font-family:Verdana;">But before some steps needed for developer you can ignore first two steps if you have paypal account. Steps are</span><span style="font-size:10pt;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';">    </span></span></span></p>
<ol>
<li>
<div><span style="font-size:10pt;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';"></span></span></span><span style="font-size:10pt;font-family:Verdana;">First create your one developer account in paypal <a href="https://developer.paypal.com/">https://developer.paypal.com/</a></span><span style="font-size:10pt;font-family:Verdana;"> </span></div>
</li>
<li class="MsoNormal"><span style="font-size:10pt;font-family:Verdana;">Now choose <b>Test Accounts </b>link and create one test account. </span></li>
</ol>
<p><b><span style="font-size:10pt;font-family:Verdana;">        Note:</span></b><span style="font-size:10pt;font-family:Verdana;"> While creating test account choose Seller radio button.</span><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<ol>
<li>
<div class="MsoNormal"><span style="font-size:10pt;font-family:Verdana;">Now in sample page write </span></div>
</li>
</ol>
<p><span style="font-size:10pt;color:blue;font-family:'Courier New';">&lt;</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">input</span><span style="font-size:10pt;font-family:'Courier New';"> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;cmd&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;_xclick&#8221;</span> <span style="color:blue;">/&gt;</span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span style="color:blue;"></span></span><span style="font-size:10pt;color:blue;font-family:'Courier New';">&lt;</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">input</span><span style="font-size:10pt;font-family:'Courier New';"> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;business&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;Your Test Account Email ID&#8221; /&gt;</span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span style="color:blue;"></span></span><span style="font-size:10pt;color:blue;font-family:'Courier New';">&lt;</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">input</span><span style="font-size:10pt;font-family:'Courier New';"> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;item_name&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;Item Name&#8221; /&gt;</span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span style="color:blue;"></span></span><span style="font-size:10pt;color:blue;font-family:'Courier New';">&lt;</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">input</span><span style="font-size:10pt;font-family:'Courier New';"> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;currency_code&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;USD&#8221; /&gt;</span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span style="color:blue;"></span></span><span style="font-size:10pt;color:blue;font-family:'Courier New';">&lt;</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">input</span><span style="font-size:10pt;font-family:'Courier New';"> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;no_shipping&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;USD&#8221; /&gt;</span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span style="color:blue;"></span></span><span style="font-size:10pt;color:blue;font-family:'Courier New';">&lt;</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">input</span><span style="font-size:10pt;font-family:'Courier New';"> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;return&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;Return URL&#8221; /&gt;</span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span style="color:blue;"></span></span><span style="font-size:10pt;color:blue;font-family:'Courier New';">&lt;</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">input</span><span style="font-size:10pt;font-family:'Courier New';"> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;cancel_return&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;Cancel URL&#8221; /&gt;</span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span style="color:blue;"></span></span><span style="font-size:10pt;color:blue;font-family:'Courier New';">&lt;</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">input</span><span style="font-size:10pt;font-family:'Courier New';"> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;rm&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;2&#8243;</span> <span style="color:blue;">/&gt;</span></span></p>
<p><span style="font-size:10pt;color:blue;font-family:'Courier New';">&lt;</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">input</span><span style="font-size:10pt;font-family:'Courier New';"> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;amount&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;2.50&#8243;</span> <span style="color:blue;">/&gt;</span></span><span style="font-size:10pt;font-family:'Courier New';"><span>      </span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span></span><span style="color:blue;">&lt;</span><span style="color:maroon;">input</span> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;email&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;Email ID&#8221;</span> <span style="color:blue;">/&gt;</span></span><span style="font-size:10pt;font-family:'Courier New';"><span>      </span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span></span><span style="color:blue;">&lt;</span><span style="color:maroon;">input</span> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;first_name&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;Benazir&#8221;</span> <span style="color:blue;">/&gt;</span></span><span style="font-size:10pt;font-family:'Courier New';"><span>      </span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span></span><span style="color:blue;">&lt;</span><span style="color:maroon;">input</span> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;last_name&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;Mandli&#8221;</span> <span style="color:blue;">/&gt;</span></span><span style="font-size:10pt;font-family:'Courier New';"><span>      </span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span></span><span style="color:blue;">&lt;</span><span style="color:maroon;">input</span> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;address1&#8243;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;Address 1 &#8220;</span> <span style="color:blue;">/&gt;</span></span><span style="font-size:10pt;font-family:'Courier New';"><span>      </span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span></span><span style="color:blue;">&lt;</span><span style="color:maroon;">input</span> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;address2&#8243;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;Address 2&#8243;</span> <span style="color:blue;">/&gt;</span></span><span style="font-size:10pt;font-family:'Courier New';"><span>      </span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span></span><span style="color:blue;">&lt;</span><span style="color:maroon;">input</span> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;iscountryspecified&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;Yes&#8221;</span> <span style="color:blue;">/&gt;</span></span><span style="font-size:10pt;font-family:'Courier New';"><span>      </span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span></span><span style="color:blue;">&lt;</span><span style="color:maroon;">input</span> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;country&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;Country&#8221;</span> <span style="color:blue;">/&gt;</span></span><span style="font-size:10pt;font-family:'Courier New';"><span>      </span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span></span><span style="color:blue;">&lt;</span><span style="color:maroon;">input</span> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;state&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;State &#8220;</span> <span style="color:blue;">/&gt;</span></span><span style="font-size:10pt;font-family:'Courier New';"><span>      </span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span></span><span style="color:blue;">&lt;</span><span style="color:maroon;">input</span> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;city&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;City &#8220;</span> <span style="color:blue;">/&gt;</span></span><span style="font-size:10pt;font-family:'Courier New';"><span>      </span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span></span><span style="color:blue;">&lt;</span><span style="color:maroon;">input</span> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;zip&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;Zip&#8221;</span> <span style="color:blue;">/&gt;</span></span><span style="font-size:10pt;font-family:'Courier New';"><span>      </span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span></span><span style="color:blue;">&lt;</span><span style="color:maroon;">input</span> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;night_phone_a&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;Phone&#8221;</span> <span style="color:blue;">/&gt;</span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span style="color:blue;"></span></span><span style="font-size:10pt;color:blue;font-family:'Courier New';">&lt;</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">input</span><span style="font-size:10pt;font-family:'Courier New';"> <span style="color:red;">type</span><span style="color:blue;">=&#8221;hidden&#8221;</span> <span style="color:red;">name</span><span style="color:blue;">=&#8221;address_override&#8221;</span> <span style="color:red;">value</span><span style="color:blue;">=&#8221;0&#8243;</span> <span style="color:blue;">/&gt;</span></span><span style="font-size:10pt;color:blue;font-family:'Courier New';"> </span><span style="font-size:10pt;font-family:Verdana;"><span>     </span></span></p>
<p><span style="font-size:10pt;font-family:Verdana;"><span></span></span></p>
<p><span style="font-size:10pt;font-family:Verdana;"><span></span></span><span style="font-size:10pt;color:blue;font-family:'Courier New';">&lt;</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">asp</span><span style="font-size:10pt;color:blue;font-family:'Courier New';">:</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">Button</span><span style="font-size:10pt;font-family:'Courier New';"> <span style="color:red;">ID</span><span style="color:blue;">=&#8221;btnPay&#8221;</span> <span style="color:red;">runat</span><span style="color:blue;">=&#8221;server&#8221;</span> <span style="color:red;">Text</span><span style="color:blue;">=&#8221;Pay using Paypal&#8221;</span> <span style="color:blue;">/&gt;</span></span><span style="font-size:10pt;color:blue;font-family:'Courier New';"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';"> </span></p>
<ol>
<li class="MsoNormal"><span style="font-size:10pt;font-family:Verdana;">write the script </span></li>
</ol>
<p><span style="font-size:10pt;font-family:Verdana;"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';">&lt;</span><span style="font-size:10pt;color:maroon;font-family:'Courier New';">script</span><span style="font-size:10pt;font-family:'Courier New';"> <span style="color:red;">language</span><span style="color:blue;">=&#8221;javascript&#8221;</span> <span style="color:red;">type</span><span style="color:blue;">=&#8221;text/javascript&#8221;&gt;</span></span><span style="font-size:10pt;font-family:'Courier New';"><span>    </span><span>  </span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span></span><span style="color:blue;">function</span> SetUserDetail()</span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"></span><span style="font-size:10pt;font-family:'Courier New';">{<span>  </span></span><span style="font-size:10pt;font-family:'Courier New';"><span>       </span></span><span style="font-size:10pt;color:green;font-family:'Courier New';">//LIVE</span></p>
<p><span style="font-size:10pt;color:green;font-family:'Courier New';"></span><span style="font-size:10pt;color:green;font-family:'Courier New';">//document.form1.action =<span>  </span>&#8216;https://www.paypal.com/cgi-bin/websc&#8217;; </span><span style="font-size:10pt;font-family:'Courier New';"><span>        </span></span><span style="font-size:10pt;font-family:'Courier New';"><span>        </span><span style="color:green;">//TEST</span></span><span style="font-size:10pt;font-family:'Courier New';"><span>  </span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span>      </span>document.form1.action =<span>  </span><span style="color:maroon;">&#8216;https://www.sandbox.paypal.com/cgi-bin/webscr&#8217;</span>;</span><span style="font-size:10pt;font-family:'Courier New';">        document.form1.submit();<span>   </span></span><span style="font-size:10pt;font-family:'Courier New';"><span> </span><span>     </span></span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"><span></span>}<span>  </span></span><span style="font-size:10pt;font-family:'Courier New';"><span>    </span><span style="color:blue;">&lt;/</span><span style="color:maroon;">script</span><span style="color:blue;">&gt;</span></span><span style="font-size:10pt;color:blue;font-family:'Courier New';"> </span></p>
<ol>
<li class="MsoNormal"><span style="font-size:10pt;font-family:Verdana;">and on page load write this</span></li>
</ol>
<p><span style="font-size:10pt;font-family:Verdana;"> </span><span style="font-size:10pt;color:blue;font-family:'Courier New';"><span> </span>protected</span><span style="font-size:10pt;font-family:'Courier New';"> <span style="color:blue;">void</span> Page_Load(<span style="color:blue;">object</span> sender, <span style="color:teal;">EventArgs</span> e)</span><span style="font-size:10pt;font-family:'Courier New';"><span>    </span>{</span><span style="font-size:10pt;font-family:'Courier New';"><span>    </span><span>        </span><span style="color:blue;">this</span>.btnPay.Attributes.Add(<span style="color:maroon;">&#8220;onclick&#8221;</span>, <span style="color:maroon;">&#8220;SetUserDetail()&#8221;</span>);</span></p>
<p><span style="font-size:10pt;font-family:'Courier New';"></span><span style="font-size:10pt;font-family:'Courier New';"><span> </span>}</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zirmandli.wordpress.com/40/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zirmandli.wordpress.com/40/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zirmandli.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zirmandli.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zirmandli.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zirmandli.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zirmandli.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zirmandli.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zirmandli.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zirmandli.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zirmandli.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zirmandli.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zirmandli.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zirmandli.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zirmandli.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zirmandli.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=40&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zirmandli.wordpress.com/2008/01/16/paypal-integration-standard-checkout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/30a2f5bc4923f7f0051b346523049c74?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Benazir Patel</media:title>
		</media:content>
	</item>
		<item>
		<title>DotNet Connection with Firebird Database</title>
		<link>http://zirmandli.wordpress.com/2008/01/15/dotnet-connection-with-firebird-database/</link>
		<comments>http://zirmandli.wordpress.com/2008/01/15/dotnet-connection-with-firebird-database/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 07:30:08 +0000</pubDate>
		<dc:creator>Benazir Samir Patel</dc:creator>
				<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://zirmandli.wordpress.com/2008/01/15/dotnet-connection-with-firebird-database/</guid>
		<description><![CDATA[Hi  Here some steps to connect Firebird Database with Dotnet Framework. First Check Firebird installed on your local pc or Server ? If no, Install Firebird 2.0 To connect Firebird with Dotnet, we need Firebird .Net Data provider dll, You can download same from              http://prdownloads.sourceforge.net/firebird/FirebirdClient-2.0.1.exe?download In your project, add this dll as reference. In [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=39&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi</p>
<p> Here some steps to connect Firebird Database with Dotnet Framework.</p>
<ul>
<li>
<div>First Check Firebird installed on your local pc or Server ? If no, Install Firebird 2.0</div>
</li>
<li>
<div>To connect Firebird with Dotnet, we need Firebird .Net Data provider dll, You can download same from  </div>
</li>
</ul>
<p>           <span style="font-size:10pt;font-family:Verdana;"><a href="http://prdownloads.sourceforge.net/firebird/FirebirdClient-2.0.1.exe?download">http://prdownloads.sourceforge.net/firebird/FirebirdClient-2.0.1.exe?download</a></span></p>
<ul>
<li>
<div><span style="font-size:10pt;font-family:Verdana;"></span><span style="font-size:10pt;font-family:Verdana;">In your project, add this dll as reference.</span></div>
</li>
<li>
<div><span style="font-size:10pt;font-family:Verdana;">In web.config write the connection string for Firebird. It is</span></div>
</li>
</ul>
<p><span style="font-size:10pt;font-family:Verdana;">     <em>&lt;add key=”connectionstring” value=”Driver={ODBC Driver (*.fdb)};   Database=localhost:C:\test1.fdb;Uid=SYSDBA;DataSource=localhost; Password=masterkey;”/&gt;</em></span></p>
<ul>
<li>
<div><span style="font-size:10pt;font-family:Verdana;"><em>Now in your page, Inport namespace like  </em><span style="font-size:10pt;font-family:Verdana;"><span style="font-size:10pt;color:blue;font-family:Verdana;">using</span><span style="font-size:10pt;font-family:Verdana;"> FirebirdSql.Data.Firebird;</span></span></span></div>
</li>
<li>
<div><span style="font-size:10pt;font-family:Verdana;"><span style="font-size:10pt;font-family:Verdana;">Write given code </span></span></div>
</li>
</ul>
<p><span style="font-size:10pt;font-family:Verdana;"><span style="font-size:10pt;font-family:Verdana;"></span></span><span style="font-size:10pt;font-family:Verdana;"><span style="font-size:10pt;font-family:Verdana;"><span style="font-size:10pt;color:teal;font-family:Verdana;">       FbConnection</span><span style="font-size:10pt;font-family:Verdana;"> fbConn = <span style="color:blue;">new</span> <span style="color:teal;">FbConnection</span>(<span style="color:teal;">ConfigurationManager</span>.AppSettings [<span style="color:maroon;">"connectionstring"</span>].ToString());</span></span></span></p>
<p><span style="font-size:10pt;font-family:Verdana;"><span style="font-size:10pt;font-family:Verdana;"><span style="font-size:10pt;font-family:Verdana;"></span><span style="font-size:10pt;font-family:Verdana;"><span>        </span><span>           </span>fbConn.Open();</span></span></span><span style="font-size:10pt;font-family:Verdana;"><span style="font-size:10pt;font-family:Verdana;"><span style="font-size:10pt;font-family:Verdana;"> </span><span style="font-size:10pt;font-family:Verdana;"><span>       </span></span></span></span></p>
<p><span style="font-size:10pt;font-family:Verdana;"><span style="font-size:10pt;font-family:Verdana;"><span style="font-size:10pt;font-family:Verdana;"><span>      </span>Response.Write(fbConn.State.ToString());</span><span style="font-size:10pt;font-family:Verdana;"></span></span></p>
<ul></ul>
<p></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zirmandli.wordpress.com/39/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zirmandli.wordpress.com/39/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zirmandli.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zirmandli.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zirmandli.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zirmandli.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zirmandli.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zirmandli.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zirmandli.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zirmandli.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zirmandli.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zirmandli.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zirmandli.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zirmandli.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zirmandli.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zirmandli.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=39&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zirmandli.wordpress.com/2008/01/15/dotnet-connection-with-firebird-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/30a2f5bc4923f7f0051b346523049c74?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Benazir Patel</media:title>
		</media:content>
	</item>
		<item>
		<title>Fade Effects With Javascript</title>
		<link>http://zirmandli.wordpress.com/2008/01/03/fade-effects-with-javascript/</link>
		<comments>http://zirmandli.wordpress.com/2008/01/03/fade-effects-with-javascript/#comments</comments>
		<pubDate>Thu, 03 Jan 2008 09:55:00 +0000</pubDate>
		<dc:creator>Benazir Samir Patel</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://zirmandli.wordpress.com/2008/01/03/fade-effects-with-javascript/</guid>
		<description><![CDATA[Fade Effects With Javascript ======================== Script &#8212;&#8212;- &#60;script language=&#8221;javascript&#8221; type=&#8221;text/javascript&#8221;&#62; var TimeToFade = 1000.0; function fade(eid) { var element = document.getElementById(eid); if(element == null) return; if(element.FadeState == null) { if(element.style.opacity == null &#124;&#124; element.style.opacity == &#8221; &#124;&#124; element.style.opacity == &#8217;1&#8242;) { element.FadeState = 2; } else { element.FadeState = -2; } } if(element.FadeState == 1 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=37&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight:bold;font-family:trebuchet ms;">Fade Effects With Javascript</span><br />
<span style="font-weight:bold;font-family:trebuchet ms;">========================</span></p>
<p><span style="font-weight:bold;font-family:trebuchet ms;">Script</span><br />
<span style="font-weight:bold;font-family:trebuchet ms;">&#8212;&#8212;-</span></p>
<p><span style="font-family:trebuchet ms;">&lt;script language=&#8221;javascript&#8221; type=&#8221;text/javascript&#8221;&gt;</span></p>
<p><span style="font-family:trebuchet ms;">var TimeToFade = 1000.0;</span></p>
<p><span style="font-family:trebuchet ms;">function fade(eid)</span><br />
<span style="font-family:trebuchet ms;">{</span><br />
<span style="font-family:trebuchet ms;">  var element = document.getElementById(eid);</span><br />
<span style="font-family:trebuchet ms;">  if(element == null)</span><br />
<span style="font-family:trebuchet ms;">    return;</span><br />
<span style="font-family:trebuchet ms;">   </span><br />
<span style="font-family:trebuchet ms;">  if(element.FadeState == null)</span><br />
<span style="font-family:trebuchet ms;">  {</span><br />
<span style="font-family:trebuchet ms;">    if(element.style.opacity == null</span><br />
<span style="font-family:trebuchet ms;">        || element.style.opacity == &#8221;</span><br />
<span style="font-family:trebuchet ms;">        || element.style.opacity == &#8217;1&#8242;)</span><br />
<span style="font-family:trebuchet ms;">    {</span><br />
<span style="font-family:trebuchet ms;">      element.FadeState = 2;</span><br />
<span style="font-family:trebuchet ms;">    }</span><br />
<span style="font-family:trebuchet ms;">    else</span><br />
<span style="font-family:trebuchet ms;">    {</span><br />
<span style="font-family:trebuchet ms;">      element.FadeState = -2;</span><br />
<span style="font-family:trebuchet ms;">    }</span><br />
<span style="font-family:trebuchet ms;">  }</span><br />
<span style="font-family:trebuchet ms;">   </span><br />
<span style="font-family:trebuchet ms;">  if(element.FadeState == 1 || element.FadeState == -1)</span><br />
<span style="font-family:trebuchet ms;">  {</span><br />
<span style="font-family:trebuchet ms;">    element.FadeState = element.FadeState == 1 ? -1 : 1;</span><br />
<span style="font-family:trebuchet ms;">    element.FadeTimeLeft = TimeToFade &#8211; element.FadeTimeLeft;</span><br />
<span style="font-family:trebuchet ms;">  }</span><br />
<span style="font-family:trebuchet ms;">  else</span><br />
<span style="font-family:trebuchet ms;">  {</span><br />
<span style="font-family:trebuchet ms;">    element.FadeState = element.FadeState == 2 ? -1 : 1;</span><br />
<span style="font-family:trebuchet ms;">    element.FadeTimeLeft = TimeToFade;</span><br />
<span style="font-family:trebuchet ms;">    setTimeout(&#8220;animateFade(&#8221; + new Date().getTime()</span><br />
<span style="font-family:trebuchet ms;">        + &#8220;,&#8217;&#8221; + eid + &#8220;&#8216;)&#8221;, 33);</span><br />
<span style="font-family:trebuchet ms;">  } </span><br />
<span style="font-family:trebuchet ms;">}</span></p>
<p><span style="font-family:trebuchet ms;">function animateFade(lastTick, eid)</span><br />
<span style="font-family:trebuchet ms;">{ </span><br />
<span style="font-family:trebuchet ms;">  var curTick = new Date().getTime();</span><br />
<span style="font-family:trebuchet ms;">  var elapsedTicks = curTick &#8211; lastTick;</span><br />
<span style="font-family:trebuchet ms;"> </span><br />
<span style="font-family:trebuchet ms;">  var element = document.getElementById(eid);</span><br />
<span style="font-family:trebuchet ms;"> </span><br />
<span style="font-family:trebuchet ms;">  if(element.FadeTimeLeft &lt;= elapsedTicks)</span><br />
<span style="font-family:trebuchet ms;">  {</span><br />
<span style="font-family:trebuchet ms;">    element.style.opacity = element.FadeState == 1 ? &#8217;1&#8242; : &#8217;0&#8242;;</span><br />
<span style="font-family:trebuchet ms;">    element.style.filter = &#8216;alpha(opacity = &#8216;</span><br />
<span style="font-family:trebuchet ms;">        + (element.FadeState == 1 ? &#8217;100&#8242; : &#8217;0&#8242;) + &#8216;)&#8217;;</span><br />
<span style="font-family:trebuchet ms;">    element.FadeState = element.FadeState == 1 ? 2 : -2;</span><br />
<span style="font-family:trebuchet ms;">    return;</span><br />
<span style="font-family:trebuchet ms;">  }</span><br />
<span style="font-family:trebuchet ms;"> </span><br />
<span style="font-family:trebuchet ms;">  element.FadeTimeLeft -= elapsedTicks;</span><br />
<span style="font-family:trebuchet ms;">  var newOpVal = element.FadeTimeLeft/TimeToFade;</span><br />
<span style="font-family:trebuchet ms;">  if(element.FadeState == 1)</span><br />
<span style="font-family:trebuchet ms;">    newOpVal = 1 &#8211; newOpVal;</span></p>
<p><span style="font-family:trebuchet ms;">  element.style.opacity = newOpVal;</span><br />
<span style="font-family:trebuchet ms;">  element.style.filter =</span><br />
<span style="font-family:trebuchet ms;">      &#8216;alpha(opacity = &#8216; + (newOpVal*100) + &#8216;)&#8217;;</span><br />
<span style="font-family:trebuchet ms;"> </span><br />
<span style="font-family:trebuchet ms;">  setTimeout(&#8220;animateFade(&#8221; + curTick</span><br />
<span style="font-family:trebuchet ms;">      + &#8220;,&#8217;&#8221; + eid + &#8220;&#8216;)&#8221;, 33);</span><br />
<span style="font-family:trebuchet ms;">}</span></p>
<p><span style="font-family:trebuchet ms;">&lt;/script&gt;</span></p>
<p><span style="font-family:trebuchet ms;">&lt;/HEAD&gt;</span></p>
<p><span style="font-weight:bold;font-family:trebuchet ms;">How to Use</span><br />
<span style="font-weight:bold;font-family:trebuchet ms;">&#8212;&#8212;&#8212;&#8212;&#8212;</span><br />
<span style="font-family:trebuchet ms;">You can use this JavsScript this way.</span><br />
<span style="font-family:trebuchet ms;">Suppose, Your HTML layout is like this :</span></p>
<p><span style="font-family:trebuchet ms;">&lt;BODY&gt;</span><br />
<span style="font-family:trebuchet ms;">&lt;div <span style="font-weight:bold;font-style:italic;">id=&#8221;fadeBlock&#8221;</span> style=&#8221;background-color:Lime;width:250px;</span><br />
<span style="font-family:trebuchet ms;">       height:65px;text-align:center;&#8221;&gt;</span><br />
<span style="font-family:trebuchet ms;">  &lt;br /&gt;</span><br />
<span style="font-family:trebuchet ms;">  I&#8217;m Some Text</span><br />
<span style="font-family:trebuchet ms;">&lt;/div&gt;</span><br />
<span style="font-family:trebuchet ms;">&lt;br /&gt;</span><br />
<span style="font-family:trebuchet ms;">&lt;br /&gt;</span><br />
<span style="font-family:trebuchet ms;">&lt;input type=&#8221;button&#8221; <span style="font-style:italic;font-weight:bold;">onclick=&#8221;fade(&#8216;fadeBlock&#8217;);&#8221;</span> value=&#8221;Go&#8221; /&gt;</span></p>
<p><span style="font-family:trebuchet ms;">&lt;/BODY&gt;</span><br />
<span style="font-family:trebuchet ms;">&lt;/HTML&gt;</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zirmandli.wordpress.com/37/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zirmandli.wordpress.com/37/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zirmandli.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zirmandli.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zirmandli.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zirmandli.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zirmandli.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zirmandli.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zirmandli.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zirmandli.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zirmandli.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zirmandli.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zirmandli.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zirmandli.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zirmandli.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zirmandli.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=37&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zirmandli.wordpress.com/2008/01/03/fade-effects-with-javascript/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/30a2f5bc4923f7f0051b346523049c74?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Benazir Patel</media:title>
		</media:content>
	</item>
		<item>
		<title>Some reading before Interview</title>
		<link>http://zirmandli.wordpress.com/2007/12/15/some-reading-before-interview/</link>
		<comments>http://zirmandli.wordpress.com/2007/12/15/some-reading-before-interview/#comments</comments>
		<pubDate>Sat, 15 Dec 2007 05:59:00 +0000</pubDate>
		<dc:creator>Benazir Samir Patel</dc:creator>
				<category><![CDATA[Questions]]></category>

		<guid isPermaLink="false">http://zirmandli.wordpress.com/2007/12/15/some-reading-before-interview/</guid>
		<description><![CDATA[What are the OOPS concepts? 1) Encapsulation: It is the mechanism that binds together code and data in manipulates, and keeps both safe from outside interference and misuse. In short it isolates a particular code and data from all other codes and data. A well-defined interface controls the access to that particular code and data. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=36&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:trebuchet ms;"><span style="font-weight:bold;">What are the OOPS concepts?</span></span></p>
<p>1) <em>Encapsulation:</em> It is the mechanism that binds together code and<br />
data in manipulates, and keeps both safe from outside interference and<br />
misuse. In short it isolates a particular code and data from all other<br />
codes and data. A well-defined interface controls the access to that<br />
particular code and data.</p>
<p>2) <em>Inheritance:</em> It is the process by which one object acquires the<br />
properties of another object. This supports the hierarchical<br />
classification. Without the use of hierarchies, each object would need<br />
to define all its characteristics explicitly. However, by use of<br />
inheritance, an object need only define those qualities that make it<br />
unique within its class. It can inherit its general attributes from<br />
its parent. A new sub-class inherits all of the attributes of all of<br />
its ancestors.</p>
<p>3) <em>Polymorphism:</em> It is a feature that allows one interface to be used<br />
for general class of actions. The specific action is determined by the<br />
exact nature of the situation. In general polymorphism means &#8220;one<br />
interface, multiple methods&#8221;, This means that it is possible to design<br />
a generic interface to a group of related activities. This helps<br />
reduce complexity by allowing the same interface to be used to specify<br />
a general class of action. It is the compiler&#8217;s job to select the<br />
specific action (that is, method) as it applies to each situation.</p>
<p><span style="font-weight:bold;">What is the difference between a Struct and a Class?</span></p>
<p>The struct type is suitable for representing lightweight objects such<br />
as Point, Rectangle, and Color. Although it is possible to represent a<br />
point as a class, a struct is more efficient in some scenarios. For<br />
example, if you declare an array of 1000 Point objects, you will<br />
allocate additional memory for referencing each object. In this case,<br />
the struct is less expensive.<br />
When you create a struct object using the new operator, it gets<br />
created and the appropriate constructor is called. Unlike classes,<br />
structs can be instantiated without using the new operator. If you do<br />
not use new, the fields will remain unassigned and the object cannot<br />
be used until all of the fields are initialized.<br />
It is an error to declare a default (parameterless) constructor for a<br />
struct. A default constructor is always provided to initialize the<br />
struct members to their default values.<br />
It is an error to initialize an instance field in a struct.<br />
There is no inheritance for structs as there is for classes. A struct<br />
cannot inherit from another struct or class, and it cannot be the base<br />
of a class. Structs, however, inherit from the base class Object. A<br />
struct can implement interfaces, and it does that exactly as classes<br />
do.<br />
A struct is a value type, while a class is a reference type.</p>
<p><span style="font-weight:bold;">Value type &amp; reference types difference? Example from .NET. Integer</span><br />
<span style="font-weight:bold;">&amp; struct are value types or reference types in .NET?</span></p>
<p>Most programming languages provide built-in data types, such as<br />
integers and floating-point numbers, that are copied when they are<br />
passed as arguments (that is, they are passed by value). In the .NET<br />
Framework, these are called value types. The runtime supports two<br />
kinds of value types:<br />
Built-in value types<br />
The .NET Framework defines built-in value types, such as System.Int32<br />
and System.Boolean, which correspond and are identical to primitive<br />
data types used by programming languages.<br />
User-defined value types<br />
Your language will provide ways to define your own value types, which<br />
derive from System.ValueType. If you want to define a type<br />
representing a value that is small, such as a complex number (using<br />
two floating-point numbers), you might choose to define it as a value<br />
type because you can pass the value type efficiently by value. If the<br />
type you are defining would be more efficiently passed by reference,<br />
you should define it as a class instead.<br />
Variables of reference types, referred to as objects, store references<br />
to the actual data. This following are the reference types:<br />
class<br />
interface<br />
delegate<br />
This following are the built-in reference types:<br />
object<br />
string</p>
<p><span style="font-weight:bold;">What is Method Overriding? How to override a function in C#?</span></p>
<p>Use the override modifier to modify a method, a property, an indexer,<br />
or an event. An override method provides a new implementation of a<br />
member inherited from a base class. The method overridden by an<br />
override declaration is known as the overridden base method. The<br />
overridden base method must have the same signature as the override<br />
method.<br />
You cannot override a non-virtual or static method. The overridden<br />
base method must be virtual, abstract, or override.</p>
<p><span style="font-weight:bold;">Can we call a base class method without creating instance?</span></p>
<p>Its possible If its a static method.<br />
Its possible by inheriting from that class also.<br />
Its possible from derived classes using base keyword.</p>
<p><span style="font-weight:bold;">In which cases you use override and new base?</span></p>
<p>Use the new modifier to explicitly hide a member inherited from a base<br />
class. To hide an inherited member, declare it in the derived class<br />
using the same name, and modify it with the new modifier.</p>
<p><span style="font-weight:bold;">What are Sealed Classes in C#?</span></p>
<p>The sealed modifier is used to prevent derivation from a class. A<br />
compile-time error occurs if a sealed class is specified as the base<br />
class of another class. (A sealed class cannot also be an abstract<br />
class)</p>
<p><span style="font-weight:bold;">UDDI</span><br />
(Universal Description, Discovery and Integration)</p>
<p><span style="font-weight:bold;">WSDL</span><br />
(Web Services Discription Language)</p>
<p><span style="font-weight:bold;">Web Service (Definition)</span></p>
<p>- The W3C defines a Web service[1] as a software system designed to support interoperable machine-to-machine interaction over a network.</p>
<p>- A Web Service is a software component that is described via WSDL and is capable of being accessed via standard network protocols such as but not limited to SOAP over HTTP.</p>
<p><span style="font-weight:bold;">SOAP (Definition)</span></p>
<p>- SOAP is a standard for exchanging XML-based messages over a computer network, normally using HTTP. SOAP forms the foundation layer of the web services stack, providing a basic messaging framework that more abstract layers can build on.</p>
<p><span style="font-weight:bold;">.Net code Compilation and Execution</span></p>
<p>* Source code is converted to Microsoft Intermediate Language and an assembly is created.<br />
* Upon execution of a .NET assembly, its MSIL is passed through the Common Language Runtime&#8217;s JIT compiler to generate native code. (NGEN compilation eliminates this step at run time.)<br />
* The native code is executed by the computer&#8217;s processor.</p>
<p><span style="font-weight:bold;">What is XML ?</span></p>
<p>- XML (Extensible Markup Language) is a W3C initiative that allows information and services to be encoded with meaningful structure and semantics that computers and humans can understand. XML is great for information exchange, and can easily be extended to include user-specified and industry-specified tags.<br />
- XML is a markup language for documents containing structured information.</p>
<p><span style="font-weight:bold;">What is UML ?</span></p>
<p>UML is a general-purpose modeling language that includes a standardized graphical notation used to create an abstract model of a system.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zirmandli.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zirmandli.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zirmandli.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zirmandli.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zirmandli.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zirmandli.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zirmandli.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zirmandli.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zirmandli.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zirmandli.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zirmandli.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zirmandli.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zirmandli.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zirmandli.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zirmandli.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zirmandli.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=36&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zirmandli.wordpress.com/2007/12/15/some-reading-before-interview/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/30a2f5bc4923f7f0051b346523049c74?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Benazir Patel</media:title>
		</media:content>
	</item>
		<item>
		<title>Use Regular Expression by JavaScript</title>
		<link>http://zirmandli.wordpress.com/2007/12/06/use-regular-expression-by-javascript/</link>
		<comments>http://zirmandli.wordpress.com/2007/12/06/use-regular-expression-by-javascript/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 08:14:00 +0000</pubDate>
		<dc:creator>Benazir Samir Patel</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Regular Expression]]></category>
		<category><![CDATA[Validation]]></category>

		<guid isPermaLink="false">http://zirmandli.wordpress.com/2007/12/06/use-regular-expression-by-javascript/</guid>
		<description><![CDATA[Use Regular Expression by JavaScript =============================== 1 function validateEmail()2 {3 // Value to Validate. Ex. Your EMail Address TextBox4 var EMailID = document.getElementById(&#8216;txtEMail&#8217;).value;56 // Here, we set the Expression to Validate the Value for EMail Address.7 var EMailValidate = /^([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9])+(\.[a-zA-Z0-9_-]+)+$/;89 // Test the Validator.10 if( EMailValidate.test(EMailID))11 {12 alert(&#8216;Right Email Address.&#8217;);13 }14 else15 {16 alert(&#8216;Wrong Email [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=35&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- {\rtf1\ansi\ansicpg\lang1024\noproof1252\uc1 \deff0{\fonttbl{\f0\fnil\fcharset0\fprq1 Courier New;}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0??;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;??\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;??\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;??\red192\green192\blue192;}??\fs20 function validateEmail()\par ??\tab \{\par ??\tab \tab \cf11 // Value to Validate. Ex. Your EMail Address TextBox\par ??\cf0 \tab \tab var EMailID = document.getElementById(\cf13 'txtEMail'\cf0 ).value;\par ??\tab \tab \par ??\tab \tab \cf11 // Here, we set the Expression to Validate the Value for EMail Address.\par ??\cf0 \tab \tab var EMailValidate = /^([a-zA-Z0-9])+([\\.a-zA-Z0-9_-])*@([a-zA-Z0-9])+(\\.[a-zA-Z0-9_-]+)+$/;\par ??\tab \tab \par ??\tab \tab \cf11 // Test the Validator.\par ??\cf0 \tab \tab \cf2 if\cf0 ( EMailValidate.test(EMailID)) \par ??\tab \tab \{\par ??\tab \tab \tab alert(\cf13 'Right Email Address.'\cf0 );\par ??\tab \tab \}\par ??\tab \tab \cf2 else\par ??\cf0 \tab \tab \{\par ??\tab \tab \tab alert(\cf13 'Wrong Email Address.'\cf0 );\par ??\tab \tab \}\par ??\tab \}\tab } --><span style="font-weight:bold;font-family:trebuchet ms;">Use Regular Expression by JavaScript</span><br />
<span style="font-weight:bold;font-family:trebuchet ms;">===============================</span></p>
<div style="background:white none repeat scroll 0 50%;font-family:Courier New;font-size:10pt;color:black;"><span style="color:#2b91af;">1</span> function validateEmail()<span style="color:#2b91af;">2</span> {<span style="color:#2b91af;">3</span> <span style="color:#008000;">// Value to Validate. Ex. Your EMail Address TextBox</span><span style="color:#2b91af;">4</span> var EMailID = document.getElementById(<span style="color:#800000;">&#8216;txtEMail&#8217;</span>).value;<span style="color:#2b91af;">5</span><span style="color:#2b91af;">6</span> <span style="color:#008000;">// Here, we set the Expression to Validate the Value for EMail Address.</span><span style="color:#2b91af;">7</span> var EMailValidate = /^([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9])+(\.[a-zA-Z0-9_-]+)+$/;<span style="color:#2b91af;">8</span><span style="color:#2b91af;">9</span> <span style="color:#008000;">// Test the Validator.</span><span style="color:#2b91af;">10</span> <span style="color:#0000ff;">if</span>( EMailValidate.test(EMailID))<span style="color:#2b91af;">11</span> {<span style="color:#2b91af;">12</span> alert(<span style="color:#800000;">&#8216;Right Email Address.&#8217;</span>);<span style="color:#2b91af;">13</span> }<span style="color:#2b91af;">14</span> <span style="color:#0000ff;">else</span><span style="color:#2b91af;">15</span> {<span style="color:#2b91af;">16</span> alert(<span style="color:#800000;">&#8216;Wrong Email Address.&#8217;</span>);<span style="color:#2b91af;">17</span> }<span style="color:#2b91af;">18</span> } </div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zirmandli.wordpress.com/35/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zirmandli.wordpress.com/35/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zirmandli.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zirmandli.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zirmandli.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zirmandli.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zirmandli.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zirmandli.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zirmandli.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zirmandli.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zirmandli.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zirmandli.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zirmandli.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zirmandli.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zirmandli.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zirmandli.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=35&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zirmandli.wordpress.com/2007/12/06/use-regular-expression-by-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/30a2f5bc4923f7f0051b346523049c74?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Benazir Patel</media:title>
		</media:content>
	</item>
		<item>
		<title>Use ICallbackEventHandler in Asp.Net 2.0</title>
		<link>http://zirmandli.wordpress.com/2007/12/03/use-icallbackeventhandler-in-aspnet-20/</link>
		<comments>http://zirmandli.wordpress.com/2007/12/03/use-icallbackeventhandler-in-aspnet-20/#comments</comments>
		<pubDate>Mon, 03 Dec 2007 07:04:00 +0000</pubDate>
		<dc:creator>Benazir Samir Patel</dc:creator>
				<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://zirmandli.wordpress.com/2007/12/03/use-icallbackeventhandler-in-aspnet-20/</guid>
		<description><![CDATA[Use ICallbackEventHandler in Asp.Net 2.0 ================================== For Example, you have page Layout is like this : &#60;META NAME=&#8221;Generator&#8221; CONTENT=&#8221;EditPlus&#8221;&#62; &#60;META NAME=&#8221;Author&#8221; CONTENT=&#8221;"&#62; &#60;META NAME=&#8221;Keywords&#8221; CONTENT=&#8221;"&#62; &#60;META NAME=&#8221;Description&#8221; CONTENT=&#8221;"&#62; &#60;/HEAD&#62; &#60;BODY&#62; &#60;div id=&#8221;divResult&#8221; runat=&#8221;server&#8221;&#62; &#60;/div&#62; &#60;br/&#62; &#60;input type=&#8221;button&#8221; value=&#8221;Text ICallBack&#8221; onclick=&#8221;return GetPop()&#8221; /&#62; &#60;/BODY&#62; &#60;/HTML&#62; Steps to Implement ICallbackEventHanler: &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- 1. First define string variable in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=34&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight:bold;font-family:trebuchet ms;">Use ICallbackEventHandler in Asp.Net 2.0</span><br />
<span style="font-weight:bold;font-family:trebuchet ms;">==================================</span></p>
<p><span style="font-style:italic;font-family:trebuchet ms;">For Example, you have page Layout is like this :</span></p>
<p>&lt;META NAME=&#8221;Generator&#8221; CONTENT=&#8221;EditPlus&#8221;&gt;<br />
&lt;META NAME=&#8221;Author&#8221; CONTENT=&#8221;"&gt;<br />
&lt;META NAME=&#8221;Keywords&#8221; CONTENT=&#8221;"&gt;<br />
&lt;META NAME=&#8221;Description&#8221; CONTENT=&#8221;"&gt;<br />
&lt;/HEAD&gt;</p>
<p>&lt;BODY&gt;<br />
&lt;div id=&#8221;divResult&#8221; runat=&#8221;server&#8221;&gt;<br />
&lt;/div&gt;<br />
&lt;br/&gt;<br />
&lt;input type=&#8221;button&#8221; value=&#8221;Text ICallBack&#8221; onclick=&#8221;return GetPop()&#8221; /&gt;</p>
<p>&lt;/BODY&gt;<br />
&lt;/HTML&gt;</p>
<p>Steps to Implement ICallbackEventHanler:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>1. First define string variable in Common section of your code behind (.cs) file.</p>
<p>string _CallBackString;</p>
<p>2. Inherit ICallbackEventHandler in your page.</p>
<p>public partial class Customize : System.Web.UI.Page, ICallbackEventHandler</p>
<p>3. Now, write this code in your Page_Load() Event</p>
<p>ClientScriptManager cs = Page.ClientScript;</p>
<p>string cbRef = cs.GetCallbackEventReference(this, &#8220;arg&#8221;, &#8220;ShowPop&#8221;, &#8220;context&#8221;);<br />
string cbScript = &#8220;function CallPopBack(arg, context){&#8221; + cbRef + &#8220;;}&#8221;;<br />
cs.RegisterClientScriptBlock(this.GetType(), &#8220;CallPopBack&#8221;, cbScript, true);</p>
<p>4. Now, Write some javascript code, in your design section of your page.</p>
<p>function GetPop()<br />
{<br />
var justExample = &#8216;Hi..All..&#8217;;</p>
<p>CallPopBack(justExample)<br />
}<br />
function ShowPop(result, context)<br />
{</p>
<p>var strResult = new String();<br />
strResult = result;</p>
<p>alert(result);<br />
}</p>
<p>4. Now, In your code behind (.cs) file, write code for your EventHandle Method.</p>
<p>public string GetCallbackResult()<br />
{<br />
return _CallBackString;<br />
}</p>
<p>public void RaiseCallbackEvent(string eventArgument)<br />
{<br />
_CallBackString = eventArgument + &#8221; &#8221; + DateTime.Now.ToShortTimeString();<br />
}</p>
<p>5. Run the page and test this page.</p>
<p>Hope you will like it.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zirmandli.wordpress.com/34/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zirmandli.wordpress.com/34/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zirmandli.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zirmandli.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zirmandli.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zirmandli.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zirmandli.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zirmandli.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zirmandli.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zirmandli.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zirmandli.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zirmandli.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zirmandli.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zirmandli.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zirmandli.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zirmandli.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=34&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zirmandli.wordpress.com/2007/12/03/use-icallbackeventhandler-in-aspnet-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/30a2f5bc4923f7f0051b346523049c74?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Benazir Patel</media:title>
		</media:content>
	</item>
		<item>
		<title>Javascript to Allow only numbers in TextBox</title>
		<link>http://zirmandli.wordpress.com/2007/09/25/javascript-to-allow-only-numbers-in-textbox/</link>
		<comments>http://zirmandli.wordpress.com/2007/09/25/javascript-to-allow-only-numbers-in-textbox/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 13:22:00 +0000</pubDate>
		<dc:creator>Benazir Samir Patel</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://zirmandli.wordpress.com/2007/09/25/javascript-to-allow-only-numbers-in-textbox/</guid>
		<description><![CDATA[Javascript to Allow only numbers in TextBox ====================================== &#60;script language=&#8221;javascript&#8221; type=&#8221;text/javascript&#8221;&#62; function CheckKeyCode(e) { if (navigator.appName == &#8220;Microsoft Internet Explorer&#8221;) { if((e.keyCode &#62;= 48 &#38;&#38; e.keyCode &#60;= 57) &#124;&#124; (e.keyCode == 8)) { return true; } else { return false; } } else { if ((e.charCode &#62;= 48 &#38;&#38; e.charCode &#60;= 57) &#124;&#124; (e.charCode == [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=33&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div><span style="font-family:trebuchet ms;"><span style="font-weight:bold;">Javascript to Allow only numbers in TextBox </span><br />
<span style="font-weight:bold;">======================================</span></span></div>
<p><span style="font-family:trebuchet ms;">&lt;script language=&#8221;javascript&#8221; type=&#8221;text/javascript&#8221;&gt;</p>
<p>function CheckKeyCode(e)<br />
{<br />
if (navigator.appName == &#8220;Microsoft Internet Explorer&#8221;)<br />
{<br />
if((e.keyCode &gt;= 48 &amp;&amp; e.keyCode &lt;= 57) || (e.keyCode == 8))<br />
{<br />
return true;<br />
}<br />
else<br />
{<br />
return false;<br />
}<br />
}<br />
else<br />
{<br />
if ((e.charCode &gt;= 48 &amp;&amp; e.charCode &lt;= 57) || (e.charCode == 0))<br />
{<br />
return true;<br />
}<br />
else<br />
{<br />
return false;<br />
}<br />
}<br />
}</p>
<p>&lt;/script&gt;</p>
<p>// Add this code in your GridView control&#8217;s RowDataBound Event.</p>
<p>((TextBox)e.Row.FindControl(&#8220;txtDispOrder&#8221;)).Attributes.Add(&#8220;onkeypress&#8221;, &#8220;javascript:return CheckKeyCode(event);&#8221;);</p>
<p> </p>
<p></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zirmandli.wordpress.com/33/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zirmandli.wordpress.com/33/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zirmandli.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zirmandli.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zirmandli.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zirmandli.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zirmandli.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zirmandli.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zirmandli.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zirmandli.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zirmandli.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zirmandli.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zirmandli.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zirmandli.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zirmandli.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zirmandli.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=33&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zirmandli.wordpress.com/2007/09/25/javascript-to-allow-only-numbers-in-textbox/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/30a2f5bc4923f7f0051b346523049c74?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Benazir Patel</media:title>
		</media:content>
	</item>
		<item>
		<title>Data Access Application Block Gets Batch Update Functionality in Enterprise Library 3.0</title>
		<link>http://zirmandli.wordpress.com/2007/09/22/data-access-application-block-gets-batch-update-functionality-in-enterprise-library-30/</link>
		<comments>http://zirmandli.wordpress.com/2007/09/22/data-access-application-block-gets-batch-update-functionality-in-enterprise-library-30/#comments</comments>
		<pubDate>Sat, 22 Sep 2007 10:23:25 +0000</pubDate>
		<dc:creator>Benazir Samir Patel</dc:creator>
				<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Dataset]]></category>

		<guid isPermaLink="false">http://zirmandli.wordpress.com/2007/09/22/data-access-application-block-gets-batch-update-functionality-in-enterprise-library-30/</guid>
		<description><![CDATA[In Enterprise Library 3.0, the Data Access Application Block now supports batch updates functionality. This helps us to eliminate number of roundtrips with the Database.    The syntax for the update dataset is as follows  Database.UpdateDataSet(DataSet dataSet, string tableName,     DbCommand insertCommand, DbCommand updateCommand,     DbCommand deleteCommand, UpdateBehavior updateBehavior,     int? updateBatchSize); Consider one table named [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=32&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:10pt;font-family:Verdana;">In Enterprise Library 3.0, the Data Access Application Block now supports batch updates functionality. This helps us to eliminate number of roundtrips with the Database. </span><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p><span style="font-size:10pt;font-family:Verdana;"></span><span style="font-size:10pt;font-family:Verdana;"> The syntax for the update dataset is as follows</span><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p><span style="font-size:10pt;font-family:Verdana;"></span><span style="font-size:10pt;color:black;font-family:Verdana;">Database.UpdateDataSet(DataSet dataSet, </span><span style="font-size:10pt;color:blue;font-family:Verdana;">string</span><span style="font-size:10pt;color:black;font-family:Verdana;"> tableName,<br />
<span>    </span>DbCommand insertCommand, DbCommand updateCommand,<br />
<span>    </span>DbCommand deleteCommand, UpdateBehavior updateBehavior,<br />
<span>    </span></span><span style="font-size:10pt;color:blue;font-family:Verdana;">int</span><span style="font-size:10pt;color:black;font-family:Verdana;">? updateBatchSize);</span><span style="color:black;"></p>
<p><span style="font-size:10pt;color:black;font-family:Verdana;">Consider one table named Student as follows</span><span style="font-size:10pt;color:black;font-family:Verdana;"> </span></p>
<p><span style="font-size:10pt;color:black;font-family:Verdana;"></span><span style="font-size:10pt;color:black;font-family:Verdana;">Studentid , </span><span style="font-size:10pt;color:black;font-family:Verdana;">Name, </span><span style="font-size:10pt;color:black;font-family:Verdana;">Address, </span><span style="font-size:10pt;color:black;font-family:Verdana;">City </span></p>
<p><span style="font-size:10pt;color:black;font-family:Verdana;">We will update address and city of all students with one roundtrip.</span><span style="color:black;"><font face="Times New Roman"> </font></span><span style="color:black;"><font face="Times New Roman"> </font></span></p>
<pre><span style="color:green;">// First Create object for default Database</span>   

<span style="color:black;">Database database = DatabaseFactory.CreateDatabase();</span>       

<span style="color:green;">// Fetch all Student data in a dataset</span>    

<span style="color:blue;">string</span><span style="color:black;"> selectSql = "</span> <span style="color:teal;">SELECT * FROM Student</span><span style="color:black;">";</span>   

<span style="color:black;">DataSet dsStudent = database.ExecuteDataSet(CommandType.Text, selectSql);</span> 

<span style="color:green;">// modify Address and city</span>
<span style="color:blue;">foreach</span><span style="color:black;"> (DataRow dr </span><span style="color:blue;">in</span><span style="color:black;"> dsStudent.Tables[</span><span style="color:red;">0</span><span style="color:black;">].Rows)</span> <font size="2"><span style="color:black;"></span></font>    

<span style="color:black;"><font size="2">{</font></span> <span style="color:black;"></span><font size="2">    

<span style="color:black;"><span></span>dr["</span><span style="color:teal;">Address</span><span style="color:black;">"] += "</span><span style="color:teal;">New</span><span style="color:black;"> </span><span style="color:teal;">Address</span><span style="color:black;">";</span></font> <font size="2">    

<span style="color:black;">dr["</span><span style="color:teal;">City</span><span style="color:black;">"] += "</span><span style="color:teal;"> New<span style="color:black;"> </span>City</span><span style="color:black;">";</span></font> <font size="2"><span style="color:black;"></span></font>    

<span style="color:black;"><font size="2">}</font></span>     

<span style="color:green;"><font size="2">// Create Update Command</font></span> 
<span style="color:blue;">string</span><span style="color:black;"> updateSql = "</span><font size="2"><span style="color:teal;">UPDATE Student SET Address=@Address, City = @City WHERE StudentId = @StudentId</span><span style="color:black;">";</span></font> <font size="2"><span style="color:black;"></span></font>       

<span style="color:black;"><font size="2">DbCommand cmdUpdate = database.GetSqlStringCommand(updateSql);</font></span>    

<span style="color:black;">database.AddInParameter(cmdUpdate, "</span><span style="color:teal;">StudentId</span><font size="2"><span style="color:black;">",DbType.Int32, "</span><span style="color:teal;">StudentId</span><span style="color:black;">", DataRowVersion.Current);</span></font>    

<span style="color:black;">database.AddInParameter(cmdUpdate, "</span><span style="color:teal;">Address</span><font size="2"><span style="color:black;">",DbType.String, "</span><span style="color:teal;">Address</span><span style="color:black;">", DataRowVersion.Current);</span></font>    

<span style="color:black;">database.AddInParameter(cmdUpdate, "</span><span style="color:teal;">City</span><font size="2"><span style="color:black;">",DbType.String, "</span><span style="color:teal;">City</span><span style="color:black;">", DataRowVersion.Current);</span></font>    

<span style="color:green;">// Execute Batch Update</span>
 <span style="color:green;"><font size="2">// provide NULL for other commands</font></span>    

<span style="color:black;">database.UpdateDataSet(dsStudent, "</span><span style="color:teal;">TableName</span><span style="color:black;">", </span><span style="color:blue;">null</span><font size="2"><span style="color:black;">,cmdUpdate, </span><span style="color:blue;">null</span><span style="color:black;">, UpdateBehavior.Transactional, </span><span style="color:red;">0</span> </font><font size="2"><span style="color:black;">);</span> <font size="2"><span style="color:black;"><font size="2" color="#008000"> </font></span></font> <font size="2"><span style="color:black;"></span></font>  <font size="2"><span style="color:black;"></span></font><font size="2"><span style="color:black;"><font size="2" color="#008000"> </font></span></font>
</font>
<pre>
<pre>
<pre>
<pre><font size="2"><span style="color:black;">- Benazir</span></font></pre>
</pre>
</pre>
</pre>
</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zirmandli.wordpress.com/32/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zirmandli.wordpress.com/32/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zirmandli.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zirmandli.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zirmandli.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zirmandli.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zirmandli.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zirmandli.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zirmandli.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zirmandli.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zirmandli.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zirmandli.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zirmandli.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zirmandli.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zirmandli.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zirmandli.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=32&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zirmandli.wordpress.com/2007/09/22/data-access-application-block-gets-batch-update-functionality-in-enterprise-library-30/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/30a2f5bc4923f7f0051b346523049c74?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Benazir Patel</media:title>
		</media:content>
	</item>
		<item>
		<title>Convert a string to Proper Case</title>
		<link>http://zirmandli.wordpress.com/2007/09/01/convert-a-string-to-proper-case/</link>
		<comments>http://zirmandli.wordpress.com/2007/09/01/convert-a-string-to-proper-case/#comments</comments>
		<pubDate>Sat, 01 Sep 2007 10:44:00 +0000</pubDate>
		<dc:creator>Benazir Samir Patel</dc:creator>
				<category><![CDATA[Asp.Net]]></category>

		<guid isPermaLink="false">http://zirmandli.wordpress.com/2007/09/01/convert-a-string-to-proper-case/</guid>
		<description><![CDATA[Convert a string to Proper Case =========================== // Use this Namespace using System.Globalization; // Code string myString = &#8220;thIS is tHE sAmple tExt to shoW tHIs examPle !!&#8221;; TextInfo TI = new CultureInfo(&#8220;en-US&#8221;,false).TextInfo; Response.Write (TI.ToTitleCase( myString ));<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=31&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight:bold;font-family:trebuchet ms;">Convert a string to Proper Case<br />
===========================<br />
<span style="font-weight:bold;"><br />
</span></span></p>
<div><span style="font-family:trebuchet ms;">// Use this Namespace<br />
using System.Globalization;</span></div>
<p><span style="font-family:trebuchet ms;">// Code<br />
string myString = &#8220;thIS is tHE sAmple tExt to shoW tHIs examPle !!&#8221;;</p>
<p>TextInfo TI = new CultureInfo(&#8220;en-US&#8221;,false).TextInfo;</p>
<p>Response.Write (TI.ToTitleCase( myString ));</p>
<p></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zirmandli.wordpress.com/31/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zirmandli.wordpress.com/31/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zirmandli.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zirmandli.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zirmandli.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zirmandli.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zirmandli.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zirmandli.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zirmandli.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zirmandli.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zirmandli.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zirmandli.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zirmandli.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zirmandli.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zirmandli.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zirmandli.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zirmandli.wordpress.com&amp;blog=1323322&amp;post=31&amp;subd=zirmandli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zirmandli.wordpress.com/2007/09/01/convert-a-string-to-proper-case/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/30a2f5bc4923f7f0051b346523049c74?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Benazir Patel</media:title>
		</media:content>
	</item>
	</channel>
</rss>
