<?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>DotNet's Lover</title>
	<atom:link href="http://lovewithdotnet.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://lovewithdotnet.wordpress.com</link>
	<description>I have no special talents. I am only passionately curious.</description>
	<lastBuildDate>Tue, 19 Jan 2010 03:46:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='lovewithdotnet.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>DotNet's Lover</title>
		<link>http://lovewithdotnet.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://lovewithdotnet.wordpress.com/osd.xml" title="DotNet&#039;s Lover" />
	<atom:link rel='hub' href='http://lovewithdotnet.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Thought of the day</title>
		<link>http://lovewithdotnet.wordpress.com/2010/01/19/thought-of-the-day/</link>
		<comments>http://lovewithdotnet.wordpress.com/2010/01/19/thought-of-the-day/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 03:46:28 +0000</pubDate>
		<dc:creator>lovewithdotnet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lovewithdotnet.wordpress.com/?p=112</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=112&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://lovewithdotnet.files.wordpress.com/2010/01/thought_day.jpg"><img src="http://lovewithdotnet.files.wordpress.com/2010/01/thought_day.jpg?w=450&#038;h=387" alt="" title="thought_day" width="450" height="387" class="aligncenter size-full wp-image-113" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lovewithdotnet.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lovewithdotnet.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lovewithdotnet.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lovewithdotnet.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lovewithdotnet.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lovewithdotnet.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lovewithdotnet.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lovewithdotnet.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lovewithdotnet.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lovewithdotnet.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lovewithdotnet.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lovewithdotnet.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lovewithdotnet.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lovewithdotnet.wordpress.com/112/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=112&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lovewithdotnet.wordpress.com/2010/01/19/thought-of-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fe7f9950f039d070127ef3c642da3d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lovewithdotnet</media:title>
		</media:content>

		<media:content url="http://lovewithdotnet.files.wordpress.com/2010/01/thought_day.jpg" medium="image">
			<media:title type="html">thought_day</media:title>
		</media:content>
	</item>
		<item>
		<title>Passing Value from one page to another page</title>
		<link>http://lovewithdotnet.wordpress.com/2008/11/18/passing-value-from-one-page-to-another-page/</link>
		<comments>http://lovewithdotnet.wordpress.com/2008/11/18/passing-value-from-one-page-to-another-page/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 12:40:33 +0000</pubDate>
		<dc:creator>lovewithdotnet</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://lovewithdotnet.wordpress.com/2008/11/18/passing-value-from-one-page-to-another-page/</guid>
		<description><![CDATA[There is three more way to transfer value (rather then request.querystring or response.redirect) from one page to another&#8230;Check it out&#8230; Default.aspx These Code Written on Button Click string str = txt.Text; 1) // By Context we could pass the value to one page to another Context.Items.Add(&#8220;name&#8221;,str); Server.Transfer(&#8220;JQueryPage.aspx&#8221;); 2) //By Session Session["name"] = str; 3) //This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=98&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><strong>There is three more way to transfer value (rather then request.querystring or response.redirect) from one page to another&#8230;Check it out&#8230;</strong></p>
<p class="MsoNormal">
<p class="MsoNormal"><strong>Default.aspx</strong></p>
<p class="MsoNormal">
<p class="MsoNormal">These Code Written on Button Click</p>
<p class="MsoNormal">string str = txt.Text;</p>
<p class="MsoNormal">1) // By Context we could pass the value to one page to another</p>
<p class="MsoNormal">
<p class="MsoNormal">Context.Items.Add(&#8220;name&#8221;,str);</p>
<p class="MsoNormal">Server.Transfer(&#8220;JQueryPage.aspx&#8221;);</p>
<p class="MsoNormal">
<p class="MsoNormal">2) <span> </span>//By Session</p>
<p class="MsoNormal">Session["name"] = str;</p>
<p class="MsoNormal">
<p class="MsoNormal">3) <span> </span>//This is a new feature in asp.net2.0, In this term I went to the property of button and</p>
<p class="MsoNormal"><span> </span>set the postbackurl= “~/JQueryPage.aspx”</p>
<p class="MsoNormal">
<p class="MsoNormal"><strong> </strong></p>
<p class="MsoNormal"><strong>Then after I went to the JqueryPage and find the textbox control “txt” which I created in my root page so based on it I got my value directly </strong></p>
<p class="MsoNormal">
<p class="MsoNormal">
<p class="MsoNormal"><strong>In the JqueryPage</strong></p>
<p class="MsoNormal"><strong>We can Transfer Data From One Page to Another Page </strong></p>
<p class="MsoNormal">
<p class="MsoNormal"><strong>JQueryPage.aspx</strong></p>
<p class="MsoNormal">
<p class="MsoNormal">This code written on Page Load</p>
<p class="MsoNormal">
<p class="MsoNormal">1) <span> </span>// By Context</p>
<p class="MsoNormal">string sessionval = Context.Items["name"].ToString();</p>
<p class="MsoNormal">txt.Text = sessionval;</p>
<p class="MsoNormal">
<p class="MsoNormal">2) <span> </span>// This is By Session</p>
<p class="MsoNormal">string sessionval= Session["name"].ToString();</p>
<p class="MsoNormal">txt.Text = sessionval;</p>
<p class="MsoNormal">
<p class="MsoNormal">3) <span> </span>// By Previous PAge</p>
<p class="MsoNormal">TextBox txt1 = (TextBox)PreviousPage.FindControl(&#8220;txt&#8221;);</p>
<p class="MsoNormal">txt.Text = txt1.Text;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lovewithdotnet.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lovewithdotnet.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lovewithdotnet.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lovewithdotnet.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lovewithdotnet.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lovewithdotnet.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lovewithdotnet.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lovewithdotnet.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lovewithdotnet.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lovewithdotnet.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lovewithdotnet.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lovewithdotnet.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lovewithdotnet.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lovewithdotnet.wordpress.com/98/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=98&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lovewithdotnet.wordpress.com/2008/11/18/passing-value-from-one-page-to-another-page/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fe7f9950f039d070127ef3c642da3d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lovewithdotnet</media:title>
		</media:content>
	</item>
		<item>
		<title>Garbage Collector</title>
		<link>http://lovewithdotnet.wordpress.com/2008/11/11/garbage-collector/</link>
		<comments>http://lovewithdotnet.wordpress.com/2008/11/11/garbage-collector/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 06:21:05 +0000</pubDate>
		<dc:creator>lovewithdotnet</dc:creator>
				<category><![CDATA[C#.NET]]></category>

		<guid isPermaLink="false">http://lovewithdotnet.wordpress.com/?p=88</guid>
		<description><![CDATA[The .NET Framework&#8217;s garbage collector manages the allocation and release of memory for your application. Each time you use the new operator to create an object, the runtime allocates memory for the object from the managed heap. As long as address space is available in the managed heap, the runtime continues to allocate space for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=88&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The .NET Framework&#8217;s garbage collector<strong> manages the allocation and release of memory for your application</strong>. Each time you use the <strong><span><span>new</span></span> </strong>operator to create an object, <strong>the runtime allocates memory for the object from the managed heap.</strong> As long as address space is available in the managed heap, <strong>the runtime continues to allocate space for new objects</strong>. However, memory is not infinite. Eventually the garbage collector must perform a collection in order to free some memory. The garbage collector&#8217;s optimizing engine determines the best time to perform a collection,When the garbage collector performs a collection, it checks for objectsin the managed heap that are no longer being used by the application and performs the necessary operations to reclaim their memory.</p>
<p><strong>Note:</strong></p>
<p>Garbage collection is a CLR feature which automatically manages memory. Programmers forget to release the objects while coding .CLR automatically releases objects when they are no longer in use and refernced. CLR runs on <strong>non-deterministic </strong>to see the <strong>unused objects and cleans them</strong>. One side effect of this non-deterministic feature is that we cannot assume<strong> an object is destroyed when it goes out of the scope of a function</strong>.we should avoid using destructors because before <strong>GC destroys</strong> the object it first executes destructor in that case it will have to wait for code to release<strong> the umanaged resource</strong>. resultin in additional delays in GC. So its recommended to implement <strong>IDisposable interface a</strong>nd write cleaup code in Dispose method and cal<strong>l GC.SuppressFinalize</strong> method so <strong>instructing GC not to call your constructor</strong>.Certainly There  are more references and books by which you could visit . please check the given link: <a href="http://www.amazon.com/gp/product/0735621292?ie=UTF8&amp;tag=lovewithdotne-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0735621292" target="_blank">Microsoft Visual C# 2005 Step by Step Approach</a><img style="border:none!important;margin:0!important;" src="http://www.assoc-amazon.com/e/ir?t=lovewithdotne-20&amp;l=as2&amp;o=1&amp;a=0735621292" border="0" alt="" width="1" height="1" /></p>
<h4>Finalize</h4>
<p>The following rules outline the usage guidelines for the <strong>Finalize</strong> method:</p>
<ul>
<li>Only implement <strong>Finalize</strong> on objects that require finalization. There are performance costs associated with <strong>Finalize</strong> methods.</li>
<li>If you require a <strong>Finalize</strong> method, you should consider implementing <strong>IDisposable</strong> to allow users of your class to avoid the cost of invoking the <strong>Finalize</strong> method.</li>
<li>Do not make the <strong>Finalize</strong> method more visible. It should be <strong>protected</strong>, not <strong>public</strong>.</li>
<li>An object&#8217;s <strong>Finalize</strong> method should free any external resources that the object owns. Moreover, a <strong>Finalize</strong> method should release only resources that are held onto by the object. The <strong>Finalize</strong> method should not reference any other objects.</li>
<li>Do not directly call a <strong>Finalize</strong> method on an object other than the object&#8217;s base class. This is not a valid operation in the C# programming language.</li>
<li>Call the <strong>base.Finalize</strong> method from an object&#8217;s <strong>Finalize</strong> method.</li>
</ul>
<h4>Dispose</h4>
<p>The following rules outline the usage guidelines for the <strong>Dispose</strong> method:</p>
<ul>
<li>Implement the dispose design pattern on a type that encapsulates resources that explicitly need to be freed. Users can free external resources by calling the public <strong>Dispose</strong> method.</li>
<li>Implement the dispose design pattern on a base type that commonly has derived types that hold on to resources, even if the base type does not. If the base type has a close method, often this indicates the need to implement <strong>Dispose</strong>. In such cases, do not implement a <strong>Finalize</strong> method on the base type. <strong>Finalize</strong> should be implemented in any derived types that introduce resources that require cleanup.</li>
<li>Free any disposable resources a type owns in its <strong>Dispose</strong> method.</li>
<li>After <strong>Dispose</strong> has been called on an instance, prevent the <strong>Finalize</strong> method from running by calling the <strong>GC.SuppressFinalize Method</strong>. The exception to this rule is the rare situation in which work must be done in <strong>Finalize</strong> that is not covered by <strong>Dispose</strong>.</li>
<li>Call the base class&#8217;s <strong>Dispose</strong> method if it implements <strong>IDisposable</strong>.</li>
<li>Do not assume that <strong>Dispose</strong> will be called. Unmanaged resources owned by a type should also be released in a <strong>Finalize</strong> method in the event that <strong>Dispose</strong> is not called.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lovewithdotnet.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lovewithdotnet.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lovewithdotnet.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lovewithdotnet.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lovewithdotnet.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lovewithdotnet.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lovewithdotnet.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lovewithdotnet.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lovewithdotnet.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lovewithdotnet.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lovewithdotnet.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lovewithdotnet.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lovewithdotnet.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lovewithdotnet.wordpress.com/88/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=88&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lovewithdotnet.wordpress.com/2008/11/11/garbage-collector/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fe7f9950f039d070127ef3c642da3d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lovewithdotnet</media:title>
		</media:content>

		<media:content url="http://www.assoc-amazon.com/e/ir?t=lovewithdotne-20&#38;l=as2&#38;o=1&#38;a=0735621292" medium="image" />
	</item>
		<item>
		<title>Stack n Queue In C# 2.0</title>
		<link>http://lovewithdotnet.wordpress.com/2008/11/05/stack-n-queue-in-c-20/</link>
		<comments>http://lovewithdotnet.wordpress.com/2008/11/05/stack-n-queue-in-c-20/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 07:18:31 +0000</pubDate>
		<dc:creator>lovewithdotnet</dc:creator>
				<category><![CDATA[C#.NET]]></category>
		<category><![CDATA[DataStructure]]></category>

		<guid isPermaLink="false">http://lovewithdotnet.wordpress.com/?p=81</guid>
		<description><![CDATA[The System.Collections.Generic.Stack Class The .NET Framework Base Class Library includes a Stack class in the Sytem.Collections.Generic namespace. Like the Queue class, the Stack class maintains its elements internally using a circular array. The Stack class exposes its data through two methods: Push(item), which adds the passed-in item to the stack, and Pop(), which removes and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=81&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>The System.Collections.Generic.Stack Class</strong></p>
<p><strong></strong><br />
The .NET Framework Base Class Library includes a <strong>Stack</strong> class in the <strong><span style="font-size:x-small;"><tt>Sytem.Collections.Generic</tt> </span></strong>namespace.<br />
Like the <strong>Queue</strong> class, the <strong>Stack</strong> class maintains its elements internally using a circular array. The <strong>Stack</strong> class exposes its data through two methods: <span style="font-size:x-small;"><strong><tt>Push(<em>item</em>)</tt>,</strong></span> which adds the passed-in item to the stack, an<span style="font-size:x-small;">d <strong><tt>Pop()</tt></strong></span><strong>,</strong> which removes and returns the item at the top of the stack.</p>
<p>When a C# program is executed, the CLR maintains a<strong> <em>call stack</em> </strong>which, among other things, keeps track of the function invocations. Each time a function is called, its information is added to the call stack. Upon the function&#8217;s completion, the associated information is popped from the stack. The information at the top of the call stack represents the current function being executed.<br />
<strong></strong></p>
<p><strong>The System.Collections.Generic.Stack Class</strong></p>
<p><strong></strong><br />
The .NET Framework Base Class Library provides the System.Collections.Generic.Queue class, which uses Generics to provide a type-safe Queue implementation.</p>
<p>Whereas our earlier code provided <span style="font-size:x-small;"><tt>AddJob()</tt> and <tt>GetNextJob()</tt></span> methods, the <strong>Queue</strong> class provides identical functionality with its <span style="font-size:x-small;"><strong><tt>Enqueue(<em>item</em>)</tt> and <tt>Dequeue()</tt></strong></span> methods, the <strong>Queue</strong> class maintain an <strong>internal circular array and two variables</strong> that serve as markers for the beginning and ending of the circular array:<strong> <tt>head</tt> and <tt>tail</tt>.</strong></p>
<p>The <span style="font-size:x-small;"><strong><tt>Enqueue()</tt></strong> </span>method starts by determining if there is sufficient capacity for adding the new item to the queue. If so, it merely adds the element to the circular array at <strong>the <tt>tail</tt> index</strong>, and then<strong> &#8220;increments&#8221;</strong> <tt>tail</tt> using the modulus operator to ensure that <tt>tail</tt> does not exceed the internal array&#8217;s length.</p>
<p>The<span style="font-size:x-small;"><strong> <tt>Dequeue()</tt></strong></span> method returns the current element from the head index. It also sets the <tt>head</tt> index element to null and <strong>&#8220;increments&#8221; <span style="font-size:x-small;"><tt>head</tt></span></strong><span style="font-size:x-small;">. </span>For those times where you may want to look at the head element, but not actually dequeue it, the <strong>Queue</strong> class also provides a <strong><tt>Peek()</tt></strong> method.</p>
<p><strong>What is important to realize is that the Queue, unlike the List, does not allow random access</strong>.you cannot look at the third item in the queue without dequeing the first two items.the <strong>Queue</strong> class does have a <tt>Contains()</tt> method, so you can determine whether or not a specific item exists in the Queue. There&#8217;s also a <tt>ToArray()</tt> method that returns an array containing the Queue&#8217;s elements. CertainlyThere are more references and books by which you could visit . please check the given link: <a href="http://www.amazon.com/gp/product/0735621292?ie=UTF8&amp;tag=lovewithdotne-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0735621292" target="_blank">Microsoft Visual C# 2005 Step by Step Approach</a><img style="border:none!important;margin:0!important;" src="http://www.assoc-amazon.com/e/ir?t=lovewithdotne-20&amp;l=as2&amp;o=1&amp;a=0735621292" border="0" alt="" width="1" height="1" /></p>
<p><strong>Note: </strong><strong><span style="color:#444444;"> You may hear Queues referred to as FIFO data structures. FIFO stands for First In, First Out, and is synonymous to the processing order of first come, first served.</span></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lovewithdotnet.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lovewithdotnet.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lovewithdotnet.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lovewithdotnet.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lovewithdotnet.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lovewithdotnet.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lovewithdotnet.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lovewithdotnet.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lovewithdotnet.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lovewithdotnet.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lovewithdotnet.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lovewithdotnet.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lovewithdotnet.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lovewithdotnet.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=81&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lovewithdotnet.wordpress.com/2008/11/05/stack-n-queue-in-c-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fe7f9950f039d070127ef3c642da3d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lovewithdotnet</media:title>
		</media:content>

		<media:content url="http://www.assoc-amazon.com/e/ir?t=lovewithdotne-20&#38;l=as2&#38;o=1&#38;a=0735621292" medium="image" />
	</item>
		<item>
		<title>XAML : Extensible Application Markup Language.</title>
		<link>http://lovewithdotnet.wordpress.com/2008/10/22/xaml-extensible-application-markup-language/</link>
		<comments>http://lovewithdotnet.wordpress.com/2008/10/22/xaml-extensible-application-markup-language/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 06:42:28 +0000</pubDate>
		<dc:creator>lovewithdotnet</dc:creator>
				<category><![CDATA[Framework3.0]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://lovewithdotnet.wordpress.com/?p=74</guid>
		<description><![CDATA[Hi EveryBody, Again new topic, here we have XAML. It is new for those who work for Dotnet Framework2.0. Microsoft launched Dotnet framework3.0 in 2006 and they relate with XAML with it. So will have a new idea to learn new thing. You can think of it as HTML for Windows applications, but it is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=74&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Hi EveryBody, </strong></p>
<p>Again new topic, <strong>here we have XAML</strong>. It is new for those who work for Dotnet Framework2.0. Microsoft launched <strong>Dotnet framework3.0 in 2006</strong> and they relate with XAML with it. So will have a new idea to learn new thing.</p>
<p><span> </span>You can think of it as <code><span style="font-size:10pt;">HTML</span></code> for Windows applications, but it is really quite a bit more expressive and powerful. For those of you code junkies out there, <code><span style="font-size:10pt;">XAML</span></code> is really no more than a special type of <code><strong><span style="font-size:10pt;">CLR</span></strong></code><strong> object serialization</strong>.<strong> It was intentionally architected to serialize </strong><code><strong><span style="font-size:10pt;">CLR</span></strong></code><strong> object graphs into an </strong><code><strong><span style="font-size:10pt;">XML</span></strong></code><strong> representation that is both verbose and human readable.</strong> The reasoning behind this was to make it possible for developers to easily edit the markup by hand and enable the creation of powerful graphical tools that could generate markup for you behind the scenes.</p>
<p><strong>When you compile an application that contains </strong><code><strong><span style="font-size:10pt;">XAML</span></strong></code><strong> files, the markup gets converted into </strong><code><strong><span style="font-size:10pt;">BAML</span></strong></code><strong>. </strong><code><strong><span style="font-size:10pt;">BAML</span></strong></code><strong> is a tokenized, binary representation of </strong><code><strong><span style="font-size:10pt;">XAML</span></strong></code><strong>. This binary representation is then stored inside the application’s resources and loaded as needed by </strong><code><strong><span style="font-size:10pt;">WPF</span></strong></code><strong> during the execution of your program</strong>. The main advantage of this approach is that you get a faster UI load time by reading a binary stream than through parsing <code><span style="font-size:10pt;">XML</span></code>.</p>
<h4>HTML Fragment</h4>
<h4><span class="tag">&lt;</span><span class="tag-name">div</span> <span class="attribute">style</span>=<span class="attribute-value">&#8220;border: solid 5px black; margin: 10px; padding: 5px&#8221;</span><span class="tag">&gt;</span> <span class="tag">&lt;</span><span class="tag-name">input</span> <span class="attribute">type</span>=<span class="attribute-value">&#8220;button&#8221;</span> <span class="attribute">value</span>=<span class="attribute-value">&#8220;Click Me!&#8221;</span> <span class="tag">/&gt;</span> <span class="tag">&lt;/</span><span class="tag-name">div</span><span class="tag">&gt;</span></h4>
<p class="MsoNormal">
<h4>XAML Fragment</h4>
<h4><span class="tag">&lt;</span><span class="tag-name">Border</span> <span class="attribute">BorderBrush</span>=<span class="attribute-value">&#8220;Black&#8221;</span> <span class="attribute">BorderThickness</span>=<span class="attribute-value">&#8220;5&#8243;</span> <span class="attribute">Margin</span>=<span class="attribute-value">&#8220;10&#8243;</span> <span class="attribute">Padding</span>=<span class="attribute-value">&#8220;5&#8243;</span><span class="tag">&gt;</span> <span class="tag">&lt;</span><span class="tag-name">Button</span><span class="tag">&gt;</span>Click Me!<span class="tag">&lt;/</span><span class="tag-name">Button</span><span class="tag">&gt;</span> <span class="tag">&lt;/</span><span class="tag-name">Border</span><span class="tag">&gt;</span><strong></strong></h4>
<p class="MsoNormal">Using XAML, you can represent a wide variety of UI related constructs. These include things like controls, layout panels, graphics primitives, 3D content and even animations.</p>
<p><span style="font-size:12pt;font-family:&quot;"></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lovewithdotnet.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lovewithdotnet.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lovewithdotnet.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lovewithdotnet.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lovewithdotnet.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lovewithdotnet.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lovewithdotnet.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lovewithdotnet.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lovewithdotnet.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lovewithdotnet.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lovewithdotnet.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lovewithdotnet.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lovewithdotnet.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lovewithdotnet.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=74&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lovewithdotnet.wordpress.com/2008/10/22/xaml-extensible-application-markup-language/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fe7f9950f039d070127ef3c642da3d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lovewithdotnet</media:title>
		</media:content>
	</item>
		<item>
		<title>BCL: Base Class Library</title>
		<link>http://lovewithdotnet.wordpress.com/2008/10/20/bcl-base-class-library/</link>
		<comments>http://lovewithdotnet.wordpress.com/2008/10/20/bcl-base-class-library/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 09:35:35 +0000</pubDate>
		<dc:creator>lovewithdotnet</dc:creator>
				<category><![CDATA[Dotnet Framework]]></category>

		<guid isPermaLink="false">http://lovewithdotnet.wordpress.com/?p=66</guid>
		<description><![CDATA[The Base Class Library (BCL) is a standard library available to all languages using the .NET Framework. .NET includes the BCL in order to encapsulate a large number of common functions, such as file reading and writing, graphic rendering, database interaction, and XML document manipulation. The BCL generally serves as your main point of interaction [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=66&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><span lang="EN">The <strong>Base Class Library</strong> (<strong>BCL</strong>) is a standard library available to all languages using the .NET Framework. .NET includes the BCL in order to encapsulate a large number of common functions, such as file<strong> reading and writing, graphic rendering, database interaction, and XML document manipulation.</strong></span></p>
<p class="MsoNormal">The BCL generally serves as your main point of interaction with the runtime. There are many types of Base Class Library, Please find it below.A <strong><span>namespace</span> </strong>is a logical grouping of  <span>types</span> that perform related functions.  <strong><span>Namespaces</span> </strong>are logical  groupings of related classes.</p>
<p class="MsoNormal">
<p class="MsoNormal" style="margin-left:.5in;"><strong><span lang="EN">System </span></strong></p>
<p class="MsoNormal" style="margin-left:1in;"><span lang="EN">This namespace includes the core needs for programming. It includes base types like String, DateTime, Boolean, and so forth, support for environments such as the console, math functions, and base classes for attributes, exceptions, and arrays.</span></p>
<p class="MsoNormal" style="margin-left:.5in;"><strong><span lang="EN">System.Collections </span></strong></p>
<p class="MsoNormal" style="margin-left:1in;"><span lang="EN">Defines many common containers or collections used in programming, such as lists, queues, stacks, hashtables, and dictionaries. It includes support for generics. </span></p>
<p class="MsoNormal" style="margin-left:.5in;"><strong><span lang="EN">System. Configuration </span></strong></p>
<p class="MsoNormal" style="margin-left:1in;"><span lang="EN">Provides the infrastructure for handling configuration data </span></p>
<p class="MsoNormal" style="margin-left:.5in;"><strong><span lang="EN">System. Transactions </span></strong></p>
<p class="MsoNormal" style="margin-left:1in;"><span lang="EN">Provides support for local or distributed transactions. </span></p>
<p class="MsoNormal" style="margin-left:.5in;"><strong>System.Text.RegularExpressions</strong></p>
<p class="MsoNormal" style="margin-left:.5in;"><strong><span> </span></strong>This namespace includes regular expression support, for robust parsing and matching of string data</p>
<p class="MsoNormal" style="margin-left:.5in;">So with system namespace we have much class library by which we can relate to classes.</p>
<p class="MsoNormal" style="margin-left:.5in;">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lovewithdotnet.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lovewithdotnet.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lovewithdotnet.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lovewithdotnet.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lovewithdotnet.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lovewithdotnet.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lovewithdotnet.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lovewithdotnet.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lovewithdotnet.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lovewithdotnet.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lovewithdotnet.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lovewithdotnet.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lovewithdotnet.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lovewithdotnet.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=66&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lovewithdotnet.wordpress.com/2008/10/20/bcl-base-class-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fe7f9950f039d070127ef3c642da3d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lovewithdotnet</media:title>
		</media:content>
	</item>
		<item>
		<title>CLR: Common Language Runtime In C#</title>
		<link>http://lovewithdotnet.wordpress.com/2008/10/20/clr/</link>
		<comments>http://lovewithdotnet.wordpress.com/2008/10/20/clr/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 07:07:49 +0000</pubDate>
		<dc:creator>lovewithdotnet</dc:creator>
				<category><![CDATA[Dotnet Framework]]></category>

		<guid isPermaLink="false">http://lovewithdotnet.wordpress.com/?p=59</guid>
		<description><![CDATA[The .NET Framework has two main components: the common language runtime and the .NET Framework class library. Code that you develop with a language compiler that targets the runtime is called managed code; it benefits from features such as cross-language integration, cross-language exception handling, enhanced security, versioning and deployment support, a simplified model for component [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=59&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">The .NET Framework has two main components<strong>: the common language runtime</strong> and <strong>the .NET Framework class library. </strong></p>
<p class="MsoNormal">Code that you develop with a language compiler that targets the runtime is called <strong>managed code</strong>; it benefits from features such as <strong>cross-language integration, cross-language exception handling</strong>, enhanced security, versioning and deployment support, a simplified model for component interaction, and debugging and profiling services. There is one Most Profficient book by which you learn about CLR in C# enivronment.<a href="http://www.amazon.com/gp/product/0735621632?ie=UTF8&amp;tag=lovewithdotne-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0735621632">CLR via C#.net 2005</a><img style="border:none!important;margin:0!important;" src="http://www.assoc-amazon.com/e/ir?t=lovewithdotne-20&amp;l=as2&amp;o=1&amp;a=0735621632" border="0" alt="" width="1" height="1" /><br />
<strong></strong></p>
<p class="MsoNormal">The runtime also enforces code robustness by implementing a strict type-and-code-verification infrastructure called the <strong>common type system (CTS). </strong>The CTS ensures that all managed code is self-describing</p>
<p class="MsoNormal"><strong>The runtime automatically handles object layout</strong> and <strong>manages references to objects</strong>, releasing them when they are no longer being used. This automatic memory management resolves the two most common application errors, memory leaks and invalid memory references.</p>
<p class="MsoNormal"><strong>The Very Basic Architecture of CLR is :</strong></p>
<p class="MsoNormal">Source Code in specific <strong>Languages like (C#, VB,ASP) first goes to IL(Intermediate language)</strong> . And then this process first comes <strong>in Compile time</strong> and then <strong>after IL converts this Code in Native code using CLR (Common Language Runtime) in runtime</strong>.</p>
<p class="MsoNormal"><strong> </strong></p>
<p class="MsoNormal"><strong><span lang="FR">Languages</span>{C#, VB, Other Languages}<span> </span><span> </span>-</strong><strong><span style="color:#993300;">{C# compiler, VB Compiler}</span></strong><strong>-</strong><strong><span lang="FR"><span> </span>MSIL Code<span> </span><span> </span><span> </span>-</span></strong><strong><span style="color:#993300;">{CLR}</span></strong><strong><span lang="FR">-<span> </span><span> </span>Native Code</span></strong></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><strong><span style="text-decoration:underline;">IL </span></strong></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">All .NET source code is compiled to IL<strong>. This IL is then converted to machine code</strong> at the point where the software is installed, or at run-time by a <strong>Just-In- Time (JIT) compiler.</strong></p>
<p class="MsoNormal"><strong>Internet Explorer is an example of an unmanaged application that hosts the runtime (in the form of a MIME type extension).</strong> Using Internet Explorer to host the runtime enables you to embed managed components or Windows Forms controls in HTML documents. Hosting the runtime in this way makes managed mobile code (similar to Microsoft® ActiveX® controls) possible, but with significant improvements that only managed code can offer, such as semi-trusted execution and isolated file storage.<strong></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lovewithdotnet.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lovewithdotnet.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lovewithdotnet.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lovewithdotnet.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lovewithdotnet.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lovewithdotnet.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lovewithdotnet.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lovewithdotnet.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lovewithdotnet.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lovewithdotnet.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lovewithdotnet.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lovewithdotnet.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lovewithdotnet.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lovewithdotnet.wordpress.com/59/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=59&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lovewithdotnet.wordpress.com/2008/10/20/clr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fe7f9950f039d070127ef3c642da3d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lovewithdotnet</media:title>
		</media:content>

		<media:content url="http://www.assoc-amazon.com/e/ir?t=lovewithdotne-20&#38;l=as2&#38;o=1&#38;a=0735621632" medium="image" />
	</item>
		<item>
		<title>PageRequestManager Event</title>
		<link>http://lovewithdotnet.wordpress.com/2008/10/17/pagerequestmanager-event/</link>
		<comments>http://lovewithdotnet.wordpress.com/2008/10/17/pagerequestmanager-event/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 06:28:18 +0000</pubDate>
		<dc:creator>lovewithdotnet</dc:creator>
				<category><![CDATA[Ajax]]></category>

		<guid isPermaLink="false">http://lovewithdotnet.wordpress.com/?p=47</guid>
		<description><![CDATA[In Ajax Enabled asp.net life cycle some events helps to access the full page life cycle. These event have many versatility because when application goes to load on server , this event helps to handle client page life cycle so there is some major features of PageRequestManager Events :- PageRequestManager Events The PageRequestManager class enables [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=47&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In Ajax Enabled asp.net life cycle some events helps to access the full page life cycle.</p>
<p>These event have many versatility because when application goes to load on server , this event helps to <strong>handle client page life cycle</strong> so there is some major features of PageRequestManager Events :-</p>
<p><strong>PageRequestManager Events</strong></p>
<p>The <strong>PageRequestManager</strong> class enables you to handle events in the client page life cycle and to provide custom event handlers that are specific to partial-page updates.</p>
<p style="margin-left:.5in;text-indent:-.25in;">To use the <strong>PageRequestManager</strong> class in client script, you must put a <strong>ScriptManager </strong>server control on the Web page.</p>
<p style="margin-left:.5in;text-indent:-.25in;">The<strong> EnablePartialRendering</strong> property of the <strong>ScriptManager </strong>control must be set to <span class="keyword">true</span> (which is the default). When <strong>EnablePartialRendering</strong> is set to <span class="keyword">true</span>, the client-script library that contains the <strong>PageRequestManager</strong> class is available in the page.<strong></strong></p>
<p style="margin-left:.5in;text-indent:-.25in;">If the <strong><span style="text-decoration:underline;">EnablePartialRendering</span></strong> property of the <strong>ScriptManager</strong> control is <span class="keyword">false</span>, you cannot access the <strong>isInAsyncPostBack</strong> property because there is no <strong>PageRequestManager</strong> instance.<strong></strong></p>
<p style="margin-left:.5in;text-indent:-.25in;"><strong>For synchronous postbacks, only the pageLoaded event is raised.</strong></p>
<p style="margin-left:.5in;text-indent:-.25in;">If you use the <strong>RegisterDataItem</strong> method of the <strong>ScriptManager</strong> control to send extra data during an asynchronous postback, you can access that data from the <strong>PageLoadingEventArgs</strong>, <strong>PageLoadedEventArgs</strong>, and <strong>EndRequestEventArgs</strong> objects.</p>
<p style="margin-left:.5in;text-indent:-.25in;">
<p class="MsoNormal"><strong><span style="text-decoration:underline;">Stopping and Canceling Asynchronous Postbacks </span></strong></p>
<p>Two common tasks are to stop an asynchronous postback that is underway and to cancel a new request before it has begun. To perform these tasks, you do the following.</p>
<p style="margin-left:.5in;text-indent:-.25in;">To stop an existing asynchronous postback, you call the <strong>abortPostback</strong> method of the <strong>PageRequestManager</strong> class.</p>
<p style="margin-left:.5in;text-indent:-.25in;">
<p style="margin-left:.5in;text-indent:-.25in;">To cancel a new asynchronous postback, you handle the <strong>initializeRequest</strong> event of the <strong>PageRequestManager</strong> class and set the <strong>cancel</strong> property to <span class="keyword">true</span>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lovewithdotnet.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lovewithdotnet.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lovewithdotnet.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lovewithdotnet.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lovewithdotnet.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lovewithdotnet.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lovewithdotnet.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lovewithdotnet.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lovewithdotnet.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lovewithdotnet.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lovewithdotnet.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lovewithdotnet.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lovewithdotnet.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lovewithdotnet.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=47&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lovewithdotnet.wordpress.com/2008/10/17/pagerequestmanager-event/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fe7f9950f039d070127ef3c642da3d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lovewithdotnet</media:title>
		</media:content>
	</item>
		<item>
		<title>Asp.net Enabled Ajax</title>
		<link>http://lovewithdotnet.wordpress.com/2008/10/17/aspnet-enabled-ajax/</link>
		<comments>http://lovewithdotnet.wordpress.com/2008/10/17/aspnet-enabled-ajax/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 06:05:02 +0000</pubDate>
		<dc:creator>lovewithdotnet</dc:creator>
				<category><![CDATA[Ajax]]></category>

		<guid isPermaLink="false">http://lovewithdotnet.wordpress.com/?p=44</guid>
		<description><![CDATA[We all familiar with asp.net pages, but if we link it with Ajax, we will have question in our mind like what is Ajax. Ajax is Asynchronous JavaScript and XML so it’s a group of interrelated web development technique which gives a interactive web application and rich internet application. AJAX features include client-script libraries that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=44&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="margin-left:.25in;">We all familiar with asp.net pages, but if we link it with Ajax, we will have question in our mind like <strong>what is Ajax</strong>. Ajax is A<em><strong><span style="font-style:normal;">synchronous JavaScript and XML</span></strong></em><em><span style="font-style:normal;"> so it’s a group of interrelated web development technique which gives a interactive web application and rich internet application.</span></em></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:-.25in;">AJAX features include <strong>client-script libraries</strong> that incorporate cross-browser ECMAScript (JavaScript)and <strong>dynamic HTML (DHTML)</strong> technologies, and integration with the ASP.NET server-based development platform.</p>
<p><strong>AJAX-enabled applications offer: </strong></p>
<p><strong> Improved efficiency</strong>, because significant parts of a Web page&#8217;s processing are performed in the browser.</p>
<p>Familiar UI elements such as progress indicators<strong>, tooltips, and pop-up windows</strong>.</p>
<p>Partial-page updates that refresh only the parts of the Web page that have changed.</p>
<p>Client integration with ASP.NET application services for forms authentication, roles, and user profiles.</p>
<p>Auto-generated proxy classes that simplify calling Web service methods from client script.</p>
<p>A framework that lets you customize of server controls to include client capabilities.</p>
<p>Support for the most popular and generally used browsers, which includes Microsoft Internet   Explorer,Mozilla Firefox, and Apple Safari</p>
<p class="MsoNormal"><strong>AJAX</strong><strong> Server Architecture</strong></p>
<p class="MsoNormal"><strong>Script Support</strong></p>
<ol style="margin-top:0;" type="1">
<li class="MsoNormal">You can also <strong>create custom client script for your ASP.NET</strong> applications. In that case, you can also use AJAX features to manage your custom script as static .js files (on disk) or <strong>as .js files embedded as resources</strong> in an assembly. <strong></strong></li>
</ol>
<p><strong>Script support for AJAX in ASP.NET</strong> is used to provide two important features:</p>
<p style="margin-left:.5in;text-indent:-.25in;">The Microsoft AJAX Library, which is a type system and a set of JavaScript extensions that provide namespaces, inheritance, interfaces, enumerations, reflection, and additional features. <strong></strong></p>
<p style="margin-left:.25in;">Partial-page rendering, which updates regions of the page by using an asynchronous postback<strong></strong></p>
<p style="margin-left:.25in;"><strong>Localization</strong></p>
<p style="margin-left:.25in;">It provides additional support for localized .js files that are embedded in an assembly or that are provided on disk. ASP.NET can serve localized client scripts and resources automatically for specific languages and regions.</p>
<p><strong>Web Services</strong></p>
<p>With AJAX functionality in an ASP.NET Web page, you can use client script to call both ASP.NET Web services (.asmx) and Windows Communication Foundation (WCF) services (.svc).</p>
<p><strong>Server Controls</strong></p>
<p>When you add an AJAX control to an ASP.NET Web page, the page automatically sends supporting client script to the browser for AJAX functionality.</p>
<p class="MsoNormal"><strong><span style="text-decoration:underline;">ScriptManager</span></strong></p>
<p style="margin-left:.5in;">Manages script resources for <strong>client components, partial-page rendering, localization, globalization, and custom user scripts.</strong></p>
<p class="MsoNormal"><strong><span style="text-decoration:underline;">UpdatePanel</span></strong></p>
<p style="margin-left:.5in;">Enables you to refresh selected parts of the page, instead of refreshing the whole page by using a synchronous postback.</p>
<p class="MsoNormal"><strong><span style="text-decoration:underline;">UpdateProgress</span></strong></p>
<p style="margin-left:.5in;">Provides status information about partial-page updates in UpdatePanel controls.</p>
<p style="margin-left:.5in;">The <strong>UpdateProgress</strong> control supports a <strong>DisplayAfte</strong>r property that enables you to set a delay before the control is displayed. This prevents the control from flashing in the browser if the update occurs very fast. By default, the delay is set to 500 milliseconds (.5 second), meaning that the <strong>UpdateProgress</strong> control will not be displayed if the update takes less than half a second.</p>
<p class="MsoNormal"><strong><span style="text-decoration:underline;">Timer</span></strong></p>
<p class="MsoNormal">Performs postbacks at defined intervals. You can use the Timer control to post the whole page, or use it together with the UpdatePanel control to perform partial-page updates at a defined interval</p>
<p><span style="text-decoration:underline;">ASP.NET<strong> PageRequestManager</strong> Class Overview</span></p>
<p style="margin-left:.5in;text-indent:-.25in;">The <strong>PageRequestManager</strong> class in the Microsoft AJAX Library manages partial-page updates in the browse</p>
<p style="margin-left:.5in;text-indent:-.25in;">The PageRequestManager class enables you to give <strong>precedence to a specific postback and cancel others that are underway</strong>.<strong></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lovewithdotnet.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lovewithdotnet.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lovewithdotnet.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lovewithdotnet.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lovewithdotnet.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lovewithdotnet.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lovewithdotnet.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lovewithdotnet.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lovewithdotnet.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lovewithdotnet.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lovewithdotnet.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lovewithdotnet.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lovewithdotnet.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lovewithdotnet.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=44&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lovewithdotnet.wordpress.com/2008/10/17/aspnet-enabled-ajax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fe7f9950f039d070127ef3c642da3d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lovewithdotnet</media:title>
		</media:content>
	</item>
		<item>
		<title>How can I relate with XML using SQL??</title>
		<link>http://lovewithdotnet.wordpress.com/2008/10/16/how-can-i-relate-with-xml-using-sql/</link>
		<comments>http://lovewithdotnet.wordpress.com/2008/10/16/how-can-i-relate-with-xml-using-sql/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 08:59:21 +0000</pubDate>
		<dc:creator>lovewithdotnet</dc:creator>
				<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://lovewithdotnet.wordpress.com/?p=35</guid>
		<description><![CDATA[Hi Everybody, A new thing in the Sql Server. i am going to explain the use of xml using sql server. we have certain methods by which we can directly connect Sql Server to Xml Schema suppose i have my xml tags - &#60;myname&#62; &#60;test id=&#8221;1&#8243; name=&#8221;Kartik&#8221;/&#62; &#60;test id=&#8221;2&#8243; name=&#8221;Raj&#8221;/&#62; &#60;/myname&#62; i want to add [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=35&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><span>Hi Everybody<span style="color:gray;">,</span> </span></p>
<p class="MsoNormal"><span>A new thing in the Sql Server. i am going to explain the use of xml <span> </span>using sql server.</span></p>
<p class="MsoNormal"><span>we have certain methods by which we can directly connect Sql Server to Xml Schema</span></p>
<p class="MsoNormal"><span>suppose i have my xml tags -</span></p>
<p class="MsoNormal"><strong><span>&lt;myname&gt;</span></strong></p>
<p class="MsoNormal"><strong><span><span> </span>&lt;test id=&#8221;1&#8243; name=&#8221;Kartik&#8221;/&gt;</span></strong></p>
<p class="MsoNormal"><strong><span><span> </span>&lt;test id=&#8221;2&#8243; name=&#8221;Raj&#8221;/&gt;</span></strong></p>
<p class="MsoNormal"><span><strong>&lt;/myname&gt;</strong></span></p>
<p class="MsoNormal"><span>i want to add this xml tags in Sql, so for that i will use <span style="text-decoration:underline;"><strong>sp_xml_preparedocument</strong></span></span></p>
<p class="MsoNormal"><span>this System Defined Stored procedure will create xml Document and then i can get th output </span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><strong><span>declare @i int</span></strong></p>
<p class="MsoNormal"><strong><span>exec sp_xml_preparedocument @i output, </span></strong></p>
<p class="MsoNormal"><strong><span>&#8216;&lt;myname&gt;</span></strong></p>
<p class="MsoNormal"><strong><span><span> </span>&lt;test id=&#8221;1&#8243; name=&#8221;Kartik&#8221;/&gt;</span></strong></p>
<p class="MsoNormal"><strong><span><span> </span>&lt;test id=&#8221;2&#8243; name=&#8221;Raj&#8221;/&gt;</span></strong></p>
<p class="MsoNormal"><strong><span>&lt;/myname&gt;&#8217;</span></strong></p>
<p class="MsoNormal"><strong><span> </span></strong></p>
<p class="MsoNormal"><strong><span>select id,name </span></strong></p>
<p class="MsoNormal"><strong><span>from OpenXml(@i, &#8216;myname/test&#8217;,1)</span></strong></p>
<p class="MsoNormal"><strong><span>with (id int, name nvarchar(30))</span></strong></p>
<p class="MsoNormal"><span style="color:gray;"> </span></p>
<p class="MsoNormal"><span>It will show my result <span style="color:gray;">like</span> </span></p>
<p class="MsoNormal"><strong><span>1<span> </span>Kartik</span></strong></p>
<p class="MsoNormal"><span><strong>2<span> </span>Raj</strong></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lovewithdotnet.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lovewithdotnet.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lovewithdotnet.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lovewithdotnet.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lovewithdotnet.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lovewithdotnet.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lovewithdotnet.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lovewithdotnet.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lovewithdotnet.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lovewithdotnet.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lovewithdotnet.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lovewithdotnet.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lovewithdotnet.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lovewithdotnet.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lovewithdotnet.wordpress.com&amp;blog=5088639&amp;post=35&amp;subd=lovewithdotnet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lovewithdotnet.wordpress.com/2008/10/16/how-can-i-relate-with-xml-using-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fe7f9950f039d070127ef3c642da3d55?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lovewithdotnet</media:title>
		</media:content>
	</item>
	</channel>
</rss>
