<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1826826399582667554</id><updated>2011-12-03T13:32:35.044+05:30</updated><category term='JQuery'/><category term='Asp.net'/><category term='JSON'/><category term='General'/><category term='CSS'/><category term='New Updates'/><category term='Javascript'/><category term='Computer'/><category term='SQL Server'/><title type='text'>Tech Mania</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>47</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-3556162820762827888</id><published>2011-08-08T22:13:00.000+05:30</published><updated>2011-08-08T22:13:58.242+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>What is Serialization?</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div closure_uid_giabko="121"&gt;&lt;strong&gt;Seralize : -&lt;/strong&gt;&lt;/div&gt;&lt;div closure_uid_giabko="121"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The process of Converting object into a stream of bytes. This stream of bytes can be persisted. Deseralization is the reverse process. It is converting stream of bytes into object.&lt;/div&gt;&lt;div closure_uid_giabko="121"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div closure_uid_giabko="121"&gt;Seralization is generally used during remoting while transporting objects and to persist file objects and database objects.&lt;/div&gt;&lt;div closure_uid_giabko="121"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div closure_uid_giabko="121"&gt;In .net 2 ways of seralization is there : 1) XMLSerializer and 2) BinaryFormatter / SoapFormatter&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-3556162820762827888?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/3556162820762827888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2011/08/what-is-serialization.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/3556162820762827888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/3556162820762827888'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2011/08/what-is-serialization.html' title='What is Serialization?'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-768167423742015824</id><published>2011-06-10T22:04:00.000+05:30</published><updated>2011-06-10T22:04:10.382+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>SubSonic</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: large;"&gt;&lt;b&gt;SubSonic &lt;/b&gt;&lt;/span&gt;is a data-layer builder. More than that, it's an auto-magic object-relational mapping (ORM) tool.&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; &lt;br /&gt;&amp;nbsp;SubSonic reads the structure of your database, and builds classes to provide you with a fast and flexible data access layer. It requires minimal configuration to set up, provides you with a number of different methods for retrieving and saving data, and includes methods to customize the classes&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Once you have created your DAL with SubSonic, either manually or using the build provider, you are ready to begin to query your database. At this writing, there are providers for a number of databases:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft SQL Server 2000 or 2005, including Express&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MySQL&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Oracle&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Compared with other ORMs, SubSonic requires remarkably little  configuration. At a minimum, you will need to add the following to your   web.config (or app.config) file: &lt;/div&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; &lt;/span&gt;&lt;ul style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;li&gt;One or more connection string&lt;u&gt;&lt;span style="color: #0000c8; font-family: inherit ! important; font-size: inherit ! important; font-weight: inherit ! important; position: static;"&gt;&lt;span class="kLink" style="background-color: transparent; border-bottom: 1px solid rgb(0, 0, 200); color: rgb(0, 0, 200) ! important; font-size: inherit ! important; font-weight: inherit ! important; position: static;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/li&gt;&lt;li&gt;The SubSonic section handler&lt;/li&gt;&lt;li&gt;A link between the appropriate connection string(s) and the SubSonic classes&lt;/li&gt;&lt;/ul&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;SubSonic generates three classes for each table in your database:&lt;br /&gt;&lt;/div&gt;&lt;ul style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;"&gt;&lt;li&gt;&amp;nbsp;A singular version of the table name. For example, if you have the table Products, the class will be named Product. This is a strongly-typed class representing a single row in the table. Each column in the table will be represented by a strongly-typed property of the class. Fields that accept null values are defined as nullable.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/li&gt;&lt;li&gt; A controller (e.g. ProductController). This provides the basic CRUD (Create, Retrieve, Update and Delete) functionality. You can use the Controller class as the data source for your page using the ObjectDataSource control.&lt;/li&gt;&lt;/ul&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-768167423742015824?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/768167423742015824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2011/06/subsonic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/768167423742015824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/768167423742015824'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2011/06/subsonic.html' title='SubSonic'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-8575718710639795644</id><published>2010-10-22T16:37:00.001+05:30</published><updated>2010-10-22T16:38:06.712+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>How to override web.config for subfolder?</title><content type='html'>If you have website and there might be subfolder that also contains website then there might be also web.config.&lt;br /&gt;&lt;br /&gt;When you try to run subfolder site it creates problem related connectionstring if connectionstring is with the same name.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So you just have to add &lt;clear&gt; tag in both web.config so your both website running well.&lt;/clear&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-8575718710639795644?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/8575718710639795644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/10/how-to-override-webconfig-for-subfolder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8575718710639795644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8575718710639795644'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/10/how-to-override-webconfig-for-subfolder.html' title='How to override web.config for subfolder?'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-7124941268433679390</id><published>2010-10-14T21:35:00.000+05:30</published><updated>2010-10-14T21:35:05.918+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSON'/><title type='text'>what is Json ?</title><content type='html'>JSON is a java script Object Notification, is a lightweight Data-interchange format. Its easy for human read and write. Easy for machine to parse and generate. It is free from language but uses conventions that are familiar to programmer of C,C#,Java etc..&lt;br /&gt;&lt;br /&gt;Json Built on two structures : &lt;br /&gt;&lt;br /&gt;1.&amp;nbsp; A collection of name/value pairs called object, record, struct, key list, hash table in language terms.&lt;br /&gt;2.&amp;nbsp; An ordered list of values called array, vector, list in language terms.&lt;br /&gt;&lt;br /&gt;These are the universal data structures. Virtually all languages supports these structure in one form to another.&lt;br /&gt;&lt;br /&gt;In Json following form is used:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. An object is an unordered set of name/value pairs. which starts with { and ends with } and each name is followed by : and the name/value pair is separated by comma.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. An array is an ordered set of values, which starts with [ and ends with ] and each value is separated by comma.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. A value can be string, int, struct, array, object and these structures can be nested.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. A string is a collection of zero or more Unicode characters, wrapped in double quotes, using backslash escapes. A character is represented as a single character string. A string is very much like a C or Java string.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-7124941268433679390?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/7124941268433679390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/10/what-is-json.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/7124941268433679390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/7124941268433679390'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/10/what-is-json.html' title='what is Json ?'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-2256093266855298201</id><published>2010-08-25T14:38:00.000+05:30</published><updated>2010-08-25T14:38:13.732+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JQuery'/><title type='text'>Include runtime scripts using jQuery</title><content type='html'>You can also include scripts runtime using jQuery. It makes it easy to have lazy script loading.&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;See the example below :&lt;br /&gt;&lt;br /&gt;$(function(){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("head").append("&lt;script src="script.js" type="text/javascript"&gt;&lt;/script&gt;");&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Or, loading only when the slow stuff is ready:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("img,form").load(function(){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $("head").append("&lt;script src="script.js" type="text/javascript"&gt;&lt;/script&gt;");&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;br /&gt;});&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-2256093266855298201?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/2256093266855298201/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/08/include-runtime-scripts-using-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2256093266855298201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2256093266855298201'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/08/include-runtime-scripts-using-jquery.html' title='Include runtime scripts using jQuery'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-2839598954586684831</id><published>2010-08-25T12:35:00.000+05:30</published><updated>2010-08-25T12:35:28.012+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JQuery'/><title type='text'>Create a 'Back-To-Top' link using jQuery with disappearing effect.</title><content type='html'>&amp;nbsp;Use the following script :&lt;br /&gt;&lt;br /&gt;$(function(){&lt;br /&gt;/* set variables locally for increased performance */&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var scroll_timer, &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; displayed = false,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $message = $('#message a'),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $window = $(window),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; top = $(document.body).children(0).position().top;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* react to scroll event on window */&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $window.scroll(function () {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; window.clearTimeout(scroll_timer);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; scroll_timer = window.setTimeout(function () { // use a timer for performance&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if($window.scrollTop() &amp;lt;= top) // hide if at the top of the page&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; displayed = false;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $message.fadeOut(500);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; else if(displayed == false) // show if scrolling down&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; displayed = true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $message.stop(true, true).show().click(function () { $message.fadeOut(500); });&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }, 100);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;see the example from the below site : &lt;br /&gt;&lt;br /&gt;http://briancray.com/2009/10/06/scroll-to-top-link-jquery-css/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-2839598954586684831?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/2839598954586684831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/08/create-back-to-top-link-using-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2839598954586684831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2839598954586684831'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/08/create-back-to-top-link-using-jquery.html' title='Create a &apos;Back-To-Top&apos; link using jQuery with disappearing effect.'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-7648761214805878541</id><published>2010-08-25T12:18:00.000+05:30</published><updated>2010-08-25T12:18:15.149+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JQuery'/><title type='text'>Manage Search textbox value with jQuery</title><content type='html'>How to manage search textbox value when there is some default text in textbox and on focus or blur that text will not appear using jQuery??&lt;br /&gt;&lt;br /&gt;See the example :&lt;br /&gt;&lt;br /&gt;$(function(){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //set default value:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#searchbox")&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; .val('search?'); // textbox contains default value 'search'&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; .focus(function(){this.val('')})&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; .blur(function(){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; (this.val() === '')? this.val('search?') : null;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; });&lt;br /&gt;});&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-7648761214805878541?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/7648761214805878541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/08/manage-search-textbox-value-with-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/7648761214805878541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/7648761214805878541'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/08/manage-search-textbox-value-with-jquery.html' title='Manage Search textbox value with jQuery'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-4000561510779908724</id><published>2010-08-25T12:11:00.000+05:30</published><updated>2010-08-25T12:11:06.261+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JQuery'/><title type='text'>How to access iFrame elements using jQuery?</title><content type='html'>To access the iFrame elements inside the javascript, there is a method contents(), which enables us to access elements of iFrame.&lt;br /&gt;&lt;br /&gt;See the example below :&lt;br /&gt;&lt;br /&gt;$(function(){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var iFrameDOM = $("iframe#ID").contents();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Now you can use &lt;strong&gt;find()&lt;/strong&gt; to access any element in the iframe:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iFrameDOM.find(".message").slideUp();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Slides up all elements classed 'message' in the iframe&lt;br /&gt;});&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-4000561510779908724?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/4000561510779908724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/08/how-to-access-iframe-elements-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/4000561510779908724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/4000561510779908724'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/08/how-to-access-iframe-elements-using.html' title='How to access iFrame elements using jQuery?'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-1974096230308824542</id><published>2010-08-11T11:12:00.001+05:30</published><updated>2010-08-11T11:13:13.813+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JQuery'/><title type='text'>Rating with jQuery</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_u4hfXm9ENgI/TGI3qy7eIGI/AAAAAAAAAKg/F_sbmr_oEHs/s1600/Untitled-1.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_u4hfXm9ENgI/TGI3qy7eIGI/AAAAAAAAAKg/F_sbmr_oEHs/s320/Untitled-1.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It is an example of rating control using in asp.net with jQuery and get more functionality of messaging on hover of an image.&lt;br /&gt;&lt;br /&gt;See the demo and download source from the following website "&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.marcofolio.net/webdesign/jquery_quickie_colourful_rating_system_with_css3.html"&gt;http://www.marcofolio.net/webdesign/jquery_quickie_colourful_rating_system_with_css3.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-1974096230308824542?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/1974096230308824542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/08/rating-with-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/1974096230308824542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/1974096230308824542'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/08/rating-with-jquery.html' title='Rating with jQuery'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_u4hfXm9ENgI/TGI3qy7eIGI/AAAAAAAAAKg/F_sbmr_oEHs/s72-c/Untitled-1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-3460084311203210257</id><published>2010-08-11T11:01:00.004+05:30</published><updated>2010-08-11T11:04:52.129+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JQuery'/><title type='text'>Chkeditor with full functionality with jQuery</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_u4hfXm9ENgI/TGIzkyn7PBI/AAAAAAAAAKQ/Khbj5AHEwtE/s1600/Untitled-1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="210" src="http://3.bp.blogspot.com/_u4hfXm9ENgI/TGIzkyn7PBI/AAAAAAAAAKQ/Khbj5AHEwtE/s400/Untitled-1.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Above is an example of chkeditor. It includes flash, Images, tables and many functionality at design side.&lt;br /&gt;This editor is also multilingual editor. You can also change the languages and according to that your editor works.&lt;br /&gt;&lt;br /&gt;You can download source from the following site :&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.queness.com/post/212/10-jquery-and-non-jquery-javascript-rich-text-editors%20"&gt;http://www.queness.com/post/212/10-jquery-and-non-jquery-javascript-rich-text-editors &lt;/a&gt;&lt;br /&gt;&lt;a href="http://ckeditor.com/demo"&gt;http://ckeditor.com/demo&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-3460084311203210257?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/3460084311203210257/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/08/chkeditor-with-full-functionality-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/3460084311203210257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/3460084311203210257'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/08/chkeditor-with-full-functionality-with.html' title='Chkeditor with full functionality with jQuery'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_u4hfXm9ENgI/TGIzkyn7PBI/AAAAAAAAAKQ/Khbj5AHEwtE/s72-c/Untitled-1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-8768482457562466653</id><published>2010-08-06T14:12:00.000+05:30</published><updated>2010-08-06T14:12:53.895+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JQuery'/><title type='text'>How to find nth row or table using jQuery?</title><content type='html'>Try this :&lt;br /&gt;&lt;br /&gt;$(document).ready(function(){&lt;br /&gt;&lt;br /&gt;$("table tr:eq(3)).css("background","#000");&lt;br /&gt;&lt;br /&gt;}) ;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-8768482457562466653?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/8768482457562466653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/08/how-to-find-nth-row-or-table-using.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8768482457562466653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8768482457562466653'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/08/how-to-find-nth-row-or-table-using.html' title='How to find nth row or table using jQuery?'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-779807915365394684</id><published>2010-08-05T09:58:00.001+05:30</published><updated>2010-08-05T10:01:30.681+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>How to Search in google?</title><content type='html'>There are some ways to search in google engine.You googling many ways but with the right commands and shortcuts which will help to you.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;One powerful way to search is use &lt;b&gt;search prefix&lt;/b&gt; like if you want to search for a website then write '&lt;b&gt;site&lt;/b&gt;' and seperate word by colon and write your search words or you can say predefined &lt;b&gt;triggers &lt;/b&gt;:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;for example : &lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/li&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;site : asp.net&amp;nbsp; &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;weather : Ahmedabad&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;images : cartoon&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;You can add suffix also if you know your particular search like you want to search India map then write &lt;b&gt;India Map. &lt;/b&gt;Google gives answer immediately. &lt;/li&gt;&lt;li&gt;Third powerful thing about google is that it does &lt;b&gt;Math Conversation&lt;/b&gt; also like if you type &lt;b&gt;7+10&lt;/b&gt; in google it gives you answer &lt;b&gt;17&lt;/b&gt; rather then search other things. You can also calculate square root values also like&lt;b&gt; (5+10) + (sqrt 10) ^15&lt;/b&gt; you get &lt;b&gt;31622791.6.&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Fourth one is that &lt;b&gt;Conversations&lt;/b&gt; like if you want to 1 $ to Indian rs you can do it very simply by writing &lt;b&gt;1 dollar in rupees, 20f to c &lt;/b&gt;(converts Fahrenheit to Celsius)&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Now last but not the list, you can search specific files like pdf or doc or others. For this purpose use &lt;b&gt;filetype&lt;/b&gt; prefix.&amp;nbsp;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;filve point some one filetype : pdf&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-779807915365394684?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/779807915365394684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/08/how-to-search-in-google.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/779807915365394684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/779807915365394684'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/08/how-to-search-in-google.html' title='How to Search in google?'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-1344199272561310147</id><published>2010-07-19T10:26:00.000+05:30</published><updated>2010-07-19T10:26:18.382+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><title type='text'>How to create Rounded border of a div?</title><content type='html'>Css is as follow :&lt;br /&gt;&lt;br /&gt;-moz-border-radius : 10px;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-1344199272561310147?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/1344199272561310147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-to-create-rounded-border-of-div.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/1344199272561310147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/1344199272561310147'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-to-create-rounded-border-of-div.html' title='How to create Rounded border of a div?'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-8281022158127155151</id><published>2010-07-19T09:53:00.004+05:30</published><updated>2010-07-19T09:55:43.828+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>How to prevent Back button in browser?</title><content type='html'>Write down below lines in script tag in your page.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function noback() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.history.forward();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; noback();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.onload = noback;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.onunload = function() { void (0); }&lt;br /&gt;&lt;script type="text/javascript"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function noback() {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.history.forward();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; noback();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.onload = noback;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.onunload = function() { void (0); }&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/script&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function noback() {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.history.forward();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; noback();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.onload = noback;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.onunload = function() { void (0); }&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/script&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function noback() {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.history.forward();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; noback();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.onload = noback;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.onunload = function() { void (0); }&lt;/script&gt;&lt;br /&gt;For example suppose you have one page "Signout.aspx", your write down this code in this page. This page signs out user from the site then redirects to your home page so from the home page user cannot come again to "Signout.aspx" page.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-8281022158127155151?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/8281022158127155151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-to-prevent-back-button-in-browser.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8281022158127155151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8281022158127155151'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-to-prevent-back-button-in-browser.html' title='How to prevent Back button in browser?'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-1294167673716152814</id><published>2010-07-19T08:49:00.000+05:30</published><updated>2010-07-19T08:49:03.337+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>How can we calculate execution time of particular function?</title><content type='html'>&lt;ul&gt;&lt;li&gt;Create DateTime dtStart = DateTime.Now;&lt;/li&gt;&lt;li&gt;Call the function you want to test.&lt;/li&gt;&lt;li&gt;After calling function write DateTime dtEnd = DateTime.Now;&lt;/li&gt;&lt;li&gt;Now create TimeSpan object to know the difference between starting time and ending time.&lt;/li&gt;&lt;/ul&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TimeSpan ts = dtEnd - dtStart; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Example:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTime dtStart = DateTime.Now;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; functionName(params);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTime dtEnd = DateTime.Now;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeSpan ts = dtEnd - dtStart;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-1294167673716152814?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/1294167673716152814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-can-we-calculate-execution-time-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/1294167673716152814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/1294167673716152814'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-can-we-calculate-execution-time-of.html' title='How can we calculate execution time of particular function?'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-4337825043750067375</id><published>2010-07-17T15:23:00.000+05:30</published><updated>2010-07-17T15:23:05.809+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>How to get Event Arguments in code behind?</title><content type='html'>You can get Event arguments using below syntax :&lt;br /&gt;&lt;br /&gt;string mystring = Request["__EVENTARGUMENT"]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-4337825043750067375?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/4337825043750067375/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-to-get-event-arguments-in-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/4337825043750067375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/4337825043750067375'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-to-get-event-arguments-in-code.html' title='How to get Event Arguments in code behind?'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-7767212986117370314</id><published>2010-07-17T10:00:00.005+05:30</published><updated>2010-07-17T10:25:59.979+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='New Updates'/><title type='text'>New Browser : Epic  Nation's First Browser Lunched By Indian for Indians</title><content type='html'>The first-ever browser of the country has been achieved by Hidden Reflex, a software and web application product startup based in Bangalore.&lt;br /&gt;&lt;br /&gt;Epic Browser is a Internet web browser which is built on the Mozilla platform, Epic has certain striking features that make it a unique browser altogether. It's Looks like&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_u4hfXm9ENgI/TEEw17z51CI/AAAAAAAAAKI/y1_vdUN4czs/s1600/untitled.bmp" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://4.bp.blogspot.com/_u4hfXm9ENgI/TEEw17z51CI/AAAAAAAAAKI/y1_vdUN4czs/s400/untitled.bmp" width="400" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;Some of its unique features are:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;ul&gt;&lt;li&gt;An inbuilt anti-virus, powered by ESET, whose NOD 32 product is very&amp;nbsp; popular the world over.&lt;/li&gt;&lt;li&gt;India centric with support for 12 different Indian languages including &amp;nbsp;Hindi, Gujarati, Marathi, Kannada, Telugu, Bengali, Tamil, Malayalam, Urdu and Punjabi. &lt;/li&gt;&lt;li&gt;Indic app allows for typing in these Indian languages.&lt;/li&gt;&lt;li&gt;More than 1500 themes ranging from freedom fighters to film stars to represent the unity in diversity of the country.&lt;/li&gt;&lt;li&gt;A word processor to create or edit documents.&lt;/li&gt;&lt;li&gt;India specific news from popular publications.&lt;/li&gt;&lt;li&gt;Social Networking sites like Facebook and Twitter on the sidebar,&amp;nbsp; apart from YouTube( watchable in a pop-up window), Gmail and Yahoo and live cricket score.&lt;/li&gt;&lt;li&gt;Other useful sidebar widgets include Travel, Stocks, Maps, and Jobs.&lt;/li&gt;&lt;li&gt;File backup and My Computer utilities.&lt;/li&gt;&lt;li&gt;Can add your To Do's and set Timers.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&amp;nbsp;For more detail :&lt;br /&gt;&lt;br /&gt;&lt;div id="content"&gt;&lt;div class="chat"&gt;&lt;div class="msg 1st"&gt;&lt;a href="http://timesofindia.indiatimes.com/tech/personal-tech/computing/Meet-Indias-first-web-browser-Epic/articleshow/6176380.cms"&gt;http://timesofindia.indiatimes.com/tech/personal-tech/computing/Meet-Indias-first-web-browser-Epic/articleshow/6176380.cms&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-7767212986117370314?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/7767212986117370314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/new-browser-epic-nations-first-browser.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/7767212986117370314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/7767212986117370314'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/new-browser-epic-nations-first-browser.html' title='New Browser : Epic  Nation&apos;s First Browser Lunched By Indian for Indians'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_u4hfXm9ENgI/TEEw17z51CI/AAAAAAAAAKI/y1_vdUN4czs/s72-c/untitled.bmp' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-1404722946192041603</id><published>2010-07-16T10:55:00.002+05:30</published><updated>2010-07-16T11:00:40.129+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Computer'/><title type='text'>How to AddTo/CopyTo folder on rightclick of folder in Windows Xp/Vista/7?</title><content type='html'>&lt;span style="font-family: times new roman;"&gt;When you want to move a file   but don’t have the other folder open already. You have to open it then copy your this folder. But now no worries when other folder is not open.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: times new roman;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: times new roman;"&gt;Only add &lt;/span&gt;&lt;span style="font-family: times new roman;"&gt;registry in your pc and you will get option of Copy To and Move To on right click of the folder.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: times new roman;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: times new roman;"&gt;Download it from below link :&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: times new roman;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: times new roman;"&gt;&lt;a href="http://greenhackers.blogspot.com/2010/05/add-copy-tomove-to-on-win-7vistaxp.html#more"&gt;http://greenhackers.blogspot.com/2010/05/add-copy-tomove-to-on-win-7vistaxp.html#more&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-1404722946192041603?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='enclosure' type='' href='http://greenhackers.blogspot.com/2010/05/add-copy-tomove-to-on-win-7vistaxp.html#more' length='0'/><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/1404722946192041603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-to-addtocopyto-folder-on-rightclick.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/1404722946192041603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/1404722946192041603'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-to-addtocopyto-folder-on-rightclick.html' title='How to AddTo/CopyTo folder on rightclick of folder in Windows Xp/Vista/7?'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-1159751484294061546</id><published>2010-07-16T09:23:00.000+05:30</published><updated>2010-07-16T09:23:45.318+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><title type='text'>Opacity doesnt work in ie?</title><content type='html'>Opacity attribute does not work in internet explorer?&lt;br /&gt;&lt;br /&gt;There is a alternate for it.&lt;br /&gt;&lt;br /&gt;Filter : alpha(opacity = 80);&lt;br /&gt;&lt;br /&gt;While for firefox its works as opacity = 80.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-1159751484294061546?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/1159751484294061546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/opacity-doesnt-work-in-ie.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/1159751484294061546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/1159751484294061546'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/opacity-doesnt-work-in-ie.html' title='Opacity doesnt work in ie?'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-8521433320032847826</id><published>2010-07-15T16:29:00.000+05:30</published><updated>2010-07-15T16:29:44.196+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>How to break the space separated values in SQL Server?</title><content type='html'>&lt;pre class="prettyprint lang-sql"&gt;&lt;span class="kwd"&gt;Declare&lt;/span&gt;&lt;span class="pln"&gt; @vTable &lt;/span&gt;&lt;span class="kwd"&gt;Table&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="pln"&gt;id &lt;/span&gt;&lt;span class="typ"&gt;int&lt;/span&gt;&lt;span class="pun"&gt;,&lt;/span&gt;&lt;span class="pln"&gt;val &lt;/span&gt;&lt;span class="typ"&gt;varchar&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="lit"&gt;100&lt;/span&gt;&lt;span class="pun"&gt;))&lt;/span&gt;&lt;/pre&gt;&lt;pre class="prettyprint lang-sql"&gt;&lt;span class="pun"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="prettyprint lang-sql"&gt;&lt;span class="kwd"&gt;Insert&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="kwd"&gt;into&lt;/span&gt;&lt;span class="pln"&gt; @vTable &lt;/span&gt;&lt;span class="kwd"&gt;Values&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="lit"&gt;1&lt;/span&gt;&lt;span class="pun"&gt;,&lt;/span&gt;&lt;span class="str"&gt;'Jeni Jeni1 Jeni123'&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="kwd"&gt;Insert&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="kwd"&gt;into&lt;/span&gt;&lt;span class="pln"&gt; @vTable &lt;/span&gt;&lt;span class="kwd"&gt;Values&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="lit"&gt;2&lt;/span&gt;&lt;span class="pun"&gt;,&lt;/span&gt;&lt;span class="str"&gt;'Jeni1 Jeni2 jeni3'&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;/pre&gt;&lt;pre class="prettyprint lang-sql"&gt;&lt;span class="pun"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;Now if you want to break the space separated values in the above  table as;&lt;br /&gt;&lt;br /&gt;ID Val&lt;br /&gt;1&lt;span class="str"&gt; Jeni &lt;/span&gt;&lt;br /&gt;1 Jeni1&lt;br /&gt;1 Jeni123&lt;br /&gt;2 Jeni1&lt;br /&gt;2 Jeni2&lt;br /&gt;2 Jeni3&lt;br /&gt;&lt;br /&gt;Run following query in Sqlserver and get result.&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint lang-sql"&gt;&lt;span class="kwd"&gt;Declare&lt;/span&gt;&lt;span class="pln"&gt; @vTable &lt;/span&gt;&lt;span class="kwd"&gt;Table&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="pln"&gt;id &lt;/span&gt;&lt;span class="typ"&gt;int&lt;/span&gt;&lt;span class="pun"&gt;,&lt;/span&gt;&lt;span class="pln"&gt;val &lt;/span&gt;&lt;span class="typ"&gt;varchar&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="lit"&gt;100&lt;/span&gt;&lt;span class="pun"&gt;))&lt;/span&gt;&lt;/pre&gt;&lt;pre class="prettyprint lang-sql"&gt;&lt;span class="pun"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="prettyprint lang-sql"&gt;&lt;span class="kwd"&gt;Insert&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="kwd"&gt;into&lt;/span&gt;&lt;span class="pln"&gt; @vTable &lt;/span&gt;&lt;span class="kwd"&gt;Values&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="lit"&gt;1&lt;/span&gt;&lt;span class="pun"&gt;,&lt;/span&gt;&lt;span class="str"&gt;'Jeni Jeni1 Jeni123'&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="kwd"&gt;Insert&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="kwd"&gt;into&lt;/span&gt;&lt;span class="pln"&gt; @vTable &lt;/span&gt;&lt;span class="kwd"&gt;Values&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="lit"&gt;2&lt;/span&gt;&lt;span class="pun"&gt;,&lt;/span&gt;&lt;span class="str"&gt;'Jeni1 Jeni2 jeni3'&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;;with wcte (id,val,strpos) as&lt;br /&gt;&lt;br /&gt;(&lt;br /&gt;Select id,substring(val,0,case when charindex(' ',val,0) = 0 then Len(val) else charindex(' ',val,0) + 1 end) as val&lt;br /&gt;,charindex(' ',val,0) + 1 strpos from @vTable&lt;br /&gt;Union all&lt;br /&gt;Select b.id,substring(b.val,strpos,case when charindex(' ',b.val,strpos) = 0 then Len(b.val) else charindex(' ',b.val,strpos) - strpos end) as val&lt;br /&gt;,charindex(' ',b.val,strpos) + 1 strpos &lt;br /&gt;from @vTable b&lt;br /&gt;Inner Join wcte on wcte.id = b.ID&lt;br /&gt;and wcte.strpos &amp;lt;&amp;gt; 1&lt;br /&gt;)Select id,Val from wcte order by id&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint lang-sql"&gt;&lt;span class="pun"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="prettyprint lang-sql"&gt;&lt;span class="pun"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="pun"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-8521433320032847826?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/8521433320032847826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-to-break-space-separated-values-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8521433320032847826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8521433320032847826'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-to-break-space-separated-values-in.html' title='How to break the space separated values in SQL Server?'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-6906751675846702440</id><published>2010-07-15T16:23:00.003+05:30</published><updated>2010-07-15T16:24:59.470+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='New Updates'/><title type='text'>Firefox 3.6 Features</title><content type='html'>&lt;h4&gt;&lt;span style="font-size: small;"&gt;Awesome Bar&lt;/span&gt;&lt;/h4&gt;&lt;h4&gt;&lt;span style="font-size: small; font-weight: normal;"&gt;&amp;nbsp;A quick way to get to the sites you love—even the ones with addresses  you only vaguely remember. Type in term into location bar and the autocomplete function includes possible matching  sites from your browsing history, as well as sites you’ve bookmarked and  tagged in a drop down.&lt;/span&gt; &lt;/h4&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://2.bp.blogspot.com/_u4hfXm9ENgI/TD7kzigXmwI/AAAAAAAAAJ4/3BBO8_0cuXk/s1600/location-bar.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="140" src="http://2.bp.blogspot.com/_u4hfXm9ENgI/TD7kzigXmwI/AAAAAAAAAJ4/3BBO8_0cuXk/s320/location-bar.png" width="320" /&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;For example, you could enter the tag: “investments” to find “&lt;a href="http://www.fool.com/"&gt;www.fool.com&lt;/a&gt;”. The Awesome Bar learns as  you use it—over time, it adapts to your preferences and offers better  fitting matches. Since its initial release in Firefox 3.0 we’ve tweaked  it to give you greater control over the results (including privacy  settings) and increased performance so you find what you need even  faster.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;h4&gt;&lt;span style="font-size: small;"&gt;Tags&lt;/span&gt;&lt;/h4&gt;&lt;h4&gt;&lt;span style="font-size: small; font-weight: normal;"&gt;For example, you can label the site http://timesofindia.indiatimes.com/  with the “news” tag as well as the “foreign investments” tag, plus give  &lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.nytimes.com/" style="font-weight: normal;"&gt;www.nytimes.com&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size: small; font-weight: normal;"&gt; the “news” tag,  too. When you enter “news” into the location bar, both sites will be  shown as results. A single site can have multiple tags, and there’s no  limit to the number of tags you can create. You may not remember the  exact name of a site, but with a tag, you’ll be able to find it in a way  that makes sense to you.&lt;/span&gt; &lt;/h4&gt;&lt;div class="column1"&gt;&lt;script type="text/javascript"&gt;// &lt;![CDATA[if (gPlatform == PLATFORM_MACOSX) { document.write('&lt;img src="/en-US/img/tignish/features/bookmarks-mac.png" alt="One-Click Bookmarking screenshot" /&gt;');} else { document.write('&lt;img src="/en-US/img/tignish/features/bookmarks.png" alt="One-Click Bookmarking screenshot" /&gt;');}// ]]&gt;&lt;/script&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="One-Click Bookmarking screenshot" src="http://www.mozilla.com/en-US/img/tignish/features/bookmarks.png" /&gt;&lt;/span&gt;&lt;noscript&gt;&amp;amp;amp;amp;amp;amp;amp;nbsp;&lt;/noscript&gt;&lt;/div&gt;&lt;div class="column1"&gt;&lt;noscript&gt;&amp;amp;amp;amp;amp;amp;amp;nbsp;&lt;/noscript&gt;&lt;/div&gt;&lt;div class="column1"&gt;&lt;noscript&gt;&amp;amp;amp;amp;amp;amp;amp;lt;div style="display: inline;"&amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;lt;img src="/en-US/img/tignish/features/bookmarks.png" alt="One-Click Bookmarking screenshot" /&amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;lt;/div&amp;amp;amp;amp;amp;amp;amp;gt;&lt;/noscript&gt;   &lt;/div&gt;&lt;div class="column2"&gt;&lt;div class="feature" id="tags"&gt;&lt;h4&gt;&lt;span style="font-size: small;"&gt;One-Click Bookmarking &lt;/span&gt;&lt;/h4&gt;&lt;span style="font-size: small;"&gt;Manage your bookmarks a lot or a little. One click on the star icon at  the end of the location bar bookmarks a site. Two clicks and you can  choose where to save it and whether to tag it. File bookmarked sites in  easy-to-access folders and organize according to theme (like “job  search” or “favorite shopping”). Find your bookmarked sites in a flash  by entering the tag, page or bookmark name into the location bar. The  more you use your tags and bookmark names in the location bar, the more  the system will adapt to your preferences.&lt;/span&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;// &lt;![CDATA[if (gPlatform == PLATFORM_MACOSX) { document.write('&lt;img src="/en-US/img/tignish/features/smart-bookmarks-mac.png" alt="Smart Bookmarks screenshot" /&gt;');} else { document.write('&lt;img src="/en-US/img/tignish/features/smart-bookmarks.png" alt="Smart Bookmarks screenshot" /&gt;');}// ]]&gt;&lt;/script&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="Smart Bookmarks screenshot" height="167" src="http://www.mozilla.com/en-US/img/tignish/features/smart-bookmarks.png" width="400" /&gt;&lt;/span&gt;&lt;br /&gt;&lt;h4&gt;&lt;span style="font-size: small;"&gt;Download Manager&lt;/span&gt;&lt;/h4&gt;&lt;span style="font-size: small;"&gt;A pause and resume feature  means there’s no need to wait for a download to finish before you  disconnect. So, if you’re halfway through the latest White Stripes album  and it’s time to catch the bus, just pause and pick up downloading when  you get home. The resume function also works if your system crashes or  is forced to restart. The manager shows your download progress and lets  you search your files by name or the Web address where the download came  from.&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://2.bp.blogspot.com/_u4hfXm9ENgI/TD7ny2Q-SqI/AAAAAAAAAKA/on1guGsx-Kw/s1600/download-manager.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" src="http://2.bp.blogspot.com/_u4hfXm9ENgI/TD7ny2Q-SqI/AAAAAAAAAKA/on1guGsx-Kw/s320/download-manager.png" width="320" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://2.bp.blogspot.com/_u4hfXm9ENgI/TD7ny2Q-SqI/AAAAAAAAAKA/on1guGsx-Kw/s1600/download-manager.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;    &lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="column1"&gt;&lt;div class="feature" id="spell-checking"&gt;&lt;h4&gt;&lt;span style="font-size: small;"&gt;Spell Checking&lt;/span&gt;&lt;/h4&gt;&lt;span style="font-size: small;"&gt;A built-in spell checker lets you enter text directly into Web  pages—like blog posts and Web-based email—without worrying about typos  and misspellings. Work directly with the Web and save yourself a step.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;img alt="Spell Checking screenshot" src="http://www.mozilla.com/en-US/img/tignish/features/spell-checking.png" /&gt;&lt;/span&gt;    &lt;/div&gt;&lt;/div&gt;&lt;div class="column2"&gt;&lt;div class="feature" id="session-restore"&gt;&lt;h4&gt;&lt;span style="font-size: small;"&gt;Session Restore&lt;/span&gt;&lt;/h4&gt;&lt;span style="font-size: small;"&gt;Restart the browser without losing your place after you install an  add-on or software update. And, if Firefox or your computer  unexpectedly closes, you don’t have to spend time recovering data or  retracing your steps through the Web. If you’re in the middle of typing  an email, you’ll pick up where you left off, even down to the last word  you typed. Session Restore instantly brings back your windows and tabs,  restoring text you entered and any in-progress downloads, and we’ve  updated it to make sure you get back to what you were doing even more  quickly than before.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;div class="column3"&gt;&lt;div class="feature" id="full-zoom"&gt;&lt;h4&gt;&lt;span style="font-size: small;"&gt;Full Zoom&lt;/span&gt;&lt;/h4&gt;&lt;span style="font-size: small;"&gt;Visit your favorite shopping site page and read the caption under the  picture—or view the picture itself in a size you can see. An elegant new  zoom feature lets you swoop in and see entire web pages. They scale in  the way you’d expect them to, with all the elements of a page’s layout  expanding equally, so you can zero in on what matters.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;div class="feature" id="smart-keywords"&gt;&lt;h4&gt;&lt;span style="font-size: small;"&gt;Smart Keywords&lt;/span&gt;&lt;/h4&gt;&lt;span style="font-size: small;"&gt;Search the Web in record time with smart keywords. With a few  clicks you can assign keywords to search engines, and then simply enter  your key and search words in the location bar. With this feature, typing  “book home building” can search Amazon.com, and take you right to books  about home building without ever pausing at the homepage.     &lt;/span&gt;&lt;br /&gt;&lt;div class="feature" id="text-rendering"&gt;&lt;h4&gt;&lt;span style="font-size: small;"&gt;Improved Text Rendering&lt;/span&gt;&lt;/h4&gt;&lt;span style="font-size: small;"&gt;Read your language as it’s written—more like real life. With a new  graphics engine, Arabic, Persian, Punjabi and other script languages  now render in a remarkably seamless way.&lt;/span&gt;&lt;br /&gt;&lt;h4&gt;&lt;span style="font-size: small;"&gt;Downloadable Fonts&lt;/span&gt;&lt;/h4&gt;&lt;span style="font-size: small;"&gt;View a wider variety of fonts on Web sites while you surf. Site  designers and developers can create custom fonts that will be displayed  and rendered properly even if you don’t have the font installed on your  computer.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="features-divider"&gt;&lt;hr /&gt;&lt;/div&gt;&lt;noscript&gt;&amp;amp;amp;amp;amp;amp;amp;nbsp;&lt;/noscript&gt;&lt;/div&gt;&lt;div class="feature" id="tags"&gt;&lt;noscript&gt;&amp;amp;amp;amp;amp;amp;amp;nbsp;&lt;/noscript&gt;&lt;/div&gt;&lt;div class="feature" id="tags"&gt;&lt;noscript&gt;&amp;amp;amp;amp;amp;amp;amp;lt;div style="display: inline;"&amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;lt;img src="/en-US/img/tignish/features/smart-bookmarks.png" alt="Smart Bookmarks screenshot" /&amp;amp;amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;amp;amp;lt;/div&amp;amp;amp;amp;amp;amp;amp;gt;&lt;/noscript&gt;         &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-6906751675846702440?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/6906751675846702440/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/firefox-36-features.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/6906751675846702440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/6906751675846702440'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/firefox-36-features.html' title='Firefox 3.6 Features'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_u4hfXm9ENgI/TD7kzigXmwI/AAAAAAAAAJ4/3BBO8_0cuXk/s72-c/location-bar.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-3499958557084007362</id><published>2010-07-06T15:33:00.000+05:30</published><updated>2010-07-06T15:33:39.234+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>Difference between Undefined value and null value.</title><content type='html'>Undefined states that variable has been declared but not defined yet i.e. not assigned a value yet.&lt;br /&gt;&lt;br /&gt;while null is an assignment value. where variable has no value it assigns null to that variable&lt;br /&gt;null is an assignment value. It can be assigned to a variable as a representation of no value.&lt;br /&gt;&lt;br /&gt;undefined is a type itself (undefined) while null is an object.&lt;br /&gt;Unassigned variables are initialized by JavaScript with a default value of undefined.&lt;br /&gt;JavaScript never sets a value to null. That must be done programmatically.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-3499958557084007362?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/3499958557084007362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/difference-between-undefined-value-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/3499958557084007362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/3499958557084007362'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/difference-between-undefined-value-and.html' title='Difference between Undefined value and null value.'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-3309298155749888542</id><published>2010-07-06T11:57:00.000+05:30</published><updated>2010-07-06T11:57:13.594+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>How to remove projects in Visual Studio Project list?</title><content type='html'>Follow&amp;nbsp; the steps : &lt;br /&gt;&lt;br /&gt;1 ) Go to Run.&lt;br /&gt;2) Write regedit.&lt;br /&gt;3) Click to HKEY_CURRENT_USER&lt;br /&gt;4) After click on looking for this path - Software &amp;gt; Microsoft &amp;gt; Visual Studio &amp;gt; 9.0 &amp;gt; ProjectMRUList.&lt;br /&gt;&amp;nbsp; &amp;nbsp; It shows you all projects shown in visual studio startup screen.&lt;br /&gt;5) Remove Projects which you want.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-3309298155749888542?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/3309298155749888542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-to-remove-projects-in-visual-studio.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/3309298155749888542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/3309298155749888542'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-to-remove-projects-in-visual-studio.html' title='How to remove projects in Visual Studio Project list?'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-6225850168697738654</id><published>2010-07-06T09:09:00.001+05:30</published><updated>2010-07-06T09:11:00.407+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>How to search text of Triggers, Store Procedures and Functions?</title><content type='html'>Run the follow query in SqlServer and get result.&lt;br /&gt;&lt;br /&gt;DECLARE @SEARCHSTRING VARCHAR(255)&lt;br /&gt;&lt;br /&gt;SELECT @SEARCHSTRING = 'CREATE'&lt;br /&gt;&lt;br /&gt;SELECT DISTINCT sysobjects.name AS [Object Name] ,&lt;br /&gt;case when sysobjects.xtype = 'P' then 'Stored Proc'&lt;br /&gt;when sysobjects.xtype = 'TF' then 'Function'&lt;br /&gt;when sysobjects.xtype = 'TR' then 'Trigger'&lt;br /&gt;end as [Object Type]&lt;br /&gt;FROM sysobjects,syscomments&lt;br /&gt;WHERE &lt;br /&gt;sysobjects.id = syscomments.id AND&lt;br /&gt;sysobjects.type in ('P','TF','TR')AND &lt;br /&gt;sysobjects.category = 0&lt;br /&gt;AND CHARINDEX(@SEARCHSTRING,syscomments.text)&amp;gt;0&lt;br /&gt;&lt;br /&gt;You can get all textes of store procedures, functions and triggers from the follow query.&lt;br /&gt;&lt;br /&gt;SELECT&amp;nbsp; *&amp;nbsp; FROM&amp;nbsp; syscomments&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-6225850168697738654?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/6225850168697738654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-to-find-text-in-triggers-store.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/6225850168697738654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/6225850168697738654'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-to-find-text-in-triggers-store.html' title='How to search text of Triggers, Store Procedures and Functions?'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-4686524008831402189</id><published>2010-07-06T08:42:00.001+05:30</published><updated>2010-07-06T08:56:17.774+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>How to find all trigger name in SQL Server</title><content type='html'>Run the follow Select query to find all triggers in SqlServer and get result.&lt;br /&gt;&lt;br /&gt;SELECT T2.[name] TableName, T1.[name] TriggerName, &lt;br /&gt;CASE &lt;br /&gt;WHEN T2.deltrig = T1.id THEN 'Delete' &lt;br /&gt;WHEN T2.instrig = T1.id THEN 'Insert' &lt;br /&gt;WHEN T2.updtrig = T1.id THEN 'Update' &lt;br /&gt;END 'TriggerType' &lt;br /&gt;FROM sysobjects T1 JOIN sysobjects T2 &lt;br /&gt;ON T1.parent_obj = T2.[id] &lt;br /&gt;WHERE T1.xtype='TR'&lt;br /&gt;GO&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-4686524008831402189?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/4686524008831402189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-to-find-all-trigger-name-in-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/4686524008831402189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/4686524008831402189'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/07/how-to-find-all-trigger-name-in-sql.html' title='How to find all trigger name in SQL Server'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-7932181360816790586</id><published>2010-06-11T13:44:00.002+05:30</published><updated>2010-06-16T16:06:34.291+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Difference between Callback and Postback in asp.net?</title><content type='html'>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As with a postback, a callback does not refresh the currently viewed page.If there were two drop down boxes, the second dependant on the value of the first, when a user selects a value of a the first, rather then refreshing the page, doing some server side calculations and returning a new whole page to the client, a callback can enable you to only go fetch the required data. View State is not updated with a callback.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-7932181360816790586?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/7932181360816790586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/06/difference-between-callback-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/7932181360816790586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/7932181360816790586'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/06/difference-between-callback-and.html' title='Difference between Callback and Postback in asp.net?'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-10682810686393609</id><published>2010-06-11T13:38:00.001+05:30</published><updated>2010-06-11T13:44:55.704+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Tips for Writing a Good Store Procedure Part II</title><content type='html'>&lt;b&gt;WHERE clauses :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;In a WHERE clause, the various operators used directly affect how fast a query can run. Here are the conditional operators used in the WHERE clause, ordered by their performance. =, &amp;gt;, &amp;lt;, &amp;gt;=, &amp;lt;=, &amp;lt;&amp;gt;, !=, !&amp;gt;, !&amp;lt;. &lt;/li&gt;&lt;li&gt;&amp;nbsp;Avoid necessary where clause and mulitiple "AND" and "OR" clause. For example see below example :&lt;br /&gt;&lt;div class="syntaxhighlighter " id="highlighter_968494"&gt;&lt;div class="lines"&gt;&lt;div class="line alt1"&gt;&lt;span class="content"&gt;&lt;span class="block"&gt;&lt;code class="keyword"&gt;SELECT&lt;/code&gt; &lt;code class="plain"&gt;name &lt;/code&gt;&lt;code class="keyword"&gt;FROM&lt;/code&gt; &lt;code class="plain"&gt;employee &lt;/code&gt;&lt;code class="keyword"&gt;WHERE&lt;/code&gt; &lt;code class="color2"&gt;LOWER&lt;/code&gt;&lt;code class="color1"&gt;(&lt;/code&gt;&lt;code class="plain"&gt;name&lt;/code&gt;&lt;code class="color1"&gt;)&lt;/code&gt; &lt;code class="color1"&gt;=&lt;/code&gt; &lt;code class="string"&gt;'ab'&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="syntaxhighlighter " id="highlighter_71012"&gt;&lt;div class="lines"&gt;&lt;div class="line alt1"&gt;&lt;span class="content"&gt;&lt;span class="block"&gt;&lt;code class="keyword"&gt;SELECT&lt;/code&gt; &lt;code class="plain"&gt;name &lt;/code&gt;&lt;code class="keyword"&gt;FROM&lt;/code&gt;&amp;nbsp;&lt;code class="plain"&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="content"&gt;&lt;span class="block"&gt;&lt;code class="plain"&gt;employee&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="content"&gt;&lt;span class="block"&gt;&lt;code class="plain"&gt; &lt;/code&gt;&lt;code class="keyword"&gt;WHERE&lt;/code&gt; &lt;code class="plain"&gt;name &lt;/code&gt;&lt;code class="color1"&gt;=&lt;/code&gt; &lt;code class="string"&gt;'AB'&lt;/code&gt; &lt;code class="color1"&gt;OR&lt;/code&gt; &lt;code class="plain"&gt;name &lt;/code&gt;&lt;code class="color1"&gt;=&lt;/code&gt; &lt;code class="string"&gt;'ab'&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;span class="content"&gt;&lt;span class="block"&gt;&lt;code class="string"&gt; &lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;b&gt;Avoid DISTINCT and ORDER BY :&lt;/b&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;&lt;span style="font-weight: normal;"&gt;If no need then avoid using distinct and orderby clause in your query cause it causes extra load on database engine&lt;/span&gt;.&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;b&gt;CAST and CONVERT&lt;/b&gt;&lt;b&gt;&lt;/b&gt; &lt;b&gt;:&lt;/b&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;ul&gt;&lt;li&gt;Try to use CAST instead of CONVERT. CAST is ANSI-92 standard but CONVERT works in MS SQL server only. Also, Convert may be deprecated in future MS SQL releases.&lt;/li&gt;&lt;li&gt;It is better to use CONVERT only when you need to format the DATETIME datatype with the style option. CAST can not do this.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;b&gt;Avoid using cursors :&lt;/b&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="line alt1"&gt;&lt;ul&gt;&lt;li&gt;Try to use temporary table or table variables with identity column and then iterate all the tables using WHILE loop and a looping counter, which will map with the identity column.&lt;b&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-10682810686393609?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/10682810686393609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/06/tips-for-writing-good-store-procedure_11.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/10682810686393609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/10682810686393609'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/06/tips-for-writing-good-store-procedure_11.html' title='Tips for Writing a Good Store Procedure Part II'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-7479799711847671297</id><published>2010-06-11T12:14:00.001+05:30</published><updated>2010-06-11T13:46:37.126+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Tips for Writing a Good Store Procedure Part I</title><content type='html'>&lt;b&gt;Dynamic Queries&lt;/b&gt; :&lt;br /&gt;&lt;ul&gt;&lt;li&gt; Do not use dynamic queries as much as possible because it compile the query everytime.&lt;/li&gt;&lt;li&gt;If you use the simple sql query then it compiles only once bt dynamic query recompiles everytime. &lt;/li&gt;&lt;/ul&gt;&lt;b&gt;Procedure Name Fully Qualified&lt;/b&gt; :&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Use the fully qualified name when you are calling stored procedures. This would be the format database_name.schema_name.table_name. For example, use EXEC master.dbo.Your_Proc_name instead of EXEC Your_Proc_name.&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Also try to use the schema name when you create a procedure. Like: CREATE PROCEDURE dbo.Your_Proc_name instead of CREATE PROCEDURE Your_Proc_name&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;sp_ Prefix : &lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Dont use the "sp_" prefix in store procedure or anywhere cause it is a predefined format reseverd for system procedures.&lt;/li&gt;&lt;li&gt;If by mistak name of store procedure will be same then it finds this procedure in system database and also in your database.So your database procedure never will be executed.&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;sp_executeSQL :&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;&lt;span style="font-weight: normal;"&gt;It avoids recompilation of store procedure.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style="font-weight: normal;"&gt;If you use dynamic query then it is very useful to you cause it stores procedures with the variable in cache.&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style="font-weight: normal;"&gt;When you pass parameter you will get result without recompilation of store procedure.&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;KEEPFIXED PLAN options :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b style="font-weight: normal;"&gt;It also avoids recompilation of store procedure. &lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style="font-weight: normal;"&gt;Use&amp;nbsp;&lt;/b&gt;&lt;b&gt;&lt;span style="font-weight: normal;"&gt; this keyword "KEEPFIXED PLAN" for getting result from &lt;/span&gt;&lt;/b&gt;temporary &lt;b&gt;&lt;span style="font-weight: normal;"&gt;tables.&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style="font-weight: normal;"&gt;If your query contains this hint then your store procedure will not be recompile&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-weight: normal;"&gt;d.&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;SET NOCOUNT OFF :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;This returns the message that shows number of rows affected by SQL statement. This can cause extra network traffic and can have some serious impact on performance when the procedure is called frequently.&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;SELECT vs SET :&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;A single SELECT statement can assign values to different variables and is much faster than multiple SET statements assigning values to multiple different variables. &lt;br /&gt;&lt;div class="syntaxhighlighter " id="highlighter_983411"&gt;&lt;div class="lines"&gt;&lt;div class="line alt1"&gt;&lt;span class="content"&gt;&lt;span class="block"&gt;&lt;code class="keyword"&gt;SELECT&lt;/code&gt; &lt;code class="variables"&gt;@Var1&lt;/code&gt; &lt;code class="color1"&gt;=&lt;/code&gt; &lt;code class="variables"&gt;@Var1&lt;/code&gt; &lt;code class="color1"&gt;+&lt;/code&gt; &lt;code class="plain"&gt;1&lt;/code&gt;&lt;code class="color1"&gt;,&lt;/code&gt; &lt;code class="variables"&gt;@Var2&lt;/code&gt; &lt;code class="color1"&gt;=&lt;/code&gt; &lt;code class="variables"&gt;@Var2&lt;/code&gt; &lt;code class="plain"&gt;- 1&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;instead of&lt;br /&gt;&lt;br /&gt;&lt;div class="syntaxhighlighter " id="highlighter_459171"&gt;&lt;div class="lines"&gt;&lt;div class="line alt1"&gt;&lt;span class="content"&gt;&lt;span class="block"&gt;&lt;code class="keyword"&gt;SET&lt;/code&gt; &lt;code class="variables"&gt;@Var1&lt;/code&gt; &lt;code class="color1"&gt;=&lt;/code&gt; &lt;code class="variables"&gt;@Var1&lt;/code&gt; &lt;code class="color1"&gt;+&lt;/code&gt; &lt;code class="plain"&gt;1&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;span class="content"&gt;&lt;span class="block"&gt;&lt;code class="keyword"&gt;SET&lt;/code&gt; &lt;code class="variables"&gt;@Var2&lt;/code&gt; &lt;code class="color1"&gt;=&lt;/code&gt; &lt;code class="variables"&gt;@Var2&lt;/code&gt; &lt;code class="plain"&gt;- 1&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="line alt2"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;b&gt;&lt;span style="font-weight: normal;"&gt; &lt;/span&gt;&lt;/b&gt; &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-7479799711847671297?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/7479799711847671297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/06/tips-for-writing-good-store-procedure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/7479799711847671297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/7479799711847671297'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/06/tips-for-writing-good-store-procedure.html' title='Tips for Writing a Good Store Procedure Part I'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-3260959016759389111</id><published>2010-06-05T14:27:00.000+05:30</published><updated>2010-06-11T13:49:11.754+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Paging in SqlServer</title><content type='html'>Paging in SQL Server with ROW_NUMBER()&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SELECT&amp;nbsp; *&lt;br /&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (SELECT&amp;nbsp; ROW_NUMBER() OVER (ORDER BY iCagegoryID DESC)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS Row,sCategoryName, sCategoryType FROM CategoryMaster)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS LogWithRowNumbers&lt;br /&gt;WHERE&amp;nbsp; Row &amp;gt;= 11 AND Row &amp;lt;= 20&lt;br /&gt;&lt;br /&gt;See the example above. It tells that on which column you want to do paging, it stores column's index.&lt;br /&gt;In above example "iCategoryID" column's Index store in variavle "Row" and everytime just user has to pass extra 2 variables minvalue and maxvalue through which we can get those much of records displayed in 1 page.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-3260959016759389111?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/3260959016759389111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/06/paging-in-sqlserver.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/3260959016759389111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/3260959016759389111'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/06/paging-in-sqlserver.html' title='Paging in SqlServer'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-2817134214701696050</id><published>2010-06-05T14:17:00.000+05:30</published><updated>2010-06-11T13:49:21.512+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>CharIndex in SQL Server</title><content type='html'>CharIndex in sql server gives you position of particular character.&lt;br /&gt;See Example below :&lt;br /&gt;&lt;br /&gt;Declare @test VARCHAR(3)&lt;br /&gt;SET @test = 'abc'&lt;br /&gt;SELECT CharIndex('b',@test) as 'Position'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-2817134214701696050?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/2817134214701696050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/06/charindex-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2817134214701696050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2817134214701696050'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/06/charindex-in-sql-server.html' title='CharIndex in SQL Server'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-2201818803877945913</id><published>2010-04-29T08:32:00.006+05:30</published><updated>2010-07-16T11:01:54.687+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JQuery'/><title type='text'>jQuery Image Slide Show</title><content type='html'>&lt;div style="color: black;"&gt;&lt;span style="font-size: large;"&gt;&lt;span style="font-family: times new roman;"&gt;Links for Image Slide show with JQuery&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span style="font-size: 130%;"&gt;&lt;span style="font-family: times new roman;"&gt;&lt;span style="background-color: black;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;a href="http://www.queness.com/post/152/simple-jquery-image-slide-show-with-semi-transparent-caption"&gt;http://www.queness.com/post/152/simple-jquery-image-slide-show-with-semi-transparent-caption&lt;/a&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;a href="http://spaceforaname.com/galleryview"&gt;http://spaceforaname.com/galleryview&lt;/a&gt;&lt;br /&gt;&lt;a href="http://devkick.com/lab/galleria/"&gt;http://devkick.com/lab/galleria/&lt;/a&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: #f3f3f3; color: black;"&gt;&lt;span style="font-size: 130%;"&gt;&lt;span style="font-family: times new roman;"&gt;&lt;span style="background-color: black;"&gt;&lt;span style="background-color: black;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-2201818803877945913?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/2201818803877945913/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/04/jquery-image-slide-show.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2201818803877945913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2201818803877945913'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/04/jquery-image-slide-show.html' title='jQuery Image Slide Show'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-8996415694487268490</id><published>2010-03-17T09:10:00.002+05:30</published><updated>2010-07-19T14:42:16.358+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>How to generate an exe in asp.net?</title><content type='html'>&lt;div style="color: black;"&gt;&lt;span style="font-size: 100%;"&gt;&lt;span style="font-family: lucida grande;"&gt;First create the window application then add the setup project from add&amp;gt;other project type&amp;gt; setup and deployment &amp;gt; setup project.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Go to setup project &amp;gt; view &amp;gt; file system.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;It shows three folder. Choose application folder &amp;gt; Right Click &amp;gt; Add &amp;gt; project output and choose your application. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Build the setup and get exe in your specified folder. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Run the setup.exe and then go to your specified folder where your project exe resides and run it.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-8996415694487268490?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/8996415694487268490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/03/how-to-generate-exe-in-aspnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8996415694487268490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8996415694487268490'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/03/how-to-generate-exe-in-aspnet.html' title='How to generate an exe in asp.net?'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-3569951905600308936</id><published>2010-03-05T16:21:00.001+05:30</published><updated>2010-06-11T12:15:06.670+05:30</updated><title type='text'></title><content type='html'>&lt;div style="color: white;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: white;"&gt;&lt;a href="http://www.thepaperboy.com/" target="_blank"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;&lt;form action="http://www.thepaperboy.com/searchresults.cfm" method="post" name="searchform" style="color: white;" target="_blank"&gt;&lt;a href="http://www.thepaperboy.com/" target="_blank"&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;table bg="" border="1" cellpadding="2" cellspacing="0" style="width: 200px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align="center" valign="middle"&gt;&lt;br /&gt;&lt;span style="font-family: Verdana,Arial; font-size: 85%;"&gt;&lt;b&gt;Newspaper Search&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;input maxlength="50" name="PaperNameSearch" size="25" type="text" value="type newspaper name here..." /&gt;&lt;br /&gt;&lt;img src="http://www.thepaperboy.com/graphics/5px.gif" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;input name="submit" type="submit" value="SEARCH NOW" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 78%;"&gt;&lt;b&gt;Powered by &lt;a href="http://www.thepaperboy.com/" style="color: white;" target="_blank"&gt;ThePaperboy.com&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;a href="http://www.thepaperboy.com/" target="_blank"&gt;&lt;br /&gt;&lt;br /&gt;&lt;img border="0" height="40" src="http://www.thepaperboy.com/graphics/pboylogo_vsm.gif" width="69" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;a href="http://www.thepaperboy.com/" target="_blank"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/form&gt;&lt;div style="color: white;"&gt;&lt;a href="http://www.thepaperboy.com/" target="_blank"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-3569951905600308936?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/3569951905600308936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2010/03/click-here-to-read-over-6000-online.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/3569951905600308936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/3569951905600308936'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2010/03/click-here-to-read-over-6000-online.html' title=''/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-8601298987724516577</id><published>2009-08-31T17:02:00.000+05:30</published><updated>2010-06-11T13:51:01.199+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Enable sqldependency in SQLServer 2008</title><content type='html'>&lt;span class="Apple-style-span" style="color: rgb(0, 0, 255); font-family: -webkit-monospace; font-size: 12px; font-weight: bold; line-height: 18px; "&gt;aspnet_regsql.exe -S server -U user -P password -d database -ed&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-8601298987724516577?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/8601298987724516577/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2009/08/enable-sqldependency-in-sqlserver-2008.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8601298987724516577'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8601298987724516577'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2009/08/enable-sqldependency-in-sqlserver-2008.html' title='Enable sqldependency in SQLServer 2008'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-2146229233772835337</id><published>2009-08-20T16:47:00.000+05:30</published><updated>2010-06-11T13:51:42.279+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Computer'/><title type='text'>how to view saved username in computer.</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 51);"&gt;I was accessing other's pc and he/she has put login aunthentication for security purpose.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 51);"&gt;So instead of writing again and again username nd password I have save the password.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 51);"&gt;To view or remove it do the following steps :&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 51);"&gt;1) Go to run.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 51);"&gt;2) Type rundll32.exe keymgr.dll, KRShowKeyMgr.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 51);"&gt;You will get the pc name which pc's password you have saved. To remove it click on remove.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-2146229233772835337?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/2146229233772835337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2009/08/how-to-view-saved-username-in-computer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2146229233772835337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2146229233772835337'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2009/08/how-to-view-saved-username-in-computer.html' title='how to view saved username in computer.'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-4571343140914143243</id><published>2009-08-18T15:12:00.000+05:30</published><updated>2010-06-11T13:50:31.394+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>import excel sheet to database</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 51, 102);"&gt;open sqlserver nd right click on db nd click import data link nd do the further process to import ur excel sheet to database.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 51, 102);"&gt;ur data will be imported from the excel sheet to database.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-4571343140914143243?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/4571343140914143243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2009/08/import-excel-sheet-to-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/4571343140914143243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/4571343140914143243'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2009/08/import-excel-sheet-to-database.html' title='import excel sheet to database'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-8851973649273006344</id><published>2009-08-12T12:42:00.000+05:30</published><updated>2010-06-11T13:50:31.394+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Procedure to Delete data of database table</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Create Procedure dbo.sp_EmptyAllTables (@ResetIdentity Bit)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;As&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Begin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Declare @SQL VarChar(500)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Declare @TableName VarChar(255)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Declare @ConstraintName VarChar(500)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Declare curAllForeignKeys SCROLL CurSor For Select Table_Name,Constraint_Name From Information_Schema.Table_Constraints Where Constraint_Type='FOREIGN KEY'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Open curAllForeignKeys&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Fetch Next From curAllForeignKeys INTO @TableName,@ConstraintName&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;While @@FETCH_STATUS=0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Begin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Set @SQL = 'ALTER TABLE ' + @TableName + ' NOCHECK CONSTRAINT ' + @ConstraintName&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Execute(@SQL)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Fetch Next From curAllForeignKeys INTO @TableName,@ConstraintName&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;End&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Declare curAllTables Cursor For Select Table_Name From Information_Schema.Tables Where TABLE_TYPE='BASE TABLE'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Open curAllTables&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Fetch Next From curAllTables INTO @TableName&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;While @@FETCH_STATUS=0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Begin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Set @SQL = 'DELETE FROM ' + @TableName&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;If @ResetIdentity = 1 AND OBJECTPROPERTY (OBJECT_ID(@TableName),'TableHasIdentity')=1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Set @SQL = @SQL + '; DBCC CHECKIDENT(''' + @TableName + ''',RESEED,0)'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Execute(@SQL)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Fetch Next From curAllTables INTO @TableName&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;End&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Fetch First From curAllForeignKeys INTO @TableName,@ConstraintName&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;While @@FETCH_STATUS=0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Begin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Set @SQL = 'ALTER TABLE ' + @TableName + ' CHECK CONSTRAINT ' + @ConstraintName&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Execute(@SQL)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Fetch Next From curAllForeignKeys INTO @TableName,@ConstraintName&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;End&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Close curAllTables&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Deallocate curAllTables&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Close curAllForeignKeys&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;Deallocate curAllForeignKeys&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 51, 0);"&gt;End&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-8851973649273006344?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/8851973649273006344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2009/08/procedure-to-delete-data-of-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8851973649273006344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8851973649273006344'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2009/08/procedure-to-delete-data-of-database.html' title='Procedure to Delete data of database table'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-8372106189706072767</id><published>2009-06-19T16:33:00.002+05:30</published><updated>2010-07-19T14:43:24.332+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Assembly Error</title><content type='html'>&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS'; font-size: 13px; line-height: 20px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;&lt;span class="Apple-style-span"&gt;Error 4 The type 'ASP.aspx_controls_maintop_ascx' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\online_store\7e5e2cc2\6d0e9d9d\App_Web_iv00njwa.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\online_store\7e5e2cc2\6d0e9d9d\App_Web_ndsosjuw.dll' D:\Projects\Online_Store\aspx\Confirm.aspx&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS'; font-size: 13px; line-height: 20px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS'; font-size: 13px; line-height: 20px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;&lt;span class="Apple-style-span"&gt;If you get error like this that 2 assemblies exists in same path then go to the specified path&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS'; font-size: 13px; line-height: 20px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;&lt;span class="Apple-style-span"&gt;c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS'; font-size: 13px; line-height: 20px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;&lt;span class="Apple-style-span"&gt;and delete ur project.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS'; font-size: 13px; line-height: 20px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;&lt;span class="Apple-style-span"&gt;Because this is all temporary files and restart ur visual studio.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS'; font-size: 13px; line-height: 20px;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-8372106189706072767?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/8372106189706072767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2009/06/assembly-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8372106189706072767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8372106189706072767'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2009/06/assembly-error.html' title='Assembly Error'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-8382231950456045152</id><published>2009-06-19T14:05:00.002+05:30</published><updated>2010-07-19T14:43:57.400+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>How to give image url at runtime in any databound controls of asp.net</title><content type='html'>&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span"&gt;Take a image tag in ur databound control like gridview,datalist.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;If you take asp image tag then set path like bellow&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;ImageURL =&amp;nbsp;ImageTest(DataBinder.Eval(Container.DataItem, "sLogo") in asp tags.&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span"&gt;Here ImageTest is a function in which you can give your imageurl. For example view the following :-&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;protected object ImageTest(object s)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;object path = "~/aspx/productimages/" + Session["Member"] + "\\logo\\" + s;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;return path;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;set ur image url in path object variable.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;Thank you&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-8382231950456045152?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/8382231950456045152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2009/06/how-to-give-image-url-at-runtime-in-any.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8382231950456045152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8382231950456045152'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2009/06/how-to-give-image-url-at-runtime-in-any.html' title='How to give image url at runtime in any databound controls of asp.net'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-2492162430334024260</id><published>2009-06-17T17:02:00.000+05:30</published><updated>2010-06-11T13:52:03.065+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>SQL Tool Belt</title><content type='html'>&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Now you can compare your database , copy or get documentation in which you will be able to get your store procedures, tables, views and many more things.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;just refer the following sites : -&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 0, 204);"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 102, 204);"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;https://www.red-gate.com/dynamic/downloads/downloadform.aspx?downloadid=831500&amp;amp;password=FUVUDTYYQB&amp;amp;step=3&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-2492162430334024260?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/2492162430334024260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2009/06/sql-tool-belt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2492162430334024260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2492162430334024260'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2009/06/sql-tool-belt.html' title='SQL Tool Belt'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-8665102224876500155</id><published>2009-06-16T18:08:00.003+05:30</published><updated>2010-07-19T14:49:21.619+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Modify XML Data at runtime</title><content type='html'>&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;view the following link this will help you.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;http://support.microsoft.com/kb/317666&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;Also refer this : -&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;protected void fillXml()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataSet dsbanner = new DataSet();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dsbanner = bsadv.getBannerStore();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string s = Server.MapPath("../aspx/aspxBanner.xml");&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dsbanner.WriteXml(s);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xml();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void xml()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Create an XML document instance, and load XML data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XmlDocument doc = new XmlDocument();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string s = Server.MapPath("~/aspx/aspxBanner.xml");&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;doc.Load(s);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XmlNode nodelist = doc.DocumentElement;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (XmlNode node in nodelist.ChildNodes)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach(XmlNode node1 in node.ChildNodes)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(node1.Name == "sBannerImageName")&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; node1.InnerText = "../admin/banner/" + node1.InnerText;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doc.PreserveWhitespace = true;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XmlTextWriter wrtr = new XmlTextWriter(s, Encoding.Unicode);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doc.WriteTo(wrtr);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wrtr.Close();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch (Exception ee)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman'; font-size: small;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-8665102224876500155?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/8665102224876500155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2009/06/modiry-xml-data-at-runtime.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8665102224876500155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/8665102224876500155'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2009/06/modiry-xml-data-at-runtime.html' title='Modify XML Data at runtime'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-5050965759572299464</id><published>2009-06-16T18:03:00.002+05:30</published><updated>2010-07-19T14:49:56.461+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Metadata Error</title><content type='html'>&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;Metadata file 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET  Files\myweb\8c7cf79c\37f396b\App_Web_4a6-li_x.dll' could not be found &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;If you got error like this then go to this perticular directory and search the file without extension and you will get the same file with extension .delete change it and rename it with .dll.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;Your problem will be solved.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-5050965759572299464?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/5050965759572299464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2009/06/metadata-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/5050965759572299464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/5050965759572299464'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2009/06/metadata-error.html' title='Metadata Error'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-2420950007988135811</id><published>2009-05-25T16:29:00.000+05:30</published><updated>2010-06-11T13:52:51.616+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>Compress Javascript for your code</title><content type='html'>You can compress your javascipt which resize your javascript code and does less load on server when page is loaded.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For more information refer this link : -&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.softpedia.com/get/Compression-tools/JavaScript-Compressor.shtml"&gt;http://www.softpedia.com/get/Compression-tools/JavaScript-Compressor.shtml&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-2420950007988135811?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/2420950007988135811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2009/05/compress-javascript-for-your-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2420950007988135811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2420950007988135811'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2009/05/compress-javascript-for-your-code.html' title='Compress Javascript for your code'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-1268355623791984184</id><published>2009-05-25T12:17:00.001+05:30</published><updated>2010-06-11T13:53:03.903+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Debugg the store procedure in sql server 2005</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; "&gt;1. Find the .exe file under the directory, C:\Program Files\Microsoft SQL Server\90\Shared\1033\rdbgsetup.exe or similar path where the SQL Server was installed. The file rdbgsetup.exe stands for 'RemoteDeBuGsetup'. Look for the emphasis on letters. The filename reads rdbgsetup because, we are going to debug a stored procedures of a database available in some remote physical server. Either we need to sit at the server and debug them or we should be in a position to debug the stored procedure remotely. This action should be performed on the physical server where SQL Server 2005 was installed. &lt;br /&gt;&lt;br /&gt;2. The user who debugs the stored procedure should be a member of SQL Server's fixed Server role, SysAdmin. &lt;br /&gt;&lt;br /&gt;As a DBA, I may need to grant this privilege to the user who is in need of debugging a stored procedure. When I do that, I should trust the user so that he/she will not mess-up anything on the Server. Ok, I believe my users are trust worthy and I issue the following T-SQL command to assigning a fixer server role, SysAdmin. &lt;br /&gt;&lt;br /&gt;&lt;span class="ArticleParagraphTitle" style="font-size: 11pt; font-weight: bold; color: rgb(153, 0, 204); "&gt;The command to do so is as follows&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;EXEC master..sp_addsrvrolemember @loginame = N'&amp;amp;amp;amp;amp;lt;YourLoginName either SQL Server Authentication or Windows Authentication&amp;amp;amp;amp;amp;gt;', @rolename = N'sysadmin' &lt;br /&gt;&lt;br /&gt;This can however be accomplished with SQL Server Management Studio's IDE. Perhaps, I prefer using T-SQL commands. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; The parameters to the stored procedure, sp_addsrvrolemember are of type, Nvarchar and it stands for (National Variable Character), which usually holds Unicode characters. &lt;br /&gt;&lt;br /&gt;Now, we are all set for debugging stored procedures. &lt;br /&gt;&lt;br /&gt;&lt;span class="ArticleParagraphTitle" style="font-size: 11pt; font-weight: bold; color: rgb(153, 0, 204); "&gt;Process to Debug a stored procedure&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Open the Microsoft Visual Studio 2005 IDE. &lt;br /&gt;&lt;br /&gt;2. Select Server Explorer option from the View Menu as follows: &lt;br /&gt;&lt;br /&gt;&lt;img class="ArticleImage" src="http://www.dotnetfunda.com/UserFiles/ArticlesFiles/633304468003258418_Deeraj_1.JPG" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(176, 176, 176); border-right-color: rgb(176, 176, 176); border-bottom-color: rgb(176, 176, 176); border-left-color: rgb(176, 176, 176); " /&gt; &lt;br /&gt;&lt;br /&gt;3. From the Data Connections node, right click and select, 'Add connection'. Fill in the details to connect to the intended SQL Server and the database using the login who has a fixed server role, SysAdmin. Click on Test connection. Once the connection succeeds, the overall screen should look like the following. &lt;br /&gt;&lt;br /&gt;&lt;img class="ArticleImage" src="http://www.dotnetfunda.com/UserFiles/ArticlesFiles/633304468524684690_Deeraj_2.JPG" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(176, 176, 176); border-right-color: rgb(176, 176, 176); border-bottom-color: rgb(176, 176, 176); border-left-color: rgb(176, 176, 176); " /&gt; &lt;br /&gt;&lt;br /&gt;4. Expand the data connection just added, and navigate to the Stored Procedures node. &lt;br /&gt;&lt;br /&gt;5. Expand the Stored Procedures node and select the intended SP to be debugged. &lt;br /&gt;&lt;br /&gt;6. Right click and select open to view the source code of the selected stored procedure. &lt;br /&gt;&lt;br /&gt;7. Place a break point on the intended line of code where debugging needs to be started its usually the way .NET Developers perform. &lt;br /&gt;&lt;br /&gt;8. After performing the above steps the screen shot should look like the following. &lt;br /&gt;&lt;br /&gt;9. After performing the above steps the screen shot should like the following: &lt;br /&gt;&lt;br /&gt;&lt;img class="ArticleImage" src="http://www.dotnetfunda.com/UserFiles/ArticlesFiles/633304470045993106_Deeraj_3_1.JPG" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(176, 176, 176); border-right-color: rgb(176, 176, 176); border-bottom-color: rgb(176, 176, 176); border-left-color: rgb(176, 176, 176); " /&gt; &lt;br /&gt;&lt;br /&gt;10. Right click on the stored procedure from the 'Server Explorer' and select 'Step-Into Stored Procedure' as shown below. &lt;br /&gt;&lt;br /&gt;&lt;img class="ArticleImage" src="http://www.dotnetfunda.com/UserFiles/ArticlesFiles/633304472506556338_Deeraj_4.JPG" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(176, 176, 176); border-right-color: rgb(176, 176, 176); border-bottom-color: rgb(176, 176, 176); border-left-color: rgb(176, 176, 176); " /&gt; &lt;br /&gt;&lt;br /&gt;11. This action brings up the following screen shot. &lt;br /&gt;&lt;br /&gt;&lt;img class="ArticleImage" src="http://www.dotnetfunda.com/UserFiles/ArticlesFiles/633304472945166930_Deeraj_5.JPG" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(176, 176, 176); border-right-color: rgb(176, 176, 176); border-bottom-color: rgb(176, 176, 176); border-left-color: rgb(176, 176, 176); " /&gt; &lt;br /&gt;&lt;br /&gt;12. Enter the needful values and click Ok. The next shot will be the following. &lt;br /&gt;&lt;br /&gt;&lt;img class="ArticleImage" src="http://www.dotnetfunda.com/UserFiles/ArticlesFiles/633304473698320850_Deeraj_6.JPG" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(176, 176, 176); border-right-color: rgb(176, 176, 176); border-bottom-color: rgb(176, 176, 176); border-left-color: rgb(176, 176, 176); " /&gt; &lt;br /&gt;&lt;br /&gt;13. From here on, its usual .NET debugging stuff. Use Step-Into and Step-Over and Step-out from the shortcuts menu or pressing F11,F10, Shift+F11 &lt;br /&gt;&lt;br /&gt;Wasn't that very simple. It made the life of DB developers much more comfortable. Had it not been available with SQL Server 2005 and VS 2005 IDE it would have been a nightmare to debug stored procedures remotely/locally. &lt;br /&gt;&lt;br /&gt;Happy Development and concentrated debugging. &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-1268355623791984184?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/1268355623791984184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2009/05/debugg-store-procedure-in-sql-server.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/1268355623791984184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/1268355623791984184'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2009/05/debugg-store-procedure-in-sql-server.html' title='Debugg the store procedure in sql server 2005'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-2459727176638463384</id><published>2009-05-13T09:29:00.000+05:30</published><updated>2010-06-11T13:53:10.661+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JQuery'/><title type='text'>jQuery with autocomplete type</title><content type='html'>&lt;a href="http://www.eggheadcafe.com/tutorials/aspnet/18b6a1fa-a7cf-4507-84f2-15056fe65bb7/autocompletion-with-jque.aspx"&gt;http://www.eggheadcafe.com/tutorials/aspnet/18b6a1fa-a7cf-4507-84f2-15056fe65bb7/autocompletion-with-jque.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-2459727176638463384?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/2459727176638463384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2009/05/jquery-with-autocomplete-type.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2459727176638463384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2459727176638463384'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2009/05/jquery-with-autocomplete-type.html' title='jQuery with autocomplete type'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-2289254518410922534</id><published>2009-05-13T09:24:00.001+05:30</published><updated>2010-06-11T13:53:10.661+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JQuery'/><title type='text'>jQuery</title><content type='html'>&lt;a href="http://www.roseindia.net/ajax/jquery/"&gt;http://www.roseindia.net/ajax/jquery/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-2289254518410922534?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/2289254518410922534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2009/05/jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2289254518410922534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/2289254518410922534'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2009/05/jquery.html' title='jQuery'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1826826399582667554.post-4380069081801002330</id><published>2009-05-13T09:15:00.000+05:30</published><updated>2009-05-13T09:16:44.229+05:30</updated><title type='text'>Ajmera Jeni's Blog</title><content type='html'>&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1826826399582667554-4380069081801002330?l=ajmerajeni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmerajeni.blogspot.com/feeds/4380069081801002330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ajmerajeni.blogspot.com/2009/05/ajmera-jenis-blog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/4380069081801002330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1826826399582667554/posts/default/4380069081801002330'/><link rel='alternate' type='text/html' href='http://ajmerajeni.blogspot.com/2009/05/ajmera-jenis-blog.html' title='Ajmera Jeni&apos;s Blog'/><author><name>Khandhediya jeni</name><uri>http://www.blogger.com/profile/00490509240419387678</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_u4hfXm9ENgI/S8VUi_ThEYI/AAAAAAAAAHE/YLSE20j0npQ/S220/DSC00270.JPG'/></author><thr:total>0</thr:total></entry></feed>
