<?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>Fenildesai's Weblog</title>
	<atom:link href="http://fenildesai.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://fenildesai.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 09 Feb 2010 06:15:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='fenildesai.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Fenildesai's Weblog</title>
		<link>http://fenildesai.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://fenildesai.wordpress.com/osd.xml" title="Fenildesai&#039;s Weblog" />
	<atom:link rel='hub' href='http://fenildesai.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Samsung Corby Mobile Phone</title>
		<link>http://fenildesai.wordpress.com/2010/02/09/samsung-corby-mobile-phone/</link>
		<comments>http://fenildesai.wordpress.com/2010/02/09/samsung-corby-mobile-phone/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 06:15:07 +0000</pubDate>
		<dc:creator>fenildesai</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fenildesai.wordpress.com/2010/02/09/samsung-corby-mobile-phone/</guid>
		<description><![CDATA[Samsung Electronics Co. Ltd, is a leading mobile phone provider in India. They hold the second largest share in the mobile manufacturing industry in India. Samsung is known for its sleek and stylish mobile phones. They have mobile phones in slider, clamshell, classic candy bar and flip phones. Samsung has recently launched Samsung Corby mobile [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=80&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>
<p style="font-family:arial,helvetica,sans-serif;">Samsung Electronics Co. Ltd, is a leading mobile phone provider in India. They hold the second largest share in the mobile manufacturing industry in India. Samsung is known for its sleek and stylish mobile phones. They have mobile phones in slider, clamshell, classic candy bar and flip phones. <a href="http://www.consumermate.com/mobile-phones/best-samsung-mobiles.html">Samsung</a> has recently launched Samsung Corby mobile phone targeted towards today’s youth. It is a trendy mobile phone for college goers who want to stay connected and want an affordable phone loaded with features. </p>
<p style="font-family:arial,helvetica,sans-serif;"> </p>
<p style="font-family:arial,helvetica,sans-serif;">The Samsung Corby Mobile Phone helps you stay connected as it supports social networking sites like Facebook, Twitter and MySpace. This enhanced multimedia features ensure that the user stay connected easily with friends and family. The user can easily upload their latest pictures, messages and video’s online. The Samsung Corby Mobile Phone supports communities like YouTube, Flickr, Picasa and Photobucket. The user can easily upload photos and videos to these sites through this Communities solution. The Samsung Corby mobile phone is available in bold colors like Jamaican Yellow, Cupid Pink, Minimal White, and Festival Orange. </p>
<p style="font-family:arial,helvetica,sans-serif;"> </p>
<p style="font-family:arial,helvetica,sans-serif;">The <a href="http://www.consumermate.com/mobile-phones/product_search.php?mode=show_listing">Samsung Corby Mobile Phone</a> supports innovative multimedia capabilities. The Samsung Corby supports a 2.8-inch QVGA screen with 262 K Color TFT display. It is a quad band WAP 2 enabled phone. The Samsung Corby weighs just 93.2 grams with sleek dimensions of 103 x 56.5 x 12 mm. The Samsung Corby Mobile Phone is equipped with a 2 MP Camera with digital zoom. It also has an inbuilt video recorder and player, so you can download and play all your favorite videos. The Samsung Corby Mobile Phone has an inbuilt music player and FM Radio.</p>
<p style="font-family:arial,helvetica,sans-serif;"> </p>
<p style="font-family:arial,helvetica,sans-serif;">The Samsung Corby Mobile Phone offers connectivity options like Bluetooth, WAP and internet HTML Browser helping you stay connected and easily share all your videos, music, pictures etc. The Samsung Corby offers quad band connectivity and supports EDGE networks so that the user can stay connected anywhere in the world. The Samsung Corby Mobile Phone has an embedded user memory of 68 MB and has an expandable memory of 8GB with the help of a MicroSD Card. The Samsung Corby Mobile Phone has the easy unlock feature and helps you access the menu quickly with Smart Unlock. You can utilize the smart Unlock feature in three ways, like the Simple unlock, unlock and speed dial and lastly unlock and run an application.</p>
<p style="font-family:arial,helvetica,sans-serif;"> </p>
<p style="font-family:arial,helvetica,sans-serif;">For the latest Samsung Corby Mobile Phone prices and the best deals check <a href="http://consumermate.com">consumermate.com</a>.</p>


<!-- No posting client link spam, please. -->


</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fenildesai.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fenildesai.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fenildesai.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fenildesai.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fenildesai.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fenildesai.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fenildesai.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fenildesai.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fenildesai.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fenildesai.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fenildesai.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fenildesai.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fenildesai.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fenildesai.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=80&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fenildesai.wordpress.com/2010/02/09/samsung-corby-mobile-phone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5623ed8377af3a6830ac263a1ace5d3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fenildesai</media:title>
		</media:content>
	</item>
		<item>
		<title>VS2010 RC2 Available for download</title>
		<link>http://fenildesai.wordpress.com/2010/02/09/vs2010-rc2-available-for-download/</link>
		<comments>http://fenildesai.wordpress.com/2010/02/09/vs2010-rc2-available-for-download/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 06:11:13 +0000</pubDate>
		<dc:creator>fenildesai</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fenildesai.wordpress.com/2010/02/09/vs2010-rc2-available-for-download/</guid>
		<description><![CDATA[Much Awaited VS2010 RC2 ia available for download now.This is only available to MSDN subscribers and will be available to public by February 10th 2010. This RC includes go-live license for deployment in production environments. Seems that performance issues are improved as per developers feedback.But we need to download ,install,check and seehow fast it is.Seems [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=79&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>Much Awaited VS2010 RC2 ia available for download now.<br />This is only available to MSDN subscribers and will be available to public by February 10th 2010. This RC includes go-live license for deployment in production environments.<br /> Seems that performance issues are improved as per developers feedback.But we need to download ,install,check and see<br />how fast it is.Seems that MS VS2010 Product team working closely with 3rd party companies that have popular Visual Studio add-ins <br /> (such as Resharper, CodeRush, Whole Tomato, etc) to make sure the environment works well.<br />VS2010 RC2 comes with <a href="http://himabinduvejella.blogspot.com/2010/02/vs2010-rc2-available-for-download.html#" class="kLink" style="text-decoration:underline!important;" target="undefined"><span class="kLink" style="color:blue!important;font-family:Verdana,sans-serif;font-weight:400;font-size:13px;">ASP.NET</span></a> MVC but it don&#39;t include <a href="http://ASP.NET">ASP.NET</a> MVC R2.<br /> If you want to work with <a href="http://ASP.NET">ASP.NET</a> MVC R2 ,you have to install it seperately.


<!-- No posting client link spam, please. -->


</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fenildesai.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fenildesai.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fenildesai.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fenildesai.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fenildesai.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fenildesai.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fenildesai.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fenildesai.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fenildesai.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fenildesai.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fenildesai.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fenildesai.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fenildesai.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fenildesai.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=79&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fenildesai.wordpress.com/2010/02/09/vs2010-rc2-available-for-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5623ed8377af3a6830ac263a1ace5d3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fenildesai</media:title>
		</media:content>
	</item>
		<item>
		<title>Of tons and thousands</title>
		<link>http://fenildesai.wordpress.com/2010/02/06/of-tons-and-thousands/</link>
		<comments>http://fenildesai.wordpress.com/2010/02/06/of-tons-and-thousands/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 12:01:47 +0000</pubDate>
		<dc:creator>fenildesai</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fenildesai.wordpress.com/2010/02/06/of-tons-and-thousands/</guid>
		<description><![CDATA[Jacques Kallis scored his 34th Test hundred against India in the first Test, to draw level with two retired legends of the game &#8211; Sunil Gavaskar and Brian Lara. Only two players are ahead of him now in the list of top century makers in Test cricket: Sachin Tendulkar and Ricky Ponting. For a long [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=78&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>Jacques Kallis scored his 34th Test hundred against India in the first Test, to draw level with two retired legends of the game &#8211; Sunil Gavaskar and Brian Lara.
<p />Only two players are ahead of him now in the list of top century makers in Test cricket: Sachin Tendulkar and Ricky Ponting.
<p />For a long time, Sunil Gavaskar held the record for the most Test hundreds, and his mark of 34 tons was thought to be nigh impregnable. However, the burgeoning of cricket, the increasing number of matches and the special talents of Sachin Tendulkar all combined at the right time for Gavaskar&#39;s mark to be overtaken.
<p />However, achieving the landmark of scoring 34 Test hundreds is still an extremely special event for any cricketer, and the exclusivity of the club that have scored that many &#8211; Tendulkar, Ponting, Lara, Gavaskar and Kallis &#8211; shows how tough it is to get into.
<p />Here is a list of the top century makers in Test cricket:
<p />
<div class="detailedNews">
<table class="tableizer-table">
<tr class="tableizer-firstrow">
<th>Player</th>
<th>Matches</th>
<th>Innings</th>
<th>Runs</th>
<th>Centuries</th>
<th>Inns per 100</th>
<th>Average</th>
<th>Centuries total</th>
<th>% of Runs from 100s</th>
</tr>
<tr>
<td>Sachin Tendulkar</td>
<td>165*</td>
<td>268</td>
<td>13234</td>
<td>45</td>
<td>5.96</td>
<td>55.37</td>
<td>6555</td>
<td>49.53%</td>
</tr>
<tr>
<td>Ricky Ponting</td>
<td>142</td>
<td>240</td>
<td>11859</td>
<td>39</td>
<td>6.15</td>
<td>55.67</td>
<td>5634</td>
<td>47.51%</td>
</tr>
<tr>
<td>Jacques Kallis</td>
<td>136*</td>
<td>229</td>
<td>10799</td>
<td>34</td>
<td>6.74</td>
<td>55.37</td>
<td>4555</td>
<td>42.18%</td>
</tr>
<tr>
<td>Sunil Gavaskar</td>
<td>125</td>
<td>214</td>
<td>10122</td>
<td>34</td>
<td>6.29</td>
<td>51.12</td>
<td>4802</td>
<td>47.44%</td>
</tr>
<tr>
<td>Brian Lara</td>
<td>131</td>
<td>232</td>
<td>11953</td>
<td>34</td>
<td>6.82</td>
<td>52.88</td>
<td>5889</td>
<td>49.27%</td>
</tr>
<tr>
<td>Steve Waugh</td>
<td>168</td>
<td>260</td>
<td>10927</td>
<td>32</td>
<td>8.13</td>
<td>51.06</td>
<td>4342</td>
<td>39.74%</td>
</tr>
<tr>
<td>Matthew Hayden</td>
<td>103</td>
<td>184</td>
<td>8625</td>
<td>30</td>
<td>6.13</td>
<td>50.73</td>
<td>4092</td>
<td>47.44%</td>
</tr>
<tr>
<td>Donald Bradman</td>
<td>52</td>
<td>80</td>
<td>6996</td>
<td>29</td>
<td>2.76</td>
<td>99.94</td>
<td>5393</td>
<td>77.09%</td>
</tr>
<tr>
<td>Rahul Dravid</td>
<td>139</td>
<td>240</td>
<td>11395</td>
<td> 29</td>
<td>8.28</td>
<td>53.75</td>
<td>4391</td>
<td>38.53%</td>
</tr>
</table>
<p />Each batsman on the list has several traits in common &#8211; they are all without a doubt, all-time greats of the game, they have all scored mountains of runs for their countries, and they&#39;ve all averaged over 50 over their careers &#8211; the hallmark of a great batsman.
<p />Sir Donald Bradman is, of course, in a different league, but it is interesting to note that most of the other batsmen seem to average 6 to 7 innings per century. The only two who are above 8 innings per century are Dravid and Steve Waugh, and not surprisingly, they hold the record for the most nineties in Tests, having scored 10 each. Had a few of those nineties been converted to centuries, they would have been in the same bracket as the others.
<p />Also not surprising is the fact that there is a direct inverse correlation between the number of innings a batsman takes to score a century and the percentage of his total runs that have come through centuries. The Don is once again in a league of his own, but for the others, some interesting conclusions can be drawn.
<p />From the numbers above, it seems that amongst the great batsmen, roughly half of the total runs they score in their careers come in roughly one seventh of their innings. That is roughly 50% of their runs are scored in 15% of their innings.
<p />However, bowlers would do well to exercise restraint before breaking out into a jig at the numbers, thinking that these great batsmen are susceptible to inconsistency. The thing is, each one of them has scored such a mountain of runs that even half of what they have scored, at the averages they score, is a not inconsiderable total.
<p /><b>Trivia stat of the day:</b> The number 34 was doubly special for Jacques Kallis in this match. Not only did he score his 34th Test hundred, he also became the 34th player to reach the milestone of scoring 1000 runs against India in Test matches.</div>


<!-- No posting client link spam, please. -->


</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fenildesai.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fenildesai.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fenildesai.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fenildesai.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fenildesai.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fenildesai.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fenildesai.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fenildesai.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fenildesai.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fenildesai.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fenildesai.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fenildesai.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fenildesai.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fenildesai.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=78&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fenildesai.wordpress.com/2010/02/06/of-tons-and-thousands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5623ed8377af3a6830ac263a1ace5d3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fenildesai</media:title>
		</media:content>
	</item>
		<item>
		<title>નવા નવા લગ્ન બાદ અને લગ્નના એક વર્ષ પછી&#8230;</title>
		<link>http://fenildesai.wordpress.com/2010/02/04/%e0%aa%a8%e0%aa%b5%e0%aa%be-%e0%aa%a8%e0%aa%b5%e0%aa%be-%e0%aa%b2%e0%aa%97%e0%ab%8d%e0%aa%a8-%e0%aa%ac%e0%aa%be%e0%aa%a6-%e0%aa%85%e0%aa%a8%e0%ab%87-%e0%aa%b2%e0%aa%97%e0%ab%8d%e0%aa%a8%e0%aa%a8/</link>
		<comments>http://fenildesai.wordpress.com/2010/02/04/%e0%aa%a8%e0%aa%b5%e0%aa%be-%e0%aa%a8%e0%aa%b5%e0%aa%be-%e0%aa%b2%e0%aa%97%e0%ab%8d%e0%aa%a8-%e0%aa%ac%e0%aa%be%e0%aa%a6-%e0%aa%85%e0%aa%a8%e0%ab%87-%e0%aa%b2%e0%aa%97%e0%ab%8d%e0%aa%a8%e0%aa%a8/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 10:45:26 +0000</pubDate>
		<dc:creator>fenildesai</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fenildesai.wordpress.com/2010/02/04/%e0%aa%a8%e0%aa%b5%e0%aa%be-%e0%aa%a8%e0%aa%b5%e0%aa%be-%e0%aa%b2%e0%aa%97%e0%ab%8d%e0%aa%a8-%e0%aa%ac%e0%aa%be%e0%aa%a6-%e0%aa%85%e0%aa%a8%e0%ab%87-%e0%aa%b2%e0%aa%97%e0%ab%8d%e0%aa%a8%e0%aa%a8/</guid>
		<description><![CDATA[નવા નવા લગ્ન બાદ અને લગ્નના એક વર્ષ પછી&#8230; પતિ-પત્ની વચ્ચેનો સંવાદ&#8230;   લગ્નના એક-બે દિવસ બાદ:   પતિ: તો હવે શેની રાહ જોવે છે?   પત્ની: શું તમે એવું ઈચ્છો છો કે હું જતી રહું ?  પતિ: નારે ના! એવું તો હું વિચારી પણ ન શકું.  પત્ની: શું તમે મને પ્રેમ કરો છો? પતિ: હા! એક [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=77&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>
<div><strong>નવા નવા લગ્ન બાદ અને લગ્નના એક વર્ષ પછી&#8230; પતિ-પત્ની વચ્ચેનો સંવાદ&#8230;</strong> <br />  <br /><strong>લગ્નના એક-બે દિવસ બાદ:</strong> <br />  <br />પતિ: તો હવે શેની રાહ જોવે છે? <br /> </div>
<div>પત્ની: શું તમે એવું ઈચ્છો છો કે હું જતી રહું ?</div>
<p> પતિ: નારે ના! એવું તો હું વિચારી પણ ન શકું.</p>
<p> પત્ની: શું તમે મને પ્રેમ કરો છો?<br /> <br />પતિ: હા! એક નહી હજાર વખત!!<br /> <br />પત્ની: શું તમે મને ક્યારેય દગો આપ્યો છે?<br /> <br />પતિ: ક્યારેય નહી! એતો તું સારી રીતે જાણે છે, છતાં પૂછે છે?<br /> <br />પત્ની: હવે તમે મારા મુખને ચૂમસો ?<br />  <br />પતિ: અરે એના માટે તો હું કોઈપણ તક નહી છોડું.<br /> <br />પતિ: શું તમે મને મારશો?<br /> <br />પતિ: મને શું હડકાયું કૂતરું કરડ્યું છે તો હું એવું કરીશ.<br /> <br />પત્ની: શું તમે મારા પર વિશ્વાસ કરો છો?<br /> <br />પતિ: હાં!<br /> <br />પત્ની: ઓહ ડાર્લિંગ!!!<br />  <br /><strong>લગ્નના એક વર્ષ બાદના વાર્તાલાપ માટે કૃપા કરી નીચેથી ઉપર વાંચો&#8230;</strong></p>


<!-- No posting client link spam, please. -->


</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fenildesai.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fenildesai.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fenildesai.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fenildesai.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fenildesai.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fenildesai.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fenildesai.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fenildesai.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fenildesai.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fenildesai.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fenildesai.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fenildesai.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fenildesai.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fenildesai.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=77&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fenildesai.wordpress.com/2010/02/04/%e0%aa%a8%e0%aa%b5%e0%aa%be-%e0%aa%a8%e0%aa%b5%e0%aa%be-%e0%aa%b2%e0%aa%97%e0%ab%8d%e0%aa%a8-%e0%aa%ac%e0%aa%be%e0%aa%a6-%e0%aa%85%e0%aa%a8%e0%ab%87-%e0%aa%b2%e0%aa%97%e0%ab%8d%e0%aa%a8%e0%aa%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5623ed8377af3a6830ac263a1ace5d3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fenildesai</media:title>
		</media:content>
	</item>
		<item>
		<title>Web Service Vs WCF</title>
		<link>http://fenildesai.wordpress.com/2010/02/03/web-service-vs-wcf/</link>
		<comments>http://fenildesai.wordpress.com/2010/02/03/web-service-vs-wcf/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 07:19:32 +0000</pubDate>
		<dc:creator>fenildesai</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fenildesai.wordpress.com/2010/02/03/web-service-vs-wcf/</guid>
		<description><![CDATA[Introduction ASP.NET Web services were developed for building applications that send and receive messages by using the Simple Object Access Protocol (SOAP) over HTTP. The structure of the messages can be defined using an XML Schema, and a tool is provided to facilitate serializing the messages to and from .NET Framework objects. The technology can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=76&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>
<p><b>Introduction</b></p>
<p align="justify"><a href="http://ASP.NET">ASP.NET</a> Web services were developed for building applications that send and receive messages by using the Simple Object Access Protocol (SOAP) over HTTP. The structure of the messages can be defined using an XML Schema, and a tool is provided to facilitate serializing the messages to and from .NET Framework objects. The technology can automatically generate metadata to describe Web services in the Web Services Description Language (WSDL), and a second tool is provided for generating clients for Web services from the WSDL.</p>
<p align="justify">WCF is for enabling .NET Framework applications to exchange messages with other software entities. SOAP is used by default, but the messages can be in any format, and conveyed by using any transport protocol. The structure of the messages can be defined using an XML Schema, and there are various options for serializing the messages to and from .NET Framework objects. WCF can automatically generate metadata to describe applications built using the technology in WSDL, and it also provides a tool for generating clients for those applications from the WSDL.</p>
<p><b>Protocol Support</b></p>
<p>WCF Supports following protocol: HTTP, TCP, Named Pipes, MSMQ, Custom, UDP.</p>
<p>Web Service Support only HTTP Protocol.</p>
<p><b>Hosting Support</b></p>
<p align="justify">Web Service can be hosted only with Http Runtime on IIS. WCF component can be hosted in any kind of environment in .NET 3.0, such as a console application, Windows application, or IIS.</p>
<p align="justify">WCF services are known as ’services’ as opposed to web services because you can host services without a web server.</p>
<p align="justify">Self-hosting the services gives you the flexibility to use transports other than HTTP.</p>
<p><b>Backwards Compatibility</b></p>
<p>The purpose of WCF is to provide a unified programming model for distributed applications.</p>
<p>WCF takes all the capabilities of the existing technology stacks while not relying upon any of them.</p>
<p>Applications built with these earlier technologies will continue to work unchanged on systems with WCF installed. </p>
<p>Existing applications are able to upgrade with WCF</p>
<p><b>Integration</b></p>
<p>WCF can use WS-* or HTTP bindings to communicate with ASMX pages</p>
<p><b>Advantage of WCF or Limitations of ASMX</b></p>
<p>An ASMX page doesn’t tell you how to deliver it over the transports and to use a specific type of security. This is something that WCF enhances quite significantly.</p>
<p>ASMX has a tight coupling with the HTTP runtime and the dependence on IIS to host it. WCF can be hosted by any Windows process that is able to host the .NET Framework 3.0.</p>
<p>ASMX service is instantiated on a per-call basis, while WCF gives you flexibility by providing various instancing options such as Singleton, private session, per call. </p>
<p>ASMX provides the way for interoperability but it does not provide or guarantee end-to-end security or reliable communication.</p>
<p>Reference : <a href="http://msdn.microsoft.com/en-us/library/aa702755.aspx">http://msdn.microsoft.com/en-us/library/aa702755.aspx</a></p>


<!-- No posting client link spam, please. -->


</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fenildesai.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fenildesai.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fenildesai.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fenildesai.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fenildesai.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fenildesai.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fenildesai.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fenildesai.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fenildesai.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fenildesai.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fenildesai.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fenildesai.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fenildesai.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fenildesai.wordpress.com/76/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=76&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fenildesai.wordpress.com/2010/02/03/web-service-vs-wcf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5623ed8377af3a6830ac263a1ace5d3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fenildesai</media:title>
		</media:content>
	</item>
		<item>
		<title>How to check SMTP is working or not.</title>
		<link>http://fenildesai.wordpress.com/2010/02/03/how-to-check-smtp-is-working-or-not/</link>
		<comments>http://fenildesai.wordpress.com/2010/02/03/how-to-check-smtp-is-working-or-not/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 05:37:20 +0000</pubDate>
		<dc:creator>fenildesai</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fenildesai.wordpress.com/2010/02/03/how-to-check-smtp-is-working-or-not/</guid>
		<description><![CDATA[For testing SMTP server functionality, we have to follow some steps to identify that whether SMTP configured or not. Below are the steps we need to follow to check SMTP server functionality. We are using the command prompt telnet to test the server. 1. open command prompt and type :telnet &#60;servername&#62; 25Note: 25 is the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=75&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>For testing SMTP server functionality, we have to follow some steps to identify that whether SMTP configured or not. Below are the steps we need to follow to check SMTP server functionality. We are using the command prompt telnet to test the server.
<p />1. open command prompt and type :<br /><span style="color:rgb(0,0,153);">telnet &lt;servername&gt; 25</span><br />Note: 25 is the port used by SMTP and &lt;servername&gt; is the SMTP server name.<br /> After you hit enter you will get some output like<br /><span style="color:rgb(0,0,153);">220 &lt;servername&gt; Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at</span><br /><span style="color:rgb(0,0,153);">Tue, 22 Jan 2008 09:10:27 -0600</span><br /> It means you got response from the SMTP server and it&#39;s the clue that SMTP is setup on the server.
<p />2. For testing response say helo to it.<br />Type :<br /><span style="color:rgb(0,0,153);">helo &lt;servername&gt;</span><br /> output:<br /><span style="color:rgb(0,0,153);">250 &lt;servername&gt; Hello [IP Adress]</span>
<p />3. Now we need to enter the From address of the mail.<br />Type :<br /><span style="color:rgb(0,0,153);">mail from: <a href="mailto:admin@domain.com">admin@domain.com</a></span><br /> output:<br /><span style="color:rgb(0,0,153);">250 2.1.0 <a href="mailto:admin@domain.com">admin@domain.com</a>….Sender OK</span>
<p />4. It&#39;s time to enter the recepient email address.<br />Type : <span style="color:rgb(0,0,153);">rcpt to: <a href="mailto:someID@domain.com">someID@domain.com</a></span><br /> output:<br /><span style="color:rgb(0,0,153);">250 2.1.5 <a href="mailto:someID@domain.com">someID@domain.com</a></span>
<p />5. Now we are left with the data of the email. i.e. subject and body.<br />Type : <span style="color:rgb(0,0,153);">data</span><br /> output:<br /><span style="color:rgb(0,0,153);">354 Start mail input; end with &lt;CRLF&gt;.&lt;CRLF&gt;</span>
<p />6. Type:<br /><span style="color:rgb(0,0,153);">subject:</span> this is a test mail<br />Hi<br />This is test mail body<br /> I am testing SMTP server.
<p />7. Hit Enter, then . and then Enter.<br />output:<br /><span style="color:rgb(0,0,153);">250 2.6.0 &lt;&lt;servername&gt;C8wSA00000006@&lt;servername&gt;&gt; Queued mail for delivery
<p /> </span>8. Type: <span style="color:rgb(0,0,153);">quit</span><br />output:<br /><span style="color:rgb(0,0,153);">221 2.0.0 &lt;servername&gt; Service closing transmission channel</span>
<p />If you did everything as explained, you will get a mail soon.


<!-- No posting client link spam, please. -->


</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fenildesai.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fenildesai.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fenildesai.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fenildesai.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fenildesai.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fenildesai.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fenildesai.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fenildesai.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fenildesai.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fenildesai.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fenildesai.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fenildesai.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fenildesai.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fenildesai.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=75&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fenildesai.wordpress.com/2010/02/03/how-to-check-smtp-is-working-or-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5623ed8377af3a6830ac263a1ace5d3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fenildesai</media:title>
		</media:content>
	</item>
		<item>
		<title>Must Have ASP.NET AJAX Question Set</title>
		<link>http://fenildesai.wordpress.com/2010/02/02/must-have-asp-net-ajax-question-set/</link>
		<comments>http://fenildesai.wordpress.com/2010/02/02/must-have-asp-net-ajax-question-set/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 08:56:45 +0000</pubDate>
		<dc:creator>fenildesai</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fenildesai.wordpress.com/2010/02/02/must-have-asp-net-ajax-question-set/</guid>
		<description><![CDATA[AJAX AJAX stands for Asynchronous Javascript &#38; XML. It’s a web technology which works on partial postback. Instead of a complete postback, a partial postback is triggered by the Javascript’s XmlHttpRequest object. AJAX- Is the ASP.NET AJAX Control Toolkit(AjaxControlToolkit.dll) installed in the Global Assembly Cache? No. You must copy the AjaxControlToolkit.dll assembly to the /Bin [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=74&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>
<table class="MsoNormalTable" border="1" style="border:medium none;border-collapse:collapse;">
<tr>
<td valign="top" style="padding:0 5.4pt;">
<p class="MsoNoSpacing"><b><span>AJAX</span></b></p>
<p class="MsoNoSpacing"><b><span>AJAX </span></b><span>stands for Asynchronous Javascript &amp; XML. </span></p>
<p class="MsoNoSpacing"><b><span>It’s a web technology which works on partial postback. Instead of a complete postback, </span></b></p>
<p class="MsoNoSpacing"><b><span>a partial postback is triggered by the Javascript’s XmlHttpRequest object.</span></b></p>
</td>
</tr>
<tr>
<td valign="top">
<p class="MsoNoSpacing"><b><span>AJAX- Is the <a href="http://ASP.NET">ASP.NET</a> AJAX Control Toolkit(AjaxControlToolkit.dll) installed in the Global Assembly Cache?</span></b></p>
<p class="MsoNoSpacing"><span>No. You must copy the AjaxControlToolkit.dll assembly to the /Bin folder in your application.</span></p>
<p class="MsoNoSpacing"><span> Those were some frequently asked questions you should have knowledge about.</span></p>
<p class="MsoNoSpacing"><b><span> </span></b></p>
<p class="MsoNoSpacing"><b><span>UpdatePanel </span></b><span>It can be used to update content in a page by using Partial-page rendering. By using Partial-page rendering, you can refresh only a selected part of the page instead of refreshing the whole page with a PostBack.</span></p>
<p class="MsoNoSpacing"><span> </span></p>
<p class="MsoNoSpacing"><b><span>AJAX- What are the requirements to run <a href="http://ASP.NET">ASP.NET</a> AJAX applications on a server?</span></b></p>
<p class="MsoNoSpacing"><span>You would need to install ‘<a href="http://ASP.NET">ASP.NET</a> AJAX Extensions’ on your server. If you are using the <a href="http://ASP.NET">ASP.NET</a> AJAX Control toolkit, then you would also need to add the AjaxControlToolkit.dll in the /Bin folder.</span></p>
<p class="MsoNoSpacing"><b><span>Note: </span></b><span><a href="http://ASP.NET">ASP.NET</a> <b>AJAX 1.0</b> was available as a separate downloadable add-on for <a href="http://ASP.NET">ASP.NET</a> 2.0. With <b><a href="http://ASP.NET">ASP.NET</a> 3.5</b>, the AJAX extensions have been integrated into <a href="http://ASP.NET">ASP.NET</a>.</span></p>
<p class="MsoNoSpacing"><span> </span></p>
<p class="MsoNoSpacing"><b><span>AJAX- Which is the current version of <a href="http://ASP.NET">ASP.NET</a> AJAX Control Toolkit?</span></b></p>
<p class="MsoNoSpacing"><span>As of this writing, the toolkit version is </span></p>
<p class="MsoNoSpacing"><b><span>Version 1.0.20229 -</span></b><span> (if you are targeting Framework 2.0, <a href="http://ASP.NET">ASP.NET</a> AJAX 1.0 and VS- 2005) and </span></p>
<p class="MsoNoSpacing"><b><span>Version 3.0.20229</span></b><span> (if targeting .NET Framework 3.5 and Visual Studio 2008).</span></p>
<p class="MsoNoSpacing"><b><span>AJAX Extensions</span></b></p>
<p class="MsoNoSpacing"><span style="font-family:Symbol;"><span>·<span style="font-family:Times New Roman;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><span>ScriptManager</span></p>
<p class="MsoNoSpacing"><span style="font-family:Symbol;"><span>·<span style="font-family:Times New Roman;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><span>ScriptManagerProxy</span></p>
<p class="MsoNoSpacing"><span style="font-family:Symbol;"><span>·<span style="font-family:Times New Roman;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><span>UpdatePanel</span></p>
<p class="MsoNoSpacing"><span style="font-family:Symbol;"><span>·<span style="font-family:Times New Roman;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><span>UpdateProgress</span></p>
<p class="MsoNoSpacing"><span style="font-family:Symbol;"><span>·<span style="font-family:Times New Roman;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><span>Timer</span></p>
<p class="MsoNoSpacing"><b><span>AJAX Toolkit</span></b></p>
<p class="MsoNoSpacing"><span style="font-family:Symbol;"><span>·<span style="font-family:Times New Roman;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><span>Accordion</span></p>
<p class="MsoNoSpacing"><span style="font-family:Symbol;"><span>·<span style="font-family:Times New Roman;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><span>Accordion Pane</span></p>
<p class="MsoNoSpacing"><span style="font-family:Symbol;"><span>·<span style="font-family:Times New Roman;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><span>AutoCompleteExtender</span></p>
<p class="MsoNoSpacing"><span style="font-family:Symbol;"><span>·<span style="font-family:Times New Roman;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><span>CalenderExtender</span></p>
<p class="MsoNoSpacing"><span style="font-family:Symbol;"><span>·<span style="font-family:Times New Roman;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><span>DragPanelExtender</span></p>
<p class="MsoNoSpacing"><span style="font-family:Symbol;"><span>·<span style="font-family:Times New Roman;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><span>ConfirmButtonExtender</span></p>
<p class="MsoNoSpacing"><span style="font-family:Symbol;"><span>·<span style="font-family:Times New Roman;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><span>ModalPopupExtender</span></p>
<p class="MsoNoSpacing"><span style="font-family:Symbol;"><span>·<span style="font-family:Times New Roman;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><span>NumerixUpDownExtender</span></p>
<p class="MsoNoSpacing"><span style="font-family:Symbol;"><span>·<span style="font-family:Times New Roman;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><span>PasswordStrength</span></p>
<p class="MsoNoSpacing"><span style="font-family:Symbol;"><span>·<span style="font-family:Times New Roman;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><span>TextBoxWateMarkExtender</span></p>
<p class="MsoNoSpacing"><span style="font-family:Symbol;"><span>·<span style="font-family:Times New Roman;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">         </span></span></span><span>ValidatorCalloutExtender etc<b></b></span></p>
</td>
</tr>
<tr>
<td valign="top">
<p class="MsoNoSpacing"><b><span>AJAX Q-A</span></b></p>
<p class="MsoNoSpacing"><b><span>Q1 &#8211; What is AJAX? </span></b></p>
<p class="MsoNoSpacing"><b><span>A &#8211; <span>Ajax</span> stands for Asynchronous Javascript &amp; XML. It is a web technology through which a postback from a client (browser) to the server goes partially, which means that instead of a complete postback, a partial postback is triggered by the Javascript XmlHttpRequest object.</span></b><span> In such a scenario, web-application users won&#39;t be able to view the complete postback progress bar shown by the browser. In an AJAX environment, it is Javascript that starts the communication with the web server. <br /> Ajax technology in a website may be implemented by using plain Javascript and XML. Code in such a scenario may tend to look little complex, for which the AJAX Framework in .NET can be embedded in <a href="http://ASP.NET">ASP.NET</a> web applications. <br /> In addition to XML &amp; Javascript, AJAX is also based on DOM &#8211; the Document Object Model technology of browsers through which objects of the browser can be accessed through the memory heap using their address. <br /> <b>JSON</b> &#8211; Javascript Object Notation is also one of the formats used in AJAX, besides XML. <br /> So basically, in an AJAX-based web application, the complete page does not need to reload, and only the objects in context of ajaxification are reloaded. <br /> Ajax technology avoids the browser flickering. </span></p>
<p class="MsoNoSpacing"><span> </span></p>
<p class="MsoNoSpacing"><b><span>Q2 &#8211; Can Ajax be implemented in browsers that do not support the XmlHttpRequest object? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; Yes. This is possible using remote scripts. </span></p>
<p class="MsoNoSpacing"><b><span>Q3 &#8211; Can AJAX technology work on web servers other than IIS? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; Yes, AJAX is a technology independent of web server the web application is hosted on. Ajax is a client (browser) technology. </span></p>
<p class="MsoNoSpacing"><b><span>Q4 &#8211; Which browsers support the XmlHttpRequest object? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; Internet Explorer 5.0+, Safari 1.2, Mozilla 1.0/Firefox, Opera 8.0 +, Netscape 7 </span></p>
<p class="MsoNoSpacing"><span> </span></p>
<p class="MsoNoSpacing"><b><span>Q5 &#8211; How to we create an XmlHttpRequest object for Internet Explorer? How is this different for other browsers? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; For Internet Explorer, an ActiveXObject is used for declaring an XmlHttpRequest object in Javascript. </span></p>
<p class="MsoNoSpacing"><span>//Code as below for IE:
<p />  xmlHttpObject = new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
<p />  //For Other browsers, code as below:
<p />  xmlHttpObject = new XMLHttpRequest();</span></p>
<p class="MsoNoSpacing"><span>Note that XmlHttpObject used above is simply a variable that holds the XmlHttpRequest object for the respective browsers. </span></p>
<p class="MsoNoSpacing"><span> </span></p>
<p class="MsoNoSpacing"><b><span>Q6 &#8211; What are the properties of the XmlHttpRequest object? What are the different types of readyStates in Ajax? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; i) onreadyStateChange &#8211; This function is used to process the reply from the web server.
<p />  ii) readyState &#8211; This property holds the response status of the web server. There are 5 states:
<p />  0 &#8211; request not yet initialized<br /> 1 &#8211; request now set<br /> 2 &#8211; request sent <br /> 3 &#8211; request processing<br /> 4 &#8211; request completes<br /> iii) responseText &#8211; Has the data sent back by the web server
<p />  </span></p>
<p class="MsoNoSpacing"><span>Code snippet below shows an example how these there properties are used to implement ajax : </span></p>
<p class="MsoNoSpacing"><span>xmlHttpObject.onreadystatechange=function()<br /> {<br /> if(xmlHttpObject.readyState==4)<br /> {<br /> document.Form1.time.value=xmlHttpObject.responseText;<br /> }<br /> }</span></p>
<p class="MsoNoSpacing"><b><span>Q7 &#8211; What is the <a href="http://ASP.NET">ASP.NET</a> Ajax Framework? What versions have been released so far? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; <a href="http://ASP.NET">ASP.NET</a> AJAX is a free framework to implement Ajax in <a href="http://asp.net">asp.net</a> web applications, for quickly creating efficient and interactive Web applications that work across all popular browsers.
<p />  The Ajax Framework is powered with
<p />  1 &#8211; Reusable Ajax Controls<br /> 2 &#8211; Support for all modern browsers<br /> 3 &#8211; Access remote services and data from the browser without tons of complicated script.
<p />  <b>Versions of Ajax release</b>
<p />  <b>1 &#8211; <a href="http://ASP.NET">ASP.NET</a> Ajax Framework 1.0</b> (earlier release to this was called the Atlas)<br /> <b>2 &#8211; <a href="http://ASP.NET">ASP.NET</a> Ajax Framework 1.0</b> was available as a separate download for <a href="http://ASP.NET">ASP.NET</a> 2.0 </span></p>
<p class="MsoNoSpacing"><b><span> </span></b></p>
<p class="MsoNoSpacing"><b><span> Q8 &#8211; What are Ajax Extensions? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; The <a href="http://ASP.NET">ASP.NET</a> Ajax Extensions are set of Ajax-based controls that work in <a href="http://ASP.NET">ASP.NET</a> 2 (or above) web based applications.
<p />  Ofcourse, they also need the Ajax runtime which is actually the Ajax Framework 1.0.
<p />  <a href="http://ASP.NET">ASP.NET</a> Ajax Extensions 1.0 have to be downloaded to run with <a href="http://ASP.NET">ASP.NET</a> 2.0
<p />  The new <a href="http://ASP.NET">ASP.NET</a> 3.5 Framework comes with the Ajax Library 3.5 (containing the Ajax Extensions 3.5). So in order to use the latest Ajax, simply download .NET 3.5 Framework.
<p />  <b>Summary :</b><br /> <a href="http://ASP.NET">ASP.NET</a> Ajax Extensions 1.0 -&gt; For <a href="http://ASP.NET">ASP.NET</a> 2.0<br /> <a href="http://ASP.NET">ASP.NET</a> Ajax Extensions 3.5 -&gt; For <a href="http://ASP.NET">ASP.NET</a> 3.5</span></p>
<p class="MsoNoSpacing"><b><span>Q9 &#8211; What is the <a href="http://ASP.NET">ASP.NET</a> Control Toolkit? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; Besides the Ajax Framework (which is the Ajax engine) and Ajax Extensions (which contain the default Ajax controls), there is a toolkit called the Ajax Control Toolkit available for use &amp; download (for free). This is a collection of rich featured, highly interactive controls, created as a joint venture between Microsoft &amp; the Developer Community. </span></p>
<p class="MsoNoSpacing"><b><span>Q10 &#8211; What is Dojo? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; Dojo is a third-party javascript toolkit for creating rich featured applications. Dojo is an Open Source DHTML toolkit written in JavaScript. It builds on several contributed code bases (nWidgets, Burstlib, f(m)), which is why we refer to it sometimes as a &quot;unified&quot; toolkit. Dojo aims to solve some long-standing historical problems with DHTML which prevented mass adoption of dynamic web application development. <br /> For more on Dojo, check this link: <a href="http://dojotoolkit.org/about" target="_blank">Click Here</a></span></p>
<p class="MsoNoSpacing"><b><span>Q11 &#8211; How to handle multiple or concurrent requests in Ajax? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; For concurrent requests, declare separate XmlHttpRequest objects for each request. For example, for request to get data from an SQL table1, use something like this&#8230; </span></p>
<p class="MsoNoSpacing"><span>xmlHttpObject1.Onreadystatechange = functionfromTable1(); </span></p>
<p class="MsoNoSpacing"><span>and to get data from another table (say table2) at the same time, use </span></p>
<p class="MsoNoSpacing"><span>xmlHttpObject2.Onreadystatechange = functionfromTable2(); </span></p>
<p class="MsoNoSpacing"><span>Ofcourse, the XmlHttpObject needs to be opened &amp; parameters passed too, like as shown below&#8230; </span></p>
<p class="MsoNoSpacing"><span>xmlHTTPObject1.open(&quot;GET&quot;,&quot;http://&quot;localhost// &quot; + &quot;Website1/Default1.aspx&quot; true); </span></p>
<p class="MsoNoSpacing"><span>Note that the last parameter &quot;true&quot; used above means that processing shall carry on without waiting for any response from the web server. If it is false, the function shall wait for a response. </span></p>
<p class="MsoNoSpacing"><b><span>Q12 &#8211; How to create an AJAX website using Visual Studio? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; Using Visual Studio Web Developer Express 2005 &amp; versions above it, Ajax based applications may easily be created. Note that the Ajax Framework &amp; Ajax Extensions should be installed (In case of VS 2005). If using Visual Studio 2008 Web Developer Express or above, Ajax comes along with it (so no need of a separate installation).
<p />  <b>Steps:</b> Start Visual Studio, Click on File -&gt; New Website -&gt; Under Visual Studio Installed templates -&gt; Select <a href="http://ASP.NET">ASP.NET</a> Ajax-Enabled Site. Enter a location &amp; select OK. </span></p>
<p class="MsoNoSpacing"><b><span>Q13 &#8211; What is the role of ScriptManager in Ajax? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; ScriptManager class is the heart of <a href="http://ASP.NET">ASP.NET</a> Ajax. Note that ScriptManager is class and a control (both) in Ajax.
<p />  The ScriptManager class in <a href="http://ASP.NET">ASP.NET</a> manages Ajax Script Libraries, partial page rendering functionality and client proxy class generation for web applications and services. By saying client proxy class, this means an instance of the Ajax runtime is created on the browser.
<p />  This class is defined in the System.Web.Extensions.dll. You will find this DLL in your system&#39;s Global Assembly Cache at C:\Windows\Assembly (For XP)
<p />  The ScriptManager control (that we may drag on a web form) is actually an instance of the ScriptManager class that we put on a web page. The ScriptManager manages all the <a href="http://ASP.NET">ASP.NET</a> Ajax controls on a web page. Following tasks are taken care by the ScriptManager class:<br /> 1 &#8211; Managing all resources (all objects/controls) on a web page<br /> 2 &#8211; Managing partial page updates<br /> 3 &#8211; Download Ajax Script Library to the client (means to the browser). This needs to happen so that Ajax engine is accessible to the browsers javascript code.<br /> 4 &#8211; Interacting with UpdatePanel Control, UpdateProgress Control. <br /> 5 &#8211; Register script (using RegisterClientScriptBlock)<br /> 6 &#8211; Information whether Release OR Debug script is sent to the browser<br /> 7 &#8211; Providing access to Web service methods from the script by registering Web services with the ScriptManager control <br /> 8 &#8211; Providing access to <a href="http://ASP.NET">ASP.NET</a> authentication, role, and profile application services from client script after registering these services with the ScriptManager control <br /> 9 &#8211; Enable culture specific display of clientside script.<br /> 10 &#8211; Register server controls that implement IExtenderControl and IScriptControl interfaces.<br /> ScriptManager class&#39; <b>EnablePartialRendering</b> property is true by default. </span></p>
<p class="MsoNoSpacing"><span> </span></p>
<p class="MsoNoSpacing"><b><span>Q14 &#8211; Can we override the EnablePartialRendering property of the ScriptManager class? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; Yes. But this has to be done before the init event of the page (or during runtime after the page has already loaded). Otherwise an InvalidOperationException will be thrown. </span></p>
<p class="MsoNoSpacing"><span> </span></p>
<p class="MsoNoSpacing"><b><span>Q15 &#8211; How to use multiple ScriptManager controls in a web page? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; No. It is not possible to use multiple ScriptManager control in a web page. In fact, any such requirement never comes in because a single ScriptManager control is enough to handle the objects of a web page. </span></p>
<p class="MsoNoSpacing"><span> </span></p>
<p class="MsoNoSpacing"><b><span>Q16 &#8211; Whats the difference between RegisterClientScriptBlock, RegisterClientScriptInclude and RegisterClientScriptResource? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; For all three, a script element is rendered after the opening form tag. Following are the differences:<br /> <b>1 &#8211; RegisterClientScriptBlock -</b> The script is specified as a string parameter.<br /> <b>2 &#8211; RegisterClientScriptInclude -</b> The script content is specified by setting the src attribute to a URL that points to a script file.<br /> <b>3 &#8211; RegisterClientScriptResource -</b> The script content is specified with a resource name in an assembly. The src attribute is automatically populated with a URL by a call to an HTTP handler that retrieves the named script from the assembly. </span></p>
<p class="MsoNoSpacing"><span>Q17 &#8211; What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name? </span></p>
<p class="MsoNoSpacing"><span>A &#8211; When a script is registered by the ScriptManager class, a type/key pair is created to uniquely identify the script.
<p />  For identification purposes, the type/key pair name is always unique for dentifying a script. Hence, there may be no duplication in type/key pair names. </span></p>
<p class="MsoNoSpacing"><span> </span></p>
<p class="MsoNoSpacing"><b><span>Q18 &#8211; What is an UpdatePanel Control? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; <b>An UpdatePanel control is a holder for server side controls that need to be partial postbacked in an ajax cycle</b>. All controls residing inside the UpdatePanel will be partial postbacked. Below is a small example of using an UpdatePanel. </span></p>
<p class="MsoNoSpacing"><span>&lt;script runat=&quot;server&quot;&gt; <br /> protected void btn1_Click(object sender, EventArgs e)<br /> {<br />  lb123.Text = &quot;new&quot;;<br /> }<br /> &lt;/script&gt;</span></p>
<p class="MsoNoSpacing"><span><br /> &lt;asp:ScriptManager ID=&quot;ScriptManager1&quot; runat=&quot;server&quot;&gt;<br />   &lt;/asp:ScriptManager&gt;<br /> &lt;asp:UpdatePanel ID=&quot;UpdatePanel1&quot; runat=&quot;server&quot;&gt;<br />   &lt;ContentTemplate&gt;<br />  &lt;asp:Button id=&quot;btn1&quot; runat=&quot;server&quot; text=&quot;click&quot;/&gt;<br /> &lt;br/&gt;<br />  &lt;asp:Label id=&quot;lb123&quot; runat=&quot;server&quot; text=&quot;Old&quot;/&gt;<br /> &lt;/ContentTemplate&gt;<br /> &lt;/UpdatePanel&gt;</span></p>
<p class="MsoNoSpacing"><span>As you see here after running the snippet above, there wont be a full postback exhibited by the web page. Upon clicking the button, the postback shall be partial. This means that contents outside the UpdatePanel wont be posted back to the web server. Only the contents within the UpdatePanel are refreshed. </span></p>
<p class="MsoNoSpacing"><span> </span></p>
<p class="MsoNoSpacing"><b><span>Q19 &#8211; What are the modes of updation in an UpdatePanel? What are Triggers of an UpdatePanel? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; An UpdatePanel has a property called <b>UpdateMode</b>. There are two possible values for this property: 1) Always </span></p>
<p class="MsoNoSpacing"><span>2) Conditional
<p />  If the UpdateMode property is set to &quot;Always&quot;, the UpdatePanel control’s content is updated on each postback that starts from anywhere on the webpage. This also includes asynchronous postbacks from controls that are inside other UpdatePanel controls, and postbacks from controls which are not inside UpdatePanel controls.
<p />  If the UpdateMode property is set to Conditional, the UpdatePanel control’s content is updated when one of the following is true: <br /> 1 &#8211; When the postback is caused by a trigger for that UpdatePanel control.<br /> 2 &#8211; When you explicitly call the UpdatePanel control&#39;s Update() method.<br /> 3 &#8211; When the UpdatePanel control is nested inside another UpdatePanel control and the parent panel is updated.
<p />  When the ChildrenAsTriggers property is set to true and any child control of the UpdatePanel control causes a postback. Child controls of nested UpdatePanel controls do not cause an update to the outer UpdatePanel control unless they are explicitly defined as triggers for the parent panel.
<p />  Controls defined inside a &lt;Triggers&gt; node have the capability to update the contents of an UpdatePanel.
<p />  If the ChildrenAsTriggers property is set to false and the UpdateMode property is set to Always, an exception is thrown. The ChildrenAsTriggers property is intended to be used only when the UpdateMode property is set to Conditional. </span></p>
<p class="MsoNoSpacing"><b><span> </span></b></p>
<p class="MsoNoSpacing"><b><span>Q20 &#8211; How to control how long an Ajax request may last? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; Use the ScriptManager&#39;s AsyncPostBackTimeout Property.
<p />  For example, if you want to debug a web page but you get an error that the page request has timed out, you may set &lt;asp:ScriptManager id=&quot;ScriptManager1&quot; runat=&quot;server&quot; AsyncPostBackTimeout=&quot;9000&quot;/&gt;
<p />  where the value specified is in seconds. </span></p>
<p class="MsoNoSpacing"><span> </span></p>
<p class="MsoNoSpacing"><b><span>Q21 &#8211; What is <a href="http://ASP.NET">ASP.NET</a> Futures? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; <a href="http://ASP.NET">ASP.NET</a> AJAX Futures
<p />  The new release includes support for managing browser history (Back button support), selecting elements by CSS selectors or classes, and information on accessing “Astoria” Web data services. The Futures (July 2007) release adds:
<p />  History support for the Safari browser, inclusion of “titles”, encoding and encrypting of server-side history state and the ability to handle history in the client without a server requirement.
<p />  CSS Selectors APIs have been modified to be applicable to W3C recommendations.
<p />  A script resource extraction tool that allows you to create script files on disk that originate from embedded resources in assemblies. Important: this version of the browser history feature is now outdated and should not be used. Instead, please download the <a href="http://ASP.NET">ASP.NET</a> 3.5 Extensions Preview, which contains the new version.
<p />  For More: <a href="http://www.asp.net/downloads/futures%20and%20http:/quickstarts.asp.net/futures/" target="_blank">Click Here</a></span></p>
<p class="MsoNoSpacing"><span> </span></p>
<p class="MsoNoSpacing"><b><span>Q22 &#8211; What are limitations of Ajax? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; 1) An Ajax Web Application tends to confused end users if the network bandwidth is slow, because there is no full postback running. However, this confusion may be eliminated by using an UpdateProgress control in tandem.<br /> 2) Distributed applications running Ajax will need a central mechanism for communicating with each other </span></p>
<p class="MsoNoSpacing"><b><span> </span></b></p>
<p class="MsoNoSpacing"><b><span> Q23 &#8211; How to make sure that contents of an UpdatePanel update only when a partial postback takes place (and not on a full postback)? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; Make use of ScriptManager.IsInAsyncPostBack property (returns a boolean value) </span></p>
<p class="MsoNoSpacing"><span> </span></p>
<p class="MsoNoSpacing"><b><span>Q24 &#8211; How to trigger a postback on an UpdatePanel from Javascript? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; Call the __doPostBack function. <a href="http://ASP.NET">ASP.NET</a> runtime always creates a javascript function named __doPostBack(eventTarget, eventArgument) when the web page is rendered. A control ID may be passed here to specifically invoke updation of the UpdatePanel. </span></p>
<p class="MsoNoSpacing"><span> </span></p>
<p class="MsoNoSpacing"><b><span>Q25 &#8211; Which request is better with AJAX, Get or Post? </span></b></p>
<p class="MsoNoSpacing"><span>A &#8211; AJAX requests should use an HTTP GET request while retrieving data where the data does not change for a given URL requested. An HTTP POST should be used when state is updated on the server. This is in line with HTTP idempotency recommendations and is highly recommended for a consistent web application architecture.<b></b></span></p>
</td>
</tr>
</table>


<!-- No posting client link spam, please. -->


</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fenildesai.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fenildesai.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fenildesai.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fenildesai.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fenildesai.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fenildesai.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fenildesai.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fenildesai.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fenildesai.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fenildesai.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fenildesai.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fenildesai.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fenildesai.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fenildesai.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=74&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fenildesai.wordpress.com/2010/02/02/must-have-asp-net-ajax-question-set/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5623ed8377af3a6830ac263a1ace5d3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fenildesai</media:title>
		</media:content>
	</item>
		<item>
		<title>Convert Data Reader to Data Table</title>
		<link>http://fenildesai.wordpress.com/2010/01/21/convert-data-reader-to-data-table/</link>
		<comments>http://fenildesai.wordpress.com/2010/01/21/convert-data-reader-to-data-table/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 04:24:04 +0000</pubDate>
		<dc:creator>fenildesai</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fenildesai.wordpress.com/2010/01/21/convert-data-reader-to-data-table/</guid>
		<description><![CDATA[The usual workaround for this purpose is loop through the rows in the Data Reader and assign each rows to Data Table, This is a time consuming process. But Dot Net 2.0 and above provides a new DataTable.Load() as a quicker solution. Here is the methodDataTable.Load(IDataReader);<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=73&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>The usual workaround for this purpose is loop through the rows in the Data Reader and assign each rows to Data Table, This is a time consuming process.
<p />But Dot Net 2.0 and above provides a new DataTable.Load() as a quicker solution.
<p />Here is the method<br /><span style="color:rgb(0,102,0);">DataTable.Load(IDataReader);</span>


<!-- No posting client link spam, please. -->


</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fenildesai.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fenildesai.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fenildesai.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fenildesai.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fenildesai.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fenildesai.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fenildesai.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fenildesai.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fenildesai.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fenildesai.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fenildesai.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fenildesai.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fenildesai.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fenildesai.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=73&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fenildesai.wordpress.com/2010/01/21/convert-data-reader-to-data-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5623ed8377af3a6830ac263a1ace5d3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fenildesai</media:title>
		</media:content>
	</item>
		<item>
		<title>Convert data table to data reader</title>
		<link>http://fenildesai.wordpress.com/2010/01/21/convert-data-table-to-data-reader/</link>
		<comments>http://fenildesai.wordpress.com/2010/01/21/convert-data-table-to-data-reader/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 04:19:06 +0000</pubDate>
		<dc:creator>fenildesai</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fenildesai.wordpress.com/2010/01/21/convert-data-table-to-data-reader/</guid>
		<description><![CDATA[In some situations you may need to convert your data table to data reader, suppose you have a Data table named dt and getDataFromDB() is a function that returns a data table, here is the steps to convert data table to data reader. DataTable dt = new DataTable(); dt = getDataFromDB(); DataTableReader dtr; dtr = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=72&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>In some situations you may need to convert your data table to data reader, suppose you have a Data table named dt and getDataFromDB() is a function that returns a data table, here is the steps to convert data table to data reader.
<p /> <span style="color:rgb(51,51,255);"> DataTable dt = new DataTable();</span><br /><span style="color:rgb(51,51,255);"> dt = getDataFromDB();</span><br /><span style="color:rgb(51,51,255);"> DataTableReader dtr;</span><br /> <span style="color:rgb(51,51,255);"> dtr = dt.CreateDataReader();</span><br /><span style="color:rgb(51,51,255);"> while (dtr.Read())</span><br /><span style="color:rgb(51,51,255);"> {</span><br /> <span style="color:rgb(51,51,255);">   <span style="color:rgb(51,102,102);"> //Do your tasks </span></span><span style="color:rgb(51,51,255);"></span><br /><span style="color:rgb(51,51,255);"> }</span>


<!-- No posting client link spam, please. -->


</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fenildesai.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fenildesai.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fenildesai.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fenildesai.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fenildesai.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fenildesai.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fenildesai.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fenildesai.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fenildesai.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fenildesai.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fenildesai.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fenildesai.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fenildesai.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fenildesai.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=72&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fenildesai.wordpress.com/2010/01/21/convert-data-table-to-data-reader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5623ed8377af3a6830ac263a1ace5d3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fenildesai</media:title>
		</media:content>
	</item>
		<item>
		<title>30 Common String Operations in C# and VB.NET</title>
		<link>http://fenildesai.wordpress.com/2010/01/19/30-common-string-operations-in-c-and-vb-net/</link>
		<comments>http://fenildesai.wordpress.com/2010/01/19/30-common-string-operations-in-c-and-vb-net/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 11:11:58 +0000</pubDate>
		<dc:creator>fenildesai</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fenildesai.wordpress.com/2010/01/19/30-common-string-operations-in-c-and-vb-net/</guid>
		<description><![CDATA[In this article, I have compiled some common String operations that we encounter while working with the String class. All the samples are based on two pre-declared string variables: strOriginal and strModified. C#     string strOriginal = &#34;These functions will come handy&#34;;     string strModified = String.Empty; VB.NET     Dim strOriginal As String = &#34;These [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=71&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>
<p style="line-height:normal;"><b><span style="font-size:18pt;font-family:Cambria,serif;color:rgb(54,95,145);"><br /></span></b><span style="font-size:10pt;font-family:Verdana,sans-serif;">In this article, I have compiled some common String operations that we encounter while working with the String class. All the samples are based on two pre-declared string variables: strOriginal and strModified.</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;">C#</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">string</span> strOriginal = <span style="color:rgb(163,21,21);">&quot;These functions will come handy&quot;</span>;</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">string</span> strModified = <span style="color:rgb(43,145,175);">String</span>.Empty;</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;"><a href="http://VB.NET">VB.NET</a></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">Dim</span> strOriginal <span style="color:blue;">As</span> <span style="color:blue;">String</span> = &quot;These functions will come handy&quot;</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">Dim</span> strModified <span style="color:blue;">As</span> <span style="color:blue;">String</span> = <span style="color:blue;">String</span>.Empty</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><b><span style="font-size:10pt;font-family:Verdana,sans-serif;">1. Iterate a String</span></b><span style="font-size:10pt;font-family:Verdana,sans-serif;"> – You can use the ‘for’ loop or ‘foreach’ loop to iterate through a string. The ‘for’ loop gives you more flexibility over the iteration.</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;">C#</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">for</span> (<span style="color:blue;">int</span> i = 0; i &lt; strOriginal.Length; i++)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    {</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">        <span style="color:rgb(43,145,175);">MessageBox</span>.Show(strOriginal[i].ToString());</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    }</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="text-indent:.5in;line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;">or</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">foreach</span> (<span style="color:blue;">char</span> c <span style="color:blue;">in</span> strOriginal)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    {</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">        <span style="color:rgb(43,145,175);">MessageBox</span>.Show(c.ToString());</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    }</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;"><a href="http://VB.NET">VB.NET</a></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="text-indent:.5in;line-height:normal;"><span style="font-size:10pt;font-family:Courier New;color:blue;">For</span><span style="font-size:10pt;font-family:Courier New;"> i <span style="color:blue;">As</span> <span style="color:blue;">Integer</span> = 0 <span style="color:blue;">To</span> strOriginal.Length &#8211; 1</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">            MessageBox.Show(strOriginal(i).ToString())</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:blue;">Next</span> i</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;">Or</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;color:blue;">For</span><span style="font-size:10pt;font-family:Courier New;"> <span style="color:blue;">Each</span> c <span style="color:blue;">As</span> <span style="color:blue;">Char</span> <span style="color:blue;">In</span> strOriginal</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">            MessageBox.Show(c.ToString())</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;color:blue;">Next</span><span style="font-size:10pt;font-family:Courier New;"> c</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><b><span style="font-size:10pt;font-family:Verdana,sans-serif;">2. Split a String –</span></b><span style="font-size:10pt;font-family:Verdana,sans-serif;"> You can split strings using String.Split(). The method takes an array of chars, representing characters to be used as delimiters. In this example, we will be splitting the strOriginal string using ‘space’ as delimiter.</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;">C#</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">char</span>[] delim = {<span style="color:rgb(163,21,21);">&#39; &#39;</span>};</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">string</span>[] strArr = strOriginal.Split(delim);</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">foreach</span> (<span style="color:blue;">string</span> s <span style="color:blue;">in</span> strArr)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    {</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">        <span style="color:rgb(43,145,175);">MessageBox</span>.Show(s);</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    }</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;"><a href="http://VB.NET">VB.NET</a></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:blue;">Dim</span> delim <span style="color:blue;">As</span> <span style="color:blue;">Char</span>() = {&quot; &quot;c}</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:blue;">Dim</span> strArr <span style="color:blue;">As</span> <span style="color:blue;">String</span>() = strOriginal.Split(delim)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:blue;">For</span> <span style="color:blue;">Each</span> s <span style="color:blue;">As</span> <span style="color:blue;">String</span> <span style="color:blue;">In</span> strArr</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">            MessageBox.Show(s)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:blue;">Next</span> s</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><b><span style="font-size:10pt;font-family:Verdana,sans-serif;">3. Extract SubStrings from a String</span></b><span style="font-size:10pt;font-family:Verdana,sans-serif;"> – The String.Substring() retrieves a substring from a string starting from a specified character position. You can also specify the length.</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;">C#</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:green;">// only starting position specified</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    strModified = strOriginal.Substring(25);</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:rgb(43,145,175);">MessageBox</span>.Show(strModified);</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:12pt;font-family:Times New Roman,serif;"> </span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:green;">// starting position and length of string to be extracted specified</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    strModified = strOriginal.Substring(20, 3);</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:rgb(43,145,175);">MessageBox</span>.Show(strModified);</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;"><a href="http://VB.NET">VB.NET</a></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:green;">&#39; only starting position specified</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      strModified = strOriginal.Substring(25)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      MessageBox.Show(strModified)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:12pt;font-family:Times New Roman,serif;"> </span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:green;">&#39; starting position and length of string to be extracted specified</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      strModified = strOriginal.Substring(20, 3)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      MessageBox.Show(strModified)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><b><span style="font-size:10pt;font-family:Verdana,sans-serif;">4. Create a String array</span></b><span style="font-size:10pt;font-family:Verdana,sans-serif;"> – There are different ways to create a Single Dimensional and Multi Dimensional String arrays. Let us explore some of them:</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;">C#</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    </span><b><span style="font-family:Courier New;color:green;">// Single Dimensional String Array</span></b><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><b><span style="font-size:12pt;font-family:Times New Roman,serif;"> </span></b><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">string</span>[] strArr = <span style="color:blue;">new</span> <span style="color:blue;">string</span>[3] { <span style="color:rgb(163,21,21);">&quot;string 1&quot;</span>, <span style="color:rgb(163,21,21);">&quot;string 2&quot;</span>, <span style="color:rgb(163,21,21);">&quot;string 3&quot;</span>};</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:green;">// Omit Size of Array</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">string</span>[] strArr1 = <span style="color:blue;">new</span> <span style="color:blue;">string</span>[] { <span style="color:rgb(163,21,21);">&quot;string 1&quot;</span>, <span style="color:rgb(163,21,21);">&quot;string 2&quot;</span>, <span style="color:rgb(163,21,21);">&quot;string 3&quot;</span> };</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:green;">// Omit new keyword</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">string</span>[] strArr2 = {<span style="color:rgb(163,21,21);">&quot;string 1&quot;</span>, <span style="color:rgb(163,21,21);">&quot;string 2&quot;</span>, <span style="color:rgb(163,21,21);">&quot;string 3&quot;</span>};</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:12pt;font-family:Times New Roman,serif;"> </span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    </span><b><span style="font-family:Courier New;color:green;">// Multi Dimensional String Array</span></b><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><b><span style="font-size:12pt;font-family:Times New Roman,serif;"> </span></b><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">string</span>[,] strArr3 = <span style="color:blue;">new</span> <span style="color:blue;">string</span>[2, 2] { { <span style="color:rgb(163,21,21);">&quot;string 1&quot;</span>, <span style="color:rgb(163,21,21);">&quot;string 2&quot;</span> }, { <span style="color:rgb(163,21,21);">&quot;string 3&quot;</span>, <span style="color:rgb(163,21,21);">&quot;string 4&quot;</span> } };</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:green;">// Omit Size of Array</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">string</span>[,] strArr4 = <span style="color:blue;">new</span> <span style="color:blue;">string</span>[,] { { <span style="color:rgb(163,21,21);">&quot;string 1&quot;</span>, <span style="color:rgb(163,21,21);">&quot;string 2&quot;</span> }, { <span style="color:rgb(163,21,21);">&quot;string 3&quot;</span>, <span style="color:rgb(163,21,21);">&quot;string 4&quot;</span> } };</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:green;">// Omit new keyword</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">string</span>[,] strArr5 = { { <span style="color:rgb(163,21,21);">&quot;string 1&quot;</span>, <span style="color:rgb(163,21,21);">&quot;string 2&quot;</span> }, { <span style="color:rgb(163,21,21);">&quot;string 3&quot;</span>, <span style="color:rgb(163,21,21);">&quot;string 4&quot;</span> } };</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:12pt;font-family:Times New Roman,serif;"> </span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;"><a href="http://VB.NET">VB.NET</a></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-family:Courier New;">     <span style="color:green;">&#39; Single Dimensional String Array</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:12pt;font-family:Times New Roman,serif;"> </span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:blue;">Dim</span> strArr <span style="color:blue;">As</span> <span style="color:blue;">String</span>() = <span style="color:blue;">New</span> <span style="color:blue;">String</span>(2) { &quot;string 1&quot;, &quot;string 2&quot;, &quot;string 3&quot;}</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:green;">&#39; Omit Size of Array</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:blue;">Dim</span> strArr1 <span style="color:blue;">As</span> <span style="color:blue;">String</span>() = <span style="color:blue;">New</span> <span style="color:blue;">String</span>() { &quot;string 1&quot;, &quot;string 2&quot;, &quot;string 3&quot; }</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:green;">&#39; Omit new keyword</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:blue;">Dim</span> strArr2 <span style="color:blue;">As</span> <span style="color:blue;">String</span>() = {&quot;string 1&quot;, &quot;string 2&quot;, &quot;string 3&quot;}</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:12pt;font-family:Times New Roman,serif;"> </span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      </span><span style="font-family:Courier New;color:green;">&#39; Multi Dimensional String Array</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:12pt;font-family:Times New Roman,serif;"> </span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:blue;">Dim</span> strArr3 <span style="color:blue;">As</span> <span style="color:blue;">String</span>(,) = <span style="color:blue;">New</span> <span style="color:blue;">String</span>(1, 1) { { &quot;string 1&quot;, &quot;string 2&quot; }, { &quot;string 3&quot;, &quot;string 4&quot; } }</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:green;">&#39; Omit Size of Array</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:blue;">Dim</span> strArr4 <span style="color:blue;">As</span> <span style="color:blue;">String</span>(,) = <span style="color:blue;">New</span> <span style="color:blue;">String</span>(, ) { { &quot;string 1&quot;, &quot;string 2&quot; }, { &quot;string 3&quot;, &quot;string 4&quot; } }</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:green;">&#39; Omit new keyword</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:blue;">Dim</span> strArr5 <span style="color:blue;">As</span> <span style="color:blue;">String</span>(,) = { { &quot;string 1&quot;, &quot;string 2&quot; }, { &quot;string 3&quot;, &quot;string 4&quot; } }</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:12pt;font-family:Times New Roman,serif;"> </span></p>
<p style="line-height:normal;"><b><span style="font-size:10pt;font-family:Verdana,sans-serif;">5. Reverse a String</span></b><span style="font-size:10pt;font-family:Verdana,sans-serif;"> – One of the simplest ways to reverse a string is to use the StrReverse() function. To use it in C#, you need to add a reference to the Microsoft.VisualBasic dll.</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;">C#</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">string</span> strModified = Microsoft.VisualBasic.<span style="color:rgb(43,145,175);">Strings</span>.StrReverse(strOriginal);</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:rgb(43,145,175);">MessageBox</span>.Show(strModified); </span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;"><a href="http://VB.NET">VB.NET</a></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    Dim strModified As String = StrReverse(strOriginal)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      MsgBox(strModified)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><b><span style="font-size:10pt;font-family:Verdana,sans-serif;">6. Compare Two Strings</span></b><span style="font-size:10pt;font-family:Verdana,sans-serif;"> – You can use the String.Compare() to compare two strings. The third parameter is a Boolean parameter that determines if the search is case sensitive(false) or not(true).</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;">C#</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">if</span> ((<span style="color:blue;">string</span>.Compare(strOriginal, strModified, <span style="color:blue;">false</span>)) &lt; 0)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    {</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">        <span style="color:rgb(43,145,175);">MessageBox</span>.Show(<span style="color:rgb(163,21,21);">&quot;strOriginal is less than strOriginal1&quot;</span>);</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    }</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">else</span> <span style="color:blue;">if</span> ((<span style="color:blue;">string</span>.Compare(strOriginal, strModified, <span style="color:blue;">false</span>)) &gt; 0)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    {</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">        <span style="color:rgb(43,145,175);">MessageBox</span>.Show(<span style="color:rgb(163,21,21);">&quot;strOriginal is more than strOriginal1&quot;</span>);</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    }</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:blue;">else</span> <span style="color:blue;">if</span> ((<span style="color:blue;">string</span>.Compare(strOriginal, strModified, <span style="color:blue;">false</span>)) == 0)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    {</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">        <span style="color:rgb(43,145,175);">MessageBox</span>.Show(<span style="color:rgb(163,21,21);">&quot;Both strings are equal&quot;</span>);</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    }</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;"><a href="http://VB.NET">VB.NET</a></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:blue;">If</span> (<span style="color:blue;">String</span>.Compare(strOriginal, strModified, <span style="color:blue;">False</span>)) &lt; 0 <span style="color:blue;">Then</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">            MessageBox.Show(&quot;strOriginal is less than strOriginal1&quot;)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:blue;">ElseIf</span> (<span style="color:blue;">String</span>.Compare(strOriginal, strModified, <span style="color:blue;">False</span>)) &gt; 0 <span style="color:blue;">Then</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">            MessageBox.Show(&quot;strOriginal is more than strOriginal1&quot;)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:blue;">ElseIf</span> (<span style="color:blue;">String</span>.Compare(strOriginal, strModified, <span style="color:blue;">False</span>)) = 0 <span style="color:blue;">Then</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">            MessageBox.Show(&quot;Both strings are equal&quot;)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:blue;">End</span> <span style="color:blue;">If</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><b><span style="font-size:10pt;font-family:Verdana,sans-serif;">7. Convert a String to Byte[] (Byte Array)</span></b><span style="font-size:10pt;font-family:Verdana,sans-serif;"> – The Encoding.GetBytes() encodes all the characters into a sequence of bytes. The method contains six overloads out of which we will be using the Encoding.GetBytes(String).</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;">C#</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;color:blue;">byte</span><span style="font-size:10pt;font-family:Courier New;">[] b = <span style="color:rgb(43,145,175);">Encoding</span>.Unicode.GetBytes(strOriginal);</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;"><a href="http://VB.NET">VB.NET</a></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;color:blue;">Dim</span><span style="font-size:10pt;font-family:Courier New;"> b <span style="color:blue;">As</span> <span style="color:blue;">Byte</span>() = Encoding.Unicode.GetBytes(strOriginal)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><b><span style="font-size:10pt;font-family:Verdana,sans-serif;">Note:</span></b><span style="font-size:10pt;font-family:Verdana,sans-serif;"> You can adopt different character encoding schemes (ASCII, Unicode etc.) based on your requirement.</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><b><span style="font-size:10pt;font-family:Verdana,sans-serif;">8. Convert Byte[] to String</span></b><span style="font-size:10pt;font-family:Verdana,sans-serif;"> – The Encoding.GetString() decodes a sequence of bytes into a string.</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;">C#</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    <span style="color:green;">// Assuming you have a Byte Array byte[] b</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">    strModified = <span style="color:rgb(43,145,175);">Encoding</span>.Unicode.GetString(b);</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Verdana,sans-serif;"><a href="http://VB.NET">VB.NET</a></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      <span style="color:green;">&#39; Assuming you have a Byte Array byte[] b</span></span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p style="line-height:normal;"><span style="font-size:10pt;font-family:Courier New;">      strModified = Encoding.Unicode.GetString(b)</span><span style="font-size:12pt;font-family:Times New Roman,serif;"></span></p>
<p> pppp
<p class="MsoNormal">line</p>


<!-- No posting client link spam, please. -->


</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fenildesai.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fenildesai.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fenildesai.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fenildesai.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fenildesai.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fenildesai.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fenildesai.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fenildesai.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fenildesai.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fenildesai.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fenildesai.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fenildesai.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fenildesai.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fenildesai.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fenildesai.wordpress.com&amp;blog=3096502&amp;post=71&amp;subd=fenildesai&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fenildesai.wordpress.com/2010/01/19/30-common-string-operations-in-c-and-vb-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5623ed8377af3a6830ac263a1ace5d3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fenildesai</media:title>
		</media:content>
	</item>
	</channel>
</rss>
