<?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>Sribala&#039;s Blog</title>
	<atom:link href="http://sribala.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sribala.wordpress.com</link>
	<description>Meliorate your knowledge</description>
	<lastBuildDate>Mon, 14 Sep 2009 05:47:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sribala.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/da5c371c0fedecf897b643c8b0d7e24c?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Sribala&#039;s Blog</title>
		<link>http://sribala.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sribala.wordpress.com/osd.xml" title="Sribala&#039;s Blog" />
	<atom:link rel='hub' href='http://sribala.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Compress/Decompress a file in C#</title>
		<link>http://sribala.wordpress.com/2009/09/14/compressdecompress-a-file-in-c/</link>
		<comments>http://sribala.wordpress.com/2009/09/14/compressdecompress-a-file-in-c/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 05:47:39 +0000</pubDate>
		<dc:creator>sribala</dc:creator>
				<category><![CDATA[Codings C#]]></category>

		<guid isPermaLink="false">http://sribala.wordpress.com/?p=80</guid>
		<description><![CDATA[Method to compress a file. public void CompressFile ( string sourceFile, string destinationFile ) { // Check File exists in the source path if ( File.Exists ( sourceFile ) == false ) throw new FileNotFoundException ( ); // Create the streams and byte arrays byte[] buffer = null; FileStream sourceStream = null; FileStream destinationStream = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sribala.wordpress.com&amp;blog=9270789&amp;post=80&amp;subd=sribala&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="border-collapse:collapse;color:#505050;font-family:'Segoe UI';font-size:13px;"><strong><span style="text-decoration:underline;">Method to compress a file.</p>
<p></span></strong></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">public</span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;">void</span><span style="font-size:x-small;"> CompressFile ( </span><span style="color:#0000ff;font-size:x-small;">string</span><span style="font-size:x-small;"> sourceFile, </span><span style="color:#0000ff;font-size:x-small;">string</span><span style="font-size:x-small;"> destinationFile )</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">{</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#008000;font-size:x-small;">// Check File exists in the source path</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">if</span><span style="font-size:x-small;"> ( </span><span style="color:#008080;font-size:x-small;">File</span><span style="font-size:x-small;">.Exists ( sourceFile ) == </span><span style="color:#0000ff;font-size:x-small;">false</span><span style="font-size:x-small;"> )</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">throw</span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;">new</span><span style="font-size:x-small;"> </span><span style="color:#008080;font-size:x-small;">FileNotFoundException</span><span style="font-size:x-small;"> ( );</span></p>
<p style="margin-top:0;"><span style="color:#008000;font-size:x-small;">// Create the streams and byte arrays</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">byte</span><span style="font-size:x-small;">[] buffer = </span><span style="color:#0000ff;font-size:x-small;">null</span><span style="font-size:x-small;">;</span></p>
<p style="margin-top:0;"><span style="color:#008080;font-size:x-small;">FileStream</span><span style="font-size:x-small;"> sourceStream = </span><span style="color:#0000ff;font-size:x-small;">null</span><span style="font-size:x-small;">;</span></p>
<p style="margin-top:0;"><span style="color:#008080;font-size:x-small;">FileStream</span><span style="font-size:x-small;"> destinationStream = </span><span style="color:#0000ff;font-size:x-small;">null</span><span style="font-size:x-small;">;</span></p>
<p style="margin-top:0;"><span style="color:#008080;font-size:x-small;">GZipStream</span><span style="font-size:x-small;"> compressedStream = </span><span style="color:#0000ff;font-size:x-small;">null</span><span style="font-size:x-small;">;</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">try</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">{</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#008000;font-size:x-small;">// Read the bytes from the source file into a byte array</span></p>
<p style="margin-top:0;"><span style="font-size:x-small;">sourceStream = </span><span style="color:#0000ff;font-size:x-small;">new</span><span style="font-size:x-small;"> </span><span style="color:#008080;font-size:x-small;">FileStream</span><span style="font-size:x-small;"> ( sourceFile, </span><span style="color:#008080;font-size:x-small;">FileMode</span><span style="font-size:x-small;">.Open, </span><span style="color:#008080;font-size:x-small;">FileAccess</span><span style="font-size:x-small;">.Read, </span><span style="color:#008080;font-size:x-small;">FileShare</span><span style="font-size:x-small;">.Read );</span></p>
<p style="margin-top:0;"><span style="color:#008000;font-size:x-small;">// Read the source stream values into the buffer</span></p>
<p style="margin-top:0;"><span style="font-size:x-small;">buffer = </span><span style="color:#0000ff;font-size:x-small;">new</span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;">byte</span><span style="font-size:x-small;">[sourceStream.Length];</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">int</span><span style="font-size:x-small;"> checkCounter = sourceStream.Read ( buffer, 0, buffer.Length );</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">if</span><span style="font-size:x-small;"> ( checkCounter != buffer.Length )</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">{</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">throw</span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;">new</span><span style="font-size:x-small;"> </span><span style="color:#008080;font-size:x-small;">ApplicationException</span><span style="font-size:x-small;"> ( );</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">}</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#008000;font-size:x-small;">// Open the FileStream to write</span></p>
<p style="margin-top:0;"><span style="font-size:x-small;">destinationStream = </span><span style="color:#0000ff;font-size:x-small;">new</span><span style="font-size:x-small;"> </span><span style="color:#008080;font-size:x-small;">FileStream</span><span style="font-size:x-small;"> ( destinationFile, </span><span style="color:#008080;font-size:x-small;">FileMode</span><span style="font-size:x-small;">.OpenOrCreate, </span><span style="color:#008080;font-size:x-small;">FileAccess</span><span style="font-size:x-small;">.Write );</span></p>
<p style="margin-top:0;"><span style="color:#008000;font-size:x-small;">// Create a compression stream pointing to the destiantion stream</span></p>
<p style="margin-top:0;"><span style="font-size:x-small;">compressedStream = </span><span style="color:#0000ff;font-size:x-small;">new</span><span style="font-size:x-small;"> </span><span style="color:#008080;font-size:x-small;">GZipStream</span><span style="font-size:x-small;"> ( destinationStream, </span><span style="color:#008080;font-size:x-small;">CompressionMode</span><span style="font-size:x-small;">.Compress, </span><span style="color:#0000ff;font-size:x-small;">true</span><span style="font-size:x-small;"> );</span></p>
<p style="margin-top:0;"><span style="color:#008000;font-size:x-small;">// Now write the compressed data to the destination file</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">compressedStream.Write ( buffer, 0, buffer.Length );</p>
<p style="margin-top:0;">}</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">catch</span><span style="font-size:x-small;"> ( </span><span style="color:#008080;font-size:x-small;">ApplicationException</span><span style="font-size:x-small;"> ex )</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">{</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#008080;font-size:x-small;">MessageBox</span><span style="font-size:x-small;">.Show ( ex.Message, </span><span style="color:#800000;font-size:x-small;">&#8220;Error occured during compression&#8221;</span><span style="font-size:x-small;">, </span><span style="color:#008080;font-size:x-small;">MessageBoxButtons</span><span style="font-size:x-small;">.OK, </span><span style="color:#008080;font-size:x-small;">MessageBoxIcon</span><span style="font-size:x-small;">.Error );</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">}</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">finally</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">{</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#008000;font-size:x-small;">// Close all streams</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">if</span><span style="font-size:x-small;"> ( sourceStream != </span><span style="color:#0000ff;font-size:x-small;">null</span><span style="font-size:x-small;"> )</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">sourceStream.Close ( );</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">if</span><span style="font-size:x-small;"> ( compressedStream != </span><span style="color:#0000ff;font-size:x-small;">null</span><span style="font-size:x-small;"> )</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">compressedStream.Close ( );</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">if</span><span style="font-size:x-small;"> ( destinationStream != </span><span style="color:#0000ff;font-size:x-small;">null</span><span style="font-size:x-small;"> )</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">destinationStream.Close ( );</p>
<p style="margin-top:0;">}</p>
<p style="margin-top:0;">}</p>
<p><strong><span style="text-decoration:underline;"><span style="font-size:small;">Method to DeCompress a file.<br />
</span></span></strong></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">public</span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;">void</span><span style="font-size:x-small;"> DecompressFile ( </span><span style="color:#0000ff;font-size:x-small;">string</span><span style="font-size:x-small;"> sourceFile, </span><span style="color:#0000ff;font-size:x-small;">string</span><span style="font-size:x-small;"> destinationFile )</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">{</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#008000;font-size:x-small;">// Check File exists in the source path</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">if</span><span style="font-size:x-small;"> ( </span><span style="color:#008080;font-size:x-small;">File</span><span style="font-size:x-small;">.Exists ( sourceFile ) == </span><span style="color:#0000ff;font-size:x-small;">false</span><span style="font-size:x-small;"> )</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">throw</span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;">new</span><span style="font-size:x-small;"> </span><span style="color:#008080;font-size:x-small;">FileNotFoundException</span><span style="font-size:x-small;"> ( );</span></p>
<p style="margin-top:0;"><span style="color:#008000;font-size:x-small;">// Create the streams and byte arrays needed</span></p>
<p style="margin-top:0;"><span style="color:#008080;font-size:x-small;">FileStream</span><span style="font-size:x-small;"> sourceStream = </span><span style="color:#0000ff;font-size:x-small;">null</span><span style="font-size:x-small;">;</span></p>
<p style="margin-top:0;"><span style="color:#008080;font-size:x-small;">FileStream</span><span style="font-size:x-small;"> destinationStream = </span><span style="color:#0000ff;font-size:x-small;">null</span><span style="font-size:x-small;">;</span></p>
<p style="margin-top:0;"><span style="color:#008080;font-size:x-small;">GZipStream</span><span style="font-size:x-small;"> decompressedStream = </span><span style="color:#0000ff;font-size:x-small;">null</span><span style="font-size:x-small;">;</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">byte</span><span style="font-size:x-small;">[] quartetBuffer = </span><span style="color:#0000ff;font-size:x-small;">null</span><span style="font-size:x-small;">;</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">try</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">{</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#008000;font-size:x-small;">// Read in the compressed source stream</span></p>
<p style="margin-top:0;"><span style="font-size:x-small;">sourceStream = </span><span style="color:#0000ff;font-size:x-small;">new</span><span style="font-size:x-small;"> </span><span style="color:#008080;font-size:x-small;">FileStream</span><span style="font-size:x-small;"> ( sourceFile, </span><span style="color:#008080;font-size:x-small;">FileMode</span><span style="font-size:x-small;">.Open );</span></p>
<p style="margin-top:0;"><span style="color:#008000;font-size:x-small;">// Create a compression stream pointing to the destiantion stream</span></p>
<p style="margin-top:0;"><span style="font-size:x-small;">decompressedStream = </span><span style="color:#0000ff;font-size:x-small;">new</span><span style="font-size:x-small;"> </span><span style="color:#008080;font-size:x-small;">GZipStream</span><span style="font-size:x-small;"> ( sourceStream, </span><span style="color:#008080;font-size:x-small;">CompressionMode</span><span style="font-size:x-small;">.Decompress, </span><span style="color:#0000ff;font-size:x-small;">true</span><span style="font-size:x-small;"> );</span></p>
<p style="margin-top:0;"><span style="color:#008000;font-size:x-small;">// Read the footer to determine the length of the destiantion file</span></p>
<p style="margin-top:0;"><span style="font-size:x-small;">quartetBuffer = </span><span style="color:#0000ff;font-size:x-small;">new</span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;">byte</span><span style="font-size:x-small;">[4];</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">int</span><span style="font-size:x-small;"> position = (</span><span style="color:#0000ff;font-size:x-small;">int</span><span style="font-size:x-small;">)sourceStream.Length &#8211; 4;</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">sourceStream.Position = position;</p>
<p style="margin-top:0;">sourceStream.Read ( quartetBuffer, 0, 4 );</p>
<p style="margin-top:0;">sourceStream.Position = 0;</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">int</span><span style="font-size:x-small;"> checkLength = </span><span style="color:#008080;font-size:x-small;">BitConverter</span><span style="font-size:x-small;">.ToInt32 ( quartetBuffer, 0 );</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">byte</span><span style="font-size:x-small;">[] buffer = </span><span style="color:#0000ff;font-size:x-small;">new</span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;">byte</span><span style="font-size:x-small;">[checkLength + 100];</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">int</span><span style="font-size:x-small;"> offset = 0;</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">int</span><span style="font-size:x-small;"> total = 0;</span></p>
<p style="margin-top:0;"><span style="color:#008000;font-size:x-small;">// Read the compressed data into the buffer</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">while</span><span style="font-size:x-small;"> ( </span><span style="color:#0000ff;font-size:x-small;">true</span><span style="font-size:x-small;"> )</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">{</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">int</span><span style="font-size:x-small;"> bytesRead = decompressedStream.Read ( buffer, offset, 100 );</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">if</span><span style="font-size:x-small;"> ( bytesRead == 0 )</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">break</span><span style="font-size:x-small;">;</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">offset += bytesRead;</p>
<p style="margin-top:0;">total += bytesRead;</p>
<p style="margin-top:0;">}</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#008000;font-size:x-small;">// Now write to the destination file</span></p>
<p style="margin-top:0;"><span style="font-size:x-small;">destinationStream = </span><span style="color:#0000ff;font-size:x-small;">new</span><span style="font-size:x-small;"> </span><span style="color:#008080;font-size:x-small;">FileStream</span><span style="font-size:x-small;"> ( destinationFile, </span><span style="color:#008080;font-size:x-small;">FileMode</span><span style="font-size:x-small;">.Create );</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">destinationStream.Write ( buffer, 0, total );</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#008000;font-size:x-small;">// Flush to clean out the buffer</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">destinationStream.Flush ( );</p>
<p style="margin-top:0;">}</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">catch</span><span style="font-size:x-small;"> ( </span><span style="color:#008080;font-size:x-small;">ApplicationException</span><span style="font-size:x-small;"> ex )</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">{</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#008080;font-size:x-small;">MessageBox</span><span style="font-size:x-small;">.Show ( ex.Message, </span><span style="color:#800000;font-size:x-small;">&#8220;An Error occured during compression&#8221;</span><span style="font-size:x-small;">, </span><span style="color:#008080;font-size:x-small;">MessageBoxButtons</span><span style="font-size:x-small;">.OK, </span><span style="color:#008080;font-size:x-small;">MessageBoxIcon</span><span style="font-size:x-small;">.Error );</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">}</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">finally</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">{</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#008000;font-size:x-small;">// Close all streams</span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">if</span><span style="font-size:x-small;"> ( sourceStream != </span><span style="color:#0000ff;font-size:x-small;">null</span><span style="font-size:x-small;"> )</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">sourceStream.Close ( );</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">if</span><span style="font-size:x-small;"> ( decompressedStream != </span><span style="color:#0000ff;font-size:x-small;">null</span><span style="font-size:x-small;"> )</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">decompressedStream.Close ( );</p>
<p></span></p>
<p style="margin-top:0;"><span style="color:#0000ff;font-size:x-small;">if</span><span style="font-size:x-small;"> ( destinationStream != </span><span style="color:#0000ff;font-size:x-small;">null</span><span style="font-size:x-small;"> )</span></p>
<p><span style="font-size:x-small;"></p>
<p style="margin-top:0;">destinationStream.Close ( );</p>
<p style="margin-top:0;">}</p>
<p style="margin-top:0;">}</p>
<p></span></span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sribala.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sribala.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sribala.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sribala.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sribala.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sribala.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sribala.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sribala.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sribala.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sribala.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sribala.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sribala.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sribala.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sribala.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sribala.wordpress.com&amp;blog=9270789&amp;post=80&amp;subd=sribala&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sribala.wordpress.com/2009/09/14/compressdecompress-a-file-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb5b18fc4a1cd96c762791d7f6a27d37?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sribala</media:title>
		</media:content>
	</item>
		<item>
		<title>C# Interview Questions !!</title>
		<link>http://sribala.wordpress.com/2009/09/07/c-interview-questions/</link>
		<comments>http://sribala.wordpress.com/2009/09/07/c-interview-questions/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 10:14:37 +0000</pubDate>
		<dc:creator>sribala</dc:creator>
				<category><![CDATA[Technical Interview]]></category>

		<guid isPermaLink="false">http://sribala.wordpress.com/?p=51</guid>
		<description><![CDATA[1. Interface Vs Abstract For a clear explanation : http://www.codeproject.com/KB/cs/abstractsvsinterfaces.aspx 2. What is Delegates Delegates are functional pointers. It just refer a method. 3. OverLoading Vs OverRiding Overloading is about creating multiple methods with the same name, but different signatures, in the same scope. Overriding is about changing the behavior of a certain method in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sribala.wordpress.com&amp;blog=9270789&amp;post=51&amp;subd=sribala&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color:#666699;">1. Interface Vs Abstract</span></strong></p>
<p>For a clear explanation : <a title="Abstract Vs Interface" href="http://www.codeproject.com/KB/cs/abstractsvsinterfaces.aspx" target="_blank">http://www.codeproject.com/KB/cs/abstractsvsinterfaces.aspx</a></p>
<p><strong><span style="color:#666699;">2. What is Delegates</span></strong></p>
<p>Delegates are functional pointers. It just refer a method.</p>
<p><strong><span style="color:#666699;">3. OverLoading Vs OverRiding</span></strong></p>
<p><strong>Overloading</strong> is about creating multiple methods with the same name, but different signatures, in the same scope.</p>
<p><strong>Overriding</strong> is about changing the behavior of a certain method in the child class from the way it is behaving in the parent class.</p>
<p><strong><span style="color:#666699;">4. Boxing &amp; Unboxing</span></strong></p>
<p>Boxing : Value type converted to reference type</p>
<p>OnBoxing : Referenc type converted to value type</p>
<pre>int i = 1;
object obj = i;		// boxing
int j = (int) obj;	// unboxing<span style="font-family:Georgia;font-size:small;"><span style="line-height:19px;white-space:normal;">
</span></span></pre>
<p><strong><span style="color:#666699;">5. What is a partial class. Give an example?</span></strong></p>
<p>A partial class is a class whose definition is present in 2 or more files..</p>
<pre>using System;
namespace PartialClass
{
 public partial class User
 {
 public void Login()
 {
 Console.WriteLine("I am logging in ....");
 }
 }
 public partial class User
 {
 public void Logout()
 {
 Console.WriteLine("I am logging out..");
 }
 }
 public class Demo
 {
 public static void Main()
 {
 User userObject = new User();
 userObject .Login();
 userObject .Logout();
 }
 }

<strong><span style="font-weight:normal;">}</span> </strong></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sribala.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sribala.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sribala.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sribala.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sribala.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sribala.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sribala.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sribala.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sribala.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sribala.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sribala.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sribala.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sribala.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sribala.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sribala.wordpress.com&amp;blog=9270789&amp;post=51&amp;subd=sribala&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sribala.wordpress.com/2009/09/07/c-interview-questions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb5b18fc4a1cd96c762791d7f6a27d37?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sribala</media:title>
		</media:content>
	</item>
		<item>
		<title>Sql Server Interview Questions !!</title>
		<link>http://sribala.wordpress.com/2009/09/07/sql-server-interview-questions/</link>
		<comments>http://sribala.wordpress.com/2009/09/07/sql-server-interview-questions/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 09:44:02 +0000</pubDate>
		<dc:creator>sribala</dc:creator>
				<category><![CDATA[Technical Interview]]></category>

		<guid isPermaLink="false">http://sribala.wordpress.com/?p=45</guid>
		<description><![CDATA[1. What is View ? A view is a virtual table that consists of columns from one or more tables. Though it is similar to a table, it is stored in the database 2. StoredProcedure Vs Dynamic Query StoredProcedure &#8211; Precomplied Dynamic Query &#8211; Compied each time when its executes 3. What is Cursor ? [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sribala.wordpress.com&amp;blog=9270789&amp;post=45&amp;subd=sribala&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color:#666699;">1. What is View ?</span></strong></p>
<p>A view is a virtual table that consists of columns from one or more tables. Though it is similar to a table, it is stored in the database</p>
<p><span style="color:#666699;"><strong>2. StoredProcedure Vs Dynamic Query</strong></span></p>
<p>StoredProcedure &#8211; Precomplied</p>
<p>Dynamic Query &#8211; Compied each time when its executes</p>
<p><span style="color:#666699;"><strong>3. What is Cursor ?</strong></span></p>
<p>A cursor is a set of rows together with a pointer that identifies a current row.</p>
<p>In other word, Cursor is a database object used by applications to manipulate data in a set on a row-by-row basis, its like recordset in the ASP and visual basic.</p>
<p>Typical syntax of cursor is :</p>
<pre>DECLARE @fName varchar(50), @lName varchar(50)

DECLARE cursorName CURSOR -- Declare cursor

LOCAL SCROLL STATIC

FOR

Select firstName, lastName FROM myTable

OPEN cursorName -- open the cursor

FETCH NEXT FROM cursorName

   INTO @fName, @lName

   PRINT @fName + ' ' + @lName -- print the name

WHILE @@FETCH_STATUS = 0

BEGIN

   FETCH NEXT FROM cursorName

   INTO @fName, @lName

   PRINT @fName + ' ' + @lName -- print the name

END

CLOSE cursorName -- close the cursor

DEALLOCATE cursorName -- Deallocate the cursor</pre>
<p><strong><span style="color:#666699;">4. What is the result of following</span></strong></p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:862px;width:1px;height:1px;">Declare @datevalue datetime</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:862px;width:1px;height:1px;">Declare @intValue int</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:862px;width:1px;height:1px;">Set @intValue = 24</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:862px;width:1px;height:1px;">Set @datevalue = &#8217;2009-08-08 04:55:55&#8242;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:862px;width:1px;height:1px;">Select @datevalue + @intValue</div>
<p>Declare @datevalue datetime</p>
<p>Declare @intValue int</p>
<p>Set @intValue = 1</p>
<p>Set @datevalue = &#8217;2009-08-08 04:55:55&#8242;</p>
<p>Select @datevalue + @intValue</p>
<p><span style="text-decoration:underline;">Answer: </span></p>
<p><strong>2009-08-09 04:55:55.000</strong></p>
<p>So int Value here taken as no of days. if  Set @intValue = 24 means, result will be <strong>2009-09-01 04:55:55.000</strong></p>
<p><strong><span style="color:#666699;">5. What is Trigger ?</span></strong></p>
<p>Triggers are basically used to implement business rules. Triggers is also similar to stored procedures. The difference is that it can be activated when data is added or edited or deleted from a table in a database.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sribala.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sribala.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sribala.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sribala.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sribala.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sribala.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sribala.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sribala.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sribala.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sribala.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sribala.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sribala.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sribala.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sribala.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sribala.wordpress.com&amp;blog=9270789&amp;post=45&amp;subd=sribala&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sribala.wordpress.com/2009/09/07/sql-server-interview-questions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb5b18fc4a1cd96c762791d7f6a27d37?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sribala</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.Net Interview Questions !!</title>
		<link>http://sribala.wordpress.com/2009/09/07/asp-net-interview-questions/</link>
		<comments>http://sribala.wordpress.com/2009/09/07/asp-net-interview-questions/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 09:36:20 +0000</pubDate>
		<dc:creator>sribala</dc:creator>
				<category><![CDATA[Technical Interview]]></category>

		<guid isPermaLink="false">http://sribala.wordpress.com/?p=42</guid>
		<description><![CDATA[1. Asp.Net Page Lifecycle Events? Init() – when the page is instantiated Load() – when the page is loaded into server memory PreRender() – the brief moment before the page is displayed to the user as HTML Unload() – when page finishes loading. 2. While on page cycle where is the ViewState is available ? After [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sribala.wordpress.com&amp;blog=9270789&amp;post=42&amp;subd=sribala&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color:#666699;">1. Asp.Net Page Lifecycle Events?</span></strong></p>
<pre><span style="color:#000000;">Init() – when the page is instantiated
Load() – when the page is loaded into server memory
PreRender() – the brief moment before the page is displayed to the user as HTML
Unload() – when page finishes loading.</span></pre>
<p><span style="color:#666699;"><strong>2. While on page cycle where is the ViewState is available ?</strong></span></p>
<p><span style="color:#000000;">After the Init() and before the Page_Load(), or OnLoad()</span></p>
<p><span style="color:#000000;"><strong><span style="color:#666699;">3. How to avoid the Validation for Cancel button ?</span></strong></span></p>
<p><span style="color:#000000;"><span style="color:#000000;">Set CausesValidation = &#8220;false&#8221; or by using ValidationGroup.</span></span></p>
<p><span style="color:#000000;"><span style="color:#000000;"><strong><span style="color:#666699;">4. DataGrid Vs GridView</span></strong></span></span></p>
<p><span style="color:#000000;"><span style="color:#000000;"><span style="color:#000000;">GridView &#8211; It has the advanced features paging and sorting can be implemented withour postback</span></span></span></p>
<p><span style="color:#666699;"><span style="color:#000000;">DataGrid &#8211; Have to write code with postback !</span></span></p>
<p><span style="color:#666699;"><span style="color:#888888;"><strong><span style="color:#666699;">5. Global.asax used for ?</span></strong></span></span></p>
<p><span style="color:#666699;"><span style="color:#000000;">used to implement application and session level events</span></span></p>
<p><span style="color:#666699;"><span style="color:#000000;"><strong><span style="color:#666699;">6. Lifespan of ViewState</span></strong></span></span></p>
<p><span style="color:#666699;"><span style="color:#000000;">ViewState exist for the life of the current page which includes postbacks too ..</span></span></p>
<p><span style="color:#666699;"><span style="color:#000000;"><strong><span style="color:#666699;">7. How to check all the checkboxes which available inside gridview ?</span></strong></span></span></p>
<p><span style="color:#666699;"><span style="color:#000000;"> </span></span></p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;asp:UpdatePanel ID=&#8221;pnlUpdate&#8221; runat=&#8221;server&#8221; UpdateMode=&#8221;Conditional&#8221;&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;ContentTemplate&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;div align=&#8221;left&#8221;&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;asp:Button ID=&#8221;btnCheck&#8221; runat=&#8221;server&#8221; Text=&#8221;Check/Uncheck All&#8221; BorderStyle=&#8221;Ridge&#8221;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">BackColor=&#8221;#CCCCCC&#8221; ForeColor=&#8221;#FFFFFF&#8221; onclick=&#8221;btnCheck_Click&#8221; /&gt; &amp;nbsp;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;/div&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;br /&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;div&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;asp:GridView ID=&#8221;gvCheck&#8221; runat=&#8221;server&#8221; Width=&#8221;100%&#8221; AutoGenerateColumns=&#8221;false&#8221; AlternatingRowStyle-BackColor=&#8221;#EEEEEE&#8221;&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;Columns&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;asp:TemplateField&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;ItemTemplate&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;asp:CheckBox runat=&#8221;server&#8221; ID=&#8221;RowLevelCheckBox&#8221; /&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;/ItemTemplate&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;/asp:TemplateField&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;asp:BoundField DataField=&#8221;Name&#8221; HeaderText=&#8221;Name&#8221; /&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;asp:BoundField DataField=&#8221;DateValue&#8221; HeaderText=&#8221;DateValue&#8221; /&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;/Columns&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;/asp:GridView&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;/div&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;/ContentTemplate&gt;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:414px;width:1px;height:1px;">&lt;/asp:UpdatePanel&gt;</div>
<p><span style="text-decoration:underline;">Client Side :</span></p>
<pre><span style="color:#3366ff;">&lt;asp:UpdatePanel ID="pnlUpdate" runat="server" UpdateMode="Conditional"&gt;</span>
<span style="color:#3366ff;">            &lt;ContentTemplate&gt;</span>
<span style="color:#3366ff;">                &lt;div align="left"&gt;</span>
<span style="color:#3366ff;">                    &lt;asp:Button ID="btnCheck" runat="server" Text="Check/Uncheck All" BorderStyle="Ridge" </span>
<span style="color:#3366ff;">                        BackColor="#CCCCCC" ForeColor="#FFFFFF" onclick="btnCheck_Click" /&gt; &amp;nbsp;</span>
<span style="color:#3366ff;">                  </span>
<span style="color:#3366ff;">                &lt;/div&gt;</span>
<span style="color:#3366ff;">                &lt;br /&gt;</span>
<span style="color:#3366ff;">                &lt;div&gt;</span>
<span style="color:#3366ff;">                    &lt;asp:GridView ID="gvCheck" runat="server" Width="100%" AutoGenerateColumns="false" AlternatingRowStyle-BackColor="#EEEEEE"&gt;</span>
<span style="color:#3366ff;">                        &lt;Columns&gt;</span>
<span style="color:#3366ff;">                            &lt;asp:TemplateField&gt;</span>
<span style="color:#3366ff;">                                &lt;ItemTemplate&gt;</span>
<span style="color:#3366ff;">                                    &lt;asp:CheckBox runat="server" ID="RowLevelCheckBox" /&gt;</span>
<span style="color:#3366ff;">                                &lt;/ItemTemplate&gt;</span>
<span style="color:#3366ff;">                            &lt;/asp:TemplateField&gt;</span>
<span style="color:#3366ff;">                            &lt;asp:BoundField DataField="Name" HeaderText="Name" /&gt;</span>
<span style="color:#3366ff;">                            &lt;asp:BoundField DataField="DateValue" HeaderText="DateValue" /&gt;</span>
<span style="color:#3366ff;">                        &lt;/Columns&gt;</span>
<span style="color:#3366ff;">                    &lt;/asp:GridView&gt;</span>
<span style="color:#3366ff;">                &lt;/div&gt;</span>
<span style="color:#3366ff;">            </span>
<span style="color:#3366ff;">            &lt;/ContentTemplate&gt;</span>
<span style="color:#3366ff;">        &lt;/asp:UpdatePanel&gt;</span></pre>
<p><span style="color:#666699;"><span style="color:#000000;"><img class="aligncenter size-full wp-image-59" title="Check" src="http://sribala.files.wordpress.com/2009/09/check.jpg?w=600&#038;h=202" alt="Check" width="600" height="202" /></span></span></p>
<p><span style="text-decoration:underline;">Server Side :</span></p>
<pre>protected void btnCheck_Click(object sender, EventArgs e)

    {

        CheckChange();

    }

    private void CheckChange()

    {

        int nRowCount = gvCheck.Rows.Count;

        for (int nIndex = 0; nIndex &lt; nRowCount; nIndex++)

        {

            CheckBox chkChange = (CheckBox)gvCheck.Rows[nIndex].FindControl("RowLevelCheckBox");

            if (chkChange != null)

            {

                if (chkChange.Checked)

                    chkChange.Checked = false;

                else

                    chkChange.Checked = true;

            }

        }

    }</pre>
<p><strong><span style="color:#666699;">8. What is AutoEventWireUp ?</span></strong></p>
<p>AutoEventWireup is an attribute in Page directive. It&#8217;s a Boolean attribute which indicates whether the asp.net pages events (Page_Init, Page_Load , etc.,) are auto-wired.</p>
<p><span style="color:#666699;"><strong>9. How to generate row number in the grid ?</strong></span></p>
<p><span class="Apple-style-span" style="border-collapse:separate;color:#000000;font-family:'Times New Roman';font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0;text-transform:none;white-space:normal;widows:2;word-spacing:0;"><span class="Apple-style-span" style="border-collapse:collapse;color:#505050;font-family:'Segoe UI';font-size:13px;">&lt;asp:TemplateField&gt;</p>
<p>&lt;ItemTemplate&gt;</p>
<p><span style="color:#ff1493;"><strong><span class="Apple-converted-space"> </span>&lt;%# Container.DataItemIndex + 1 %&gt;</strong></span></p>
<p>&lt;/ItemTemplate&gt;</p>
<p>&lt;/asp:TemplateField&gt;</span></span></p>
<p><span style="color:#666699;"><span style="color:#000000;"><span style="text-decoration:underline;"><span style="text-decoration:underline;"><span style="text-decoration:none;"> </span></span><span style="text-decoration:underline;"> </span></span></span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sribala.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sribala.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sribala.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sribala.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sribala.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sribala.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sribala.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sribala.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sribala.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sribala.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sribala.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sribala.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sribala.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sribala.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sribala.wordpress.com&amp;blog=9270789&amp;post=42&amp;subd=sribala&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sribala.wordpress.com/2009/09/07/asp-net-interview-questions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb5b18fc4a1cd96c762791d7f6a27d37?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sribala</media:title>
		</media:content>

		<media:content url="http://sribala.files.wordpress.com/2009/09/check.jpg" medium="image">
			<media:title type="html">Check</media:title>
		</media:content>
	</item>
		<item>
		<title>Map API</title>
		<link>http://sribala.wordpress.com/2009/09/03/map-api/</link>
		<comments>http://sribala.wordpress.com/2009/09/03/map-api/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 11:25:24 +0000</pubDate>
		<dc:creator>sribala</dc:creator>
				<category><![CDATA[Map - Google Vs Microsoft]]></category>

		<guid isPermaLink="false">http://sribala.wordpress.com/?p=33</guid>
		<description><![CDATA[We are all know about lots of APIs are available for Map controls.. Main two things I feel about Google &#38; Microsoft Virtual Earth Map.. I m not sure which one is best .. Lets start your experience over these Map APIs.. About Pros &#38; Cors !!! Lets start our controversies ! Regards Bala<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sribala.wordpress.com&amp;blog=9270789&amp;post=33&amp;subd=sribala&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We are all know about lots of APIs are available for Map controls..</p>
<p>Main two things I feel about Google &amp; Microsoft Virtual Earth Map.. I m not sure which one is best ..</p>
<p>Lets start your experience over these Map APIs.. About Pros &amp; Cors !!!</p>
<p>Lets start our controversies !</p>
<p>Regards</p>
<p>Bala</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sribala.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sribala.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sribala.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sribala.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sribala.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sribala.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sribala.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sribala.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sribala.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sribala.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sribala.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sribala.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sribala.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sribala.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sribala.wordpress.com&amp;blog=9270789&amp;post=33&amp;subd=sribala&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sribala.wordpress.com/2009/09/03/map-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb5b18fc4a1cd96c762791d7f6a27d37?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sribala</media:title>
		</media:content>
	</item>
		<item>
		<title>Overlay Images &#8211; LightBox</title>
		<link>http://sribala.wordpress.com/2009/09/03/overlay-images-lightbox/</link>
		<comments>http://sribala.wordpress.com/2009/09/03/overlay-images-lightbox/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 10:59:17 +0000</pubDate>
		<dc:creator>sribala</dc:creator>
				<category><![CDATA[Concepts over ASP.Net]]></category>

		<guid isPermaLink="false">http://sribala.wordpress.com/?p=30</guid>
		<description><![CDATA[Lightbox is a simple unnoticeable script used to overlay images. Those who are looking for professional display of overlay images they can move with Lightbox concept. Where we can use this ? Just think as you have the list of the product images (Datalist,GridView or whatever it may be) as grid.. you can just place a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sribala.wordpress.com&amp;blog=9270789&amp;post=30&amp;subd=sribala&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Lightbox </strong>is a simple unnoticeable script used to overlay images.</p>
<p>Those who are looking for professional display of overlay images they can move with <strong>Lightbox </strong>concept.</p>
<p><span style="color:#ff6600;"><br />
</span></p>
<p><span style="color:#ff6600;"><strong>Where we can use this ?</strong></span></p>
<p>Just think as you have the list of the product images (Datalist,GridView or whatever it may be) as grid..<br />
you can just place a small image for that grids. For best example think about shopping cart websites.</p>
<p>If you like to see the maximized view of the image , what will be your option..</p>
<p>For that type of cases we can use this lightbox..</p>
<p>To understand more clearly look at the followinglink :</p>
<p><a title="Lighbox" href="http://www.huddletogether.com/projects/lightbox2/" target="_blank">http://www.huddletogether.com/projects/lightbox2/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sribala.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sribala.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sribala.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sribala.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sribala.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sribala.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sribala.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sribala.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sribala.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sribala.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sribala.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sribala.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sribala.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sribala.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sribala.wordpress.com&amp;blog=9270789&amp;post=30&amp;subd=sribala&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sribala.wordpress.com/2009/09/03/overlay-images-lightbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb5b18fc4a1cd96c762791d7f6a27d37?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sribala</media:title>
		</media:content>
	</item>
		<item>
		<title>AJAXSlideshowExtender in ASP.Net</title>
		<link>http://sribala.wordpress.com/2009/09/03/how-ajaxslideshowextender-works/</link>
		<comments>http://sribala.wordpress.com/2009/09/03/how-ajaxslideshowextender-works/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 10:27:42 +0000</pubDate>
		<dc:creator>sribala</dc:creator>
				<category><![CDATA[Concepts over ASP.Net]]></category>

		<guid isPermaLink="false">http://sribala.wordpress.com/?p=20</guid>
		<description><![CDATA[We all familiar with Slideshow.. How to approach Slideshow through ASP.Net with the use of AJAX.. Before that, you have to add the AjaxControlToolKit on your Web application&#8230;&#8230;.. To Add AjaxControltoolkit Follow these : Step 1: Visit this site http://ajaxcontroltoolkit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=27326#ReleaseFiles Step 2: Click  AJAXControlToolkitBinary.zip , on this folder a dll is availble &#8220;AjaxControlToolkit.dll&#8221; Step 3: Open [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sribala.wordpress.com&amp;blog=9270789&amp;post=20&amp;subd=sribala&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We all familiar with Slideshow.. How to approach Slideshow through ASP.Net with the use of AJAX..</p>
<p>Before that, you have to add the AjaxControlToolKit on your Web application&#8230;&#8230;..</p>
<p>To Add AjaxControltoolkit Follow these :</p>
<p><strong>Step 1: </strong>Visit this site <a title="AjaxControlToolkit Download" href="http://ajaxcontroltoolkit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=27326#ReleaseFiles" target="_blank">http://ajaxcontroltoolkit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=27326#ReleaseFiles</a></p>
<p><strong>Step 2: </strong>Click <strong> <span style="font-weight:normal;"><img class="FileTypeImage" style="border-width:0;" src="http://i3.codeplex.com/Images/v15559/RuntimeBinary.gif" alt="Application" align="middle" /> <a id="ctl00_ctl00_MasterContent_Content_ReleasePanelOrderingContainer_ReleaseFilesCtrl_FileList_ctl00_FileNameHyperLink" class="FileNameLink" href="http://ajaxcontroltoolkit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=27326#DownloadId=68191">AJAXControlToolkitBinary.zip</a> , on this folder a dll is availble &#8220;AjaxControlToolkit.dll&#8221;</span></strong></p>
<p><strong>Step 3:<span style="font-weight:normal;"> Open your </span>Visual Studio<span style="font-weight:normal;"> Web Application </span></strong></p>
<p><strong>Step 4:<span style="font-weight:normal;"> On the </span>ToolBox<span style="font-weight:normal;">, Just Right Click and Choose </span>Add Tab. </strong>Make a name for that tab, for example type &#8220;AjaxControlToolKit&#8221;</p>
<p><strong>Step 5</strong>: Right Click the partcular tab(AjaxControlToolKit) And choose <strong>&#8220;Choose Items&#8221;. </strong>Now you can see the popup to choose components<strong>. </strong>On<strong> </strong><strong>.Net Framework Components </strong>tab click the<strong> browse button </strong>and map <strong>AjaxControltoolkit.dll </strong>where u have in the local system</p>
<p>Now all the components in the AjaxToolkit are available on your application.</p>
<p><strong>Step 6: </strong>Register your AjaxToolkit on the top of the page</p>
<p><span style="color:#0000ff;">&lt;%@ Register Assembly=&#8221;AjaxControlToolkit&#8221; Namespace=&#8221;AjaxControlToolkit&#8221; TagPrefix=&#8221;Ajax&#8221; %&gt;</span></p>
<p>Now Start with the Slideshow,</p>
<p>On the Design Part place this&#8230;</p>
<p><span style="color:#3366ff;">&lt;div id=&#8221;SlideShowPanel&#8221;&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;asp:UpdatePanel ID=&#8221;updateSlider&#8221; runat=&#8221;server&#8221; UpdateMode=&#8221;Conditional&#8221;&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;ContentTemplate&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;div id=&#8221;SlideShowHeader&#8221;&gt;</span></p>
<p><span style="color:#3366ff;"> Our valuable projects&lt;/div&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;div id=&#8221;Slider&#8221;&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;div style=&#8221;background-color: #FFFFFF;&#8221;&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;br /&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;table width=&#8221;100%&#8221; cellpadding=&#8221;0&#8243; cellspacing=&#8221;0&#8243;&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;tr&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;td align=&#8221;center&#8221; valign=&#8221;middle&#8221;&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;asp:ImageButton ID=&#8221;btnPrevious&#8221; ImageUrl=&#8221;~/Images/scroll_left.png&#8221; runat=&#8221;server&#8221; /&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;/td&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;td align=&#8221;center&#8221; valign=&#8221;middle&#8221;&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;div&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;asp:Image ID=&#8221;imgView&#8221; runat=&#8221;server&#8221; /&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;/div&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;div&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;asp:Label ID=&#8221;lblProject&#8221; runat=&#8221;server&#8221; Font-Bold=&#8221;true&#8221;&gt;&lt;/asp:Label&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;/div&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;div&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;asp:Label ID=&#8221;lblDescription&#8221; runat=&#8221;server&#8221;&gt;&lt;/asp:Label&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;/div&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;/td&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;td align=&#8221;center&#8221; valign=&#8221;middle&#8221;&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;asp:ImageButton ID=&#8221;btnNext&#8221; runat=&#8221;server&#8221; ImageUrl=&#8221;~/Images/scroll_right.png&#8221; /&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;/td&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;/tr&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;/table&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;br /&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;/div&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;/div&gt;</span></p>
<p><span style="color:#3366ff;"> </span></p>
<p><span style="color:#3366ff;"> &lt;Ajax:SlideShowExtender ID=&#8221;SlidShowExtender1&#8243; AutoPlay=&#8221;true&#8221; ImageTitleLabelID=&#8221;lblProject&#8221; Loop=&#8221;true&#8221; runat=&#8221; NextButtonID=&#8221;btnNext&#8221; PreviousButtonID=&#8221;btnPrevious&#8221; ImageDescriptionLabelID=&#8221;lblDescription&#8221; SlideShowServiceMethod=&#8221;GetSlides&#8221; TargetControlID=&#8221;imgView&#8221;&gt;</span></p>
<p><span style="color:#3366ff;"><br />
</span></p>
<p><span style="color:#3366ff;"> &lt;/Ajax:SlideShowExtender&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;/ContentTemplate&gt;</span></p>
<p><span style="color:#3366ff;"> &lt;/asp:UpdatePanel&gt;</span></p>
<p>On the Server Write down these codings..</p>
<p><span style="color:#3366ff;">[System.Web.Services.WebMethod]</span></p>
<p><span style="color:#3366ff;">[System.Web.Script.Services.ScriptMethod]</span></p>
<p><span style="color:#3366ff;"> public static AjaxControlToolkit.Slide[] GetSlides()</span></p>
<p><span style="color:#3366ff;"> {</span></p>
<p><span style="color:#3366ff;"> AjaxControlToolkit.Slide[] slides = new AjaxControlToolkit.Slide[3];</span></p>
<p><span style="color:#3366ff;"><br />
</span></p>
<p><span style="color:#3366ff;"> slides[0] = new AjaxControlToolkit.Slide(&#8220;Ongoing/101.jpg&#8221;, &#8220;Ongoing Project&#8221;, &#8220;Location : Location 1&#8243;);</span></p>
<p><span style="color:#3366ff;"> slides[1] = new AjaxControlToolkit.Slide(&#8220;Completed/Elevation-rev.jpg&#8221;, &#8220;Completed Project&#8221;, &#8220;Location : Location 2&#8243;);</span></p>
<p><span style="color:#3366ff;"> slides[2] = new AjaxControlToolkit.Slide(&#8220;Completed/Elevation.jpg&#8221;, &#8220;Completed Project&#8221;, &#8220;Location : Location 3&#8243;);</span></p>
<p><span style="color:#3366ff;"> return (slides); </span></p>
<p><span style="color:#3366ff;"> }</span></p>
<p>Just look at the design part we mentioned in <strong>Ajax:SlideShowExtender </strong>called <strong>SlideShowServiceMethod=&#8221;GetSlides&#8221;, </strong>which placed in the serverside. You can add n no of items(slide images) in GetSlides..</p>
<p><strong>Check it and enjoy with AJAX..</strong></p>
<p><strong>Cheers,</strong></p>
<p><strong>Bala</strong></p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;div id=&#8221;SlideShowPanel&#8221;&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;asp:UpdatePanel ID=&#8221;updateSlider&#8221; runat=&#8221;server&#8221; UpdateMode=&#8221;Conditional&#8221;&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;ContentTemplate&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;div id=&#8221;SlideShowHeader&#8221;&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">Our valuable projects&lt;/div&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;div id=&#8221;Slider&#8221;&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;div style=&#8221;background-color: #FFFFFF;&#8221;&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;br /&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;table width=&#8221;100%&#8221; cellpadding=&#8221;0&#8243; cellspacing=&#8221;0&#8243;&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;tr&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;td align=&#8221;center&#8221; valign=&#8221;middle&#8221;&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;asp:ImageButton ID=&#8221;btnPrevious&#8221; ImageUrl=&#8221;~/Images/scroll_left.png&#8221; runat=&#8221;server&#8221; /&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;/td&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;td align=&#8221;center&#8221; valign=&#8221;middle&#8221;&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;div&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;asp:Image ID=&#8221;imgView&#8221; runat=&#8221;server&#8221; /&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;/div&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;div&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;asp:Label ID=&#8221;lblProject&#8221; runat=&#8221;server&#8221; Font-Bold=&#8221;true&#8221;&gt;&lt;/asp:Label&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;/div&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;div&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;asp:Label ID=&#8221;lblDescription&#8221; runat=&#8221;server&#8221;&gt;&lt;/asp:Label&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;/div&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;/td&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;td align=&#8221;center&#8221; valign=&#8221;middle&#8221;&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;asp:ImageButton ID=&#8221;btnNext&#8221; runat=&#8221;server&#8221; ImageUrl=&#8221;~/Images/scroll_right.png&#8221; /&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;/td&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;/tr&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;/table&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;br /&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;/div&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;/div&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;Ajax:SlideShowExtender ID=&#8221;SlidShowExtender1&#8243; AutoPlay=&#8221;true&#8221; ImageTitleLabelID=&#8221;lblProject&#8221; Loop=&#8221;true&#8221; runat=&#8221;server&#8221;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">NextButtonID=&#8221;btnNext&#8221; PreviousButtonID=&#8221;btnPrevious&#8221; ImageDescriptionLabelID=&#8221;lblDescription&#8221; SlideShowServiceMethod=&#8221;GetSlides&#8221; TargetControlID=&#8221;imgView&#8221;&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;/Ajax:SlideShowExtender&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;/ContentTemplate&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;/asp:UpdatePanel&gt;</span></div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"><span style="color:#3366ff;">&lt;/div&gt;</span></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sribala.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sribala.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sribala.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sribala.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sribala.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sribala.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sribala.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sribala.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sribala.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sribala.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sribala.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sribala.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sribala.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sribala.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sribala.wordpress.com&amp;blog=9270789&amp;post=20&amp;subd=sribala&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sribala.wordpress.com/2009/09/03/how-ajaxslideshowextender-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb5b18fc4a1cd96c762791d7f6a27d37?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sribala</media:title>
		</media:content>

		<media:content url="http://i3.codeplex.com/Images/v15559/RuntimeBinary.gif" medium="image">
			<media:title type="html">Application</media:title>
		</media:content>
	</item>
	</channel>
</rss>
