<?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-8764046518411157827</id><updated>2012-02-16T21:28:45.679+05:30</updated><category term='Description'/><category term='GetDate()'/><category term='Twitter'/><category term='LAMP Developer'/><category term='ASP.NET 2.0'/><category term='Wordpress'/><category term='Web Development Company'/><category term='Trigger'/><category term='C# Developer'/><category term='Keywords'/><category term='MasterPage'/><category term='Encryption'/><category term='Interview'/><category term='MS Access Database'/><category term='addons'/><category term='Web Development'/><category term='Authorize.Net Payment gateway'/><category term='Flash'/><category term='Mobile Developer'/><category term='Yahoo Toolbar'/><category term='Active Server Pages'/><category term='FTP'/><category term='Mac'/><category term='C# Programming'/><category term='Marketing'/><category term='Payment gateway'/><category term='Google Adsense'/><category term='.NET 2.0'/><category term='iPod Touch'/><category term='Architech'/><category term='Windows 7'/><category term='global.asax'/><category term='WebForms'/><category term='DateTimePicker'/><category term='Sql Server 2008'/><category term='Visual Studio 2010 Features'/><category term='Google Ad manager'/><category term='jQuery'/><category term='Java Developer'/><category term='WWW'/><category term='ROBOTS'/><category term='Javascript'/><category term='Asp.Net'/><category term='programming'/><category term='Web Services'/><category term='Web Site Template'/><category term='How to'/><category term='VB.NET Developer'/><category term='Gmail'/><category term='Web.config'/><category term='Diwali 2010'/><category term='Web Development tricks'/><category term='Web Developer'/><category term='Design'/><category term='Developer'/><category term='programming tips'/><category term='Blogger'/><category term='Blogspot'/><category term='Beginner'/><category term='Sql Server 2005'/><category term='C++ Developer'/><category term='C#'/><category term='Crystal Report'/><category term='Browser'/><category term='iPhone'/><category term='user control'/><category term='iTunes'/><category term='SEO'/><category term='Rajesh Singh'/><category term='SQL Developer'/><category term='Google image swirl'/><category term='HTML'/><category term='VS2010'/><category term='C# 2.0'/><category term='Meta Tags'/><category term='Asp.Net UserControl'/><category term='Website Development'/><category term='child Page'/><category term='asp.net 3.5'/><category term='Tips and Tricks'/><category term='Google Buzz'/><category term='Demo'/><title type='text'>Asp.Net Developer</title><subtitle type='html'>Resource mall for Developer</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>100</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-775421483422420056</id><published>2011-12-02T13:11:00.000+05:30</published><updated>2011-12-02T13:11:15.540+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web.config'/><title type='text'>Validation of viewstate MAC failed.</title><content type='html'>&lt;b&gt;Question :&lt;/b&gt; Getting this error, "Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that &lt;machineKey&gt; configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster."&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution :&lt;/b&gt; &lt;br /&gt;In your web.config file, you will find this line.&lt;br /&gt;&lt;br /&gt;&lt;pages enableEventValidation="false" viewStateEncryptionMode="Always"&gt;&lt;br /&gt;&lt;br /&gt;Just replace this line with below line and all your problem solved.&lt;br /&gt;&lt;br /&gt;&lt;pages enableEventValidation="false" viewStateEncryptionMode="Never"&gt;&lt;br /&gt;&lt;br /&gt;Please send me your questions to me, if you have any..&lt;br /&gt;&lt;br /&gt;Thanks Hope this post will help you, if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;Dobazaar (Dubai, UAE)&lt;br /&gt;www.dobazaar.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-775421483422420056?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/775421483422420056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=775421483422420056&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/775421483422420056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/775421483422420056'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2011/12/validation-of-viewstate-mac-failed.html' title='Validation of viewstate MAC failed.'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-2732389699723074471</id><published>2011-10-30T18:13:00.000+05:30</published><updated>2011-10-30T18:13:04.716+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='global.asax'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='programming tips'/><title type='text'>301 redirect  "/Default.aspx" to "/" Root Asp.Net</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Question &lt;/b&gt;: How to use global.asax and do 301 redirect "/Default.aspx" to "/" Root ?&lt;br /&gt;&lt;b&gt;Answer&lt;/b&gt; : &lt;br /&gt;&lt;br /&gt;Add below code in global.asax, thats it.&lt;br /&gt;&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&lt;br /&gt;void Application_BeginRequest(object sender, EventArgs e)&lt;br /&gt;    {&lt;br /&gt;        if (HttpContext.Current.Request.Url.ToString().ToLower().Contains("http://induway.com"))&lt;br /&gt;        {&lt;br /&gt;            HttpContext.Current.Response.Status = "301 Moved Permanently";&lt;br /&gt;            HttpContext.Current.Response.AddHeader("Location", Request.Url.ToString().ToLower().Replace("http://induway.com/default.aspx", "http://www.induway.com"));&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Let me know, if you have any query..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks Hope this post will help you, if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;Dobazaar (Dubai, UAE)&lt;br /&gt;www.dobazaar.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-2732389699723074471?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/2732389699723074471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=2732389699723074471&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2732389699723074471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2732389699723074471'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2011/10/301-redirect-defaultaspx-to-root-aspnet.html' title='301 redirect  &quot;/Default.aspx&quot; to &quot;/&quot; Root Asp.Net'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-6436199992942993237</id><published>2011-09-22T15:48:00.002+05:30</published><updated>2011-09-22T15:48:43.620+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net 3.5'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Create, Read, and Detele Cookies in Javascript</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Hello Friends,&lt;br /&gt;&lt;br /&gt;This post will explain you how you can create, read and delete the cookies in your webpage using Javascript.&lt;br /&gt;&lt;br /&gt;Here is the code to create cookies,&lt;br /&gt;In this below code, you can see, Cookies is Set to Name "RajeshCookie" and value is set to "Rajesh" and &lt;br /&gt;its expire time is set to next month as shown in below code.&lt;br /&gt;&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&lt;br /&gt;//for creating a cookie&lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;&amp;nbsp;&amp;nbsp; var today = new Date();&lt;br /&gt;&amp;nbsp;&amp;nbsp; var nextMonth = new Date(today.getYear(), today.getMonth()+1, today.getDate());&lt;br /&gt;&amp;nbsp;&amp;nbsp; setCookie("RajeshCookie", "Rajesh", nextMonth);&lt;br /&gt;// --&amp;gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Here is the code to read cookies,&lt;br /&gt;&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&lt;br /&gt;//for reading the cookie&lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var szName = getCookie("RajeshCookie");&lt;br /&gt;// --&amp;gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Here is the code to Delete cookies,&lt;br /&gt;&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&lt;br /&gt;//for deleting the cookie&lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; deleteCookie('RajeshCookie');&lt;br /&gt;// --&amp;gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Let me know, if you have any query..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;  Thanks Hope this post will help you, if yes please put comment below of this page, &lt;/div&gt;&lt;div&gt;  &lt;b&gt;Rajesh Singh, &lt;/b&gt;&lt;/div&gt;&lt;div&gt;  &lt;b&gt;Senior Asp.Net Developer &lt;/b&gt;&lt;/div&gt;&lt;div&gt;  &lt;b&gt;Email: &lt;a href="mailto:raj143svmit@gmail.com"&gt;raj143svmit@gmail.com&lt;/a&gt; &lt;/b&gt;&lt;/div&gt;&lt;div&gt;  e-Procurement Technologies Ltd (India)&lt;/div&gt;&lt;div&gt;  www.abcprocure.com&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;br /&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/8764046518411157827-6436199992942993237?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/6436199992942993237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=6436199992942993237&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/6436199992942993237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/6436199992942993237'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2011/09/create-read-and-detele-cookies-in.html' title='Create, Read, and Detele Cookies in Javascript'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-4033015931173553256</id><published>2011-09-22T15:37:00.001+05:30</published><updated>2011-09-22T15:38:08.387+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net 3.5'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Programming'/><title type='text'>Change ConnectionString when database server is not working</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Hello Friends,&lt;br /&gt;&lt;br /&gt;Sometime, you might have notice that, your hosting server is working fine but your database is not working due to which you &lt;br /&gt;might be getting error on website and you might be loosing visitor and ranking in website..&lt;br /&gt;&lt;br /&gt;This post is regarding that only, you can manage this issue by two database.&lt;br /&gt;&lt;br /&gt;You can have two database at different server and you can call this in global.asax&lt;br /&gt;&lt;br /&gt;first you can make ping to first database everytime and if its working you can call first server database and &lt;br /&gt;if you find any issue or server is not working then you can switch to second server using below code..&lt;br /&gt;&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim connStatus As String&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim png As New Ping()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pr As PingReply = png.Send("221.256.357.36")&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; connStatus = pr.Status.ToString()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '--------------------&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If connStatus = "Success" Then&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; If ConnString = "OldConnection" Then&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ConfigurationManager.ConnectionStrings("oldconnection1").ConnectionString &amp;lt;&amp;gt; "" Then&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ConnObj = New SqlConnection(ConfigurationManager.ConnectionStrings("oldconnection1").ConnectionString)&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Throw New Exception("Connection String is Empty")&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&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; Else&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ConfigurationManager.ConnectionStrings("oldconnection2").ConnectionString &amp;lt;&amp;gt; "" Then&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ConnObj = New SqlConnection(ConfigurationManager.ConnectionStrings("oldconnection2").ConnectionString)&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Throw New Exception("Connection String is Empty")&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&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; End If&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&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; If ConnString = "newconnection" Then&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ConfigurationManager.ConnectionStrings("newconnection1").ConnectionString &amp;lt;&amp;gt; "" Then&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ConnObj = New SqlConnection(ConfigurationManager.ConnectionStrings("newconnection1").ConnectionString)&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Throw New Exception("Connection String is Empty")&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&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; Else&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ConfigurationManager.ConnectionStrings("newconnection2").ConnectionString &amp;lt;&amp;gt; "" Then&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ConnObj = New SqlConnection(ConfigurationManager.ConnectionStrings("newconnection2").ConnectionString)&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Throw New Exception("Connection String is Empty")&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&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; End If&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Let me know, if you have any query..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Thanks Hope this post will help you, if yes please put comment below of this page, &lt;/div&gt;&lt;div&gt;&lt;b&gt;Rajesh Singh, &lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Senior Asp.Net Developer &lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Email: &lt;a href="mailto:raj143svmit@gmail.com"&gt;raj143svmit@gmail.com&lt;/a&gt; &lt;/b&gt;&lt;/div&gt;&lt;div&gt;e-Procurement Technologies Ltd (India)&lt;/div&gt;&lt;div&gt;www.abcprocure.com&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;span class="post-author vcard"&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/8764046518411157827-4033015931173553256?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/4033015931173553256/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=4033015931173553256&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/4033015931173553256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/4033015931173553256'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2011/09/change-automatically-connectionstring.html' title='Change ConnectionString when database server is not working'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-5576651154664864000</id><published>2011-09-12T18:32:00.000+05:30</published><updated>2011-09-12T18:32:57.452+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2008'/><title type='text'>SQL Server Query to Search Text in Stored Procedure</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Hello Friends,&lt;br /&gt;&lt;br /&gt;This post contains one query, by using that you can make search for any text in your Stored&lt;br /&gt;Procedure Or Triggers,&lt;br /&gt;&lt;br /&gt;Here is the query..&lt;br /&gt;&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&lt;br /&gt;Use TempDatabase&lt;br /&gt;&lt;br /&gt;SELECT ROUTINE_NAME, ROUTINE_DEFINITION &lt;br /&gt;FROM INFORMATION_SCHEMA.ROUTINES &lt;br /&gt;WHERE ROUTINE_DEFINITION LIKE '%proc_%' &lt;br /&gt;AND ROUTINE_TYPE='PROCEDURE'&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Frist Select the Database by Use prefix,like below&lt;br /&gt;&lt;b&gt;use TempDatabase&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Then copy this query in your query browser of SQL server,&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SELECT ROUTINE_NAME, ROUTINE_DEFINITION &lt;br /&gt;FROM INFORMATION_SCHEMA.ROUTINES &lt;br /&gt;WHERE ROUTINE_DEFINITION LIKE '%proc_%' &lt;br /&gt;AND ROUTINE_TYPE='PROCEDURE'&lt;/b&gt;&lt;br /&gt;and just press F5, to run this query&lt;br /&gt;&lt;br /&gt;Let me know, if you have any query..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;  Thanks Hope this post will help you, if yes please put comment below of this page, &lt;/div&gt;&lt;div&gt;  &lt;b&gt;Rajesh Singh, &lt;/b&gt;&lt;/div&gt;&lt;div&gt;  &lt;b&gt;Senior Asp.Net Developer &lt;/b&gt;&lt;/div&gt;&lt;div&gt;  &lt;b&gt;Email: &lt;a href="mailto:raj143svmit@gmail.com"&gt;raj143svmit@gmail.com&lt;/a&gt; &lt;/b&gt;&lt;/div&gt;&lt;div&gt;  e-Procurement Technologies Ltd (India)&lt;/div&gt;&lt;div&gt;  www.abcprocure.com&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&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/8764046518411157827-5576651154664864000?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/5576651154664864000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=5576651154664864000&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/5576651154664864000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/5576651154664864000'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2011/09/sql-server-query-to-search-text-in.html' title='SQL Server Query to Search Text in Stored Procedure'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-3213226892159105778</id><published>2011-08-03T18:35:00.000+05:30</published><updated>2011-08-03T18:35:48.621+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Fixed First Column and Header of Table and Scroll other Column</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Hello Friends,&lt;br /&gt;&lt;br /&gt;This is Demo to show you Horizontal and Vertical scroll of table by column and row and fixed First column,&lt;br /&gt;You can check out demo and find source code below of demo..Please post any queries if you have ..&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Demo&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div closure_uid_m1xbta="120" dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;script&gt;$(document).ready(function(){  fnAdjustTable();});fnAdjustTable = function(){  var colCount = $('#firstTr&gt;td').length; //get total number of column  var m = 0;  var n = 0;  var brow = 'mozilla';    jQuery.each(jQuery.browser, function(i, val) {    if(val == true){      brow = i.toString();    }  });    $('.tableHeader').each(function(i){    if (m &lt; colCount){      if (brow == 'mozilla'){        $('#firstTd').css("width",$('.tableFirstCol').innerWidth());//for adjusting first td        $(this).css('width',$('#table_div td:eq('+m+')').innerWidth());//for assigning width to table Header div      }      else if (brow == 'msie'){        $('#firstTd').css("width",$('.tableFirstCol').width());        $(this).css('width',$('#table_div td:eq('+m+')').width()-2);//In IE there is difference of 2 px      }      else if (brow == 'safari'){        $('#firstTd').css("width",$('.tableFirstCol').width());        $(this).css('width',$('#table_div td:eq('+m+')').width());      }      else {        $('#firstTd').css("width",$('.tableFirstCol').width());        $(this).css('width',$('#table_div td:eq('+m+')').innerWidth());      }    }    m++;  });  $('.tableFirstCol').each(function(i){    if(brow == 'mozilla'){      $(this).css('height',$('#table_div td:eq('+colCount*n+')').outerHeight());//for providing height using scrollable table column height    }    else if(brow == 'msie'){      $(this).css('height',$('#table_div td:eq('+colCount*n+')').innerHeight()-2);    }    else {      $(this).css('height',$('#table_div td:eq('+colCount*n+')').height());    }    n++;  });}//function to support scrolling of title and first columnfnScroll = function(){  $('#divHeader').scrollLeft($('#table_div').scrollLeft());  $('#firstcol').scrollTop($('#table_div').scrollTop());}&lt;/script&gt;&lt;style charset="utf-8" type="text/css"&gt;/* See license.txt for terms of usage *//** reset styling **/.firebugResetStyles {    z-index: 2147483646 !important;    top: 0 !important;    left: 0 !important;    display: block !important;    border: 0 none !important;    margin: 0 !important;    padding: 0 !important;    outline: 0 !important;    min-width: 0 !important;    max-width: none !important;    min-height: 0 !important;    max-height: none !important;    position: fixed !important;    -moz-transform: rotate(0deg) !important;    -moz-transform-origin: 50% 50% !important;    -moz-border-radius: 0 !important;    -moz-box-shadow: none !important;    background-image: none !important;    pointer-events: none !important;}.firebugBlockBackgroundColor {    background-color: transparent !important;}.firebugResetStyles:before, .firebugResetStyles:after {    content: "" !important;}/**actual styling to be modified by firebug theme**/.firebugCanvas {    display: none !important;}/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */.firebugLayoutBox {    width: auto !important;    position: static !important;}.firebugLayoutBoxOffset {    opacity: 0.8 !important;    position: fixed !important;}.firebugLayoutLine {    opacity: 0.4 !important;    background-color: #000000 !important;}.firebugLayoutLineLeft, .firebugLayoutLineRight {    width: 1px !important;    height: 100% !important;}.firebugLayoutLineTop, .firebugLayoutLineBottom {    width: 100% !important;    height: 1px !important;}.firebugLayoutLineTop {    margin-top: -1px !important;    border-top: 1px solid #999999 !important;}.firebugLayoutLineRight {    border-right: 1px solid #999999 !important;}.firebugLayoutLineBottom {    border-bottom: 1px solid #999999 !important;}.firebugLayoutLineLeft {    margin-left: -1px !important;    border-left: 1px solid #999999 !important;}/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */.firebugLayoutBoxParent {    border-top: 0 none !important;    border-right: 1px dashed #E00 !important;    border-bottom: 1px dashed #E00 !important;    border-left: 0 none !important;    position: fixed !important;    width: auto !important;}.firebugRuler{    position: absolute !important;}.firebugRulerH {    top: -15px !important;    left: 0 !important;    width: 100% !important;    height: 14px !important;    background: url("data:image/png,%89PNG%0D%0A%1A%0A%0DIHDR%13%88%0E%08%02L%25a%0A%04gAMA%D6%D8%D4OX2%19tEXtSoftwareAdobe%20ImageReadyq%C9e%3C%04%F8IDATx%DA%EC%DD%D1n%E2%3AE%D1%80%F8%FF%EF%E2%AF2%95%D0D4%0E%C1%14%B0%8Fa-%E9%3E%CC%9C%87n%B9%81%A6W0%1C%A6i%9A%E7y%0As8%1CT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AATE9%FE%FCw%3E%9F%AF%2B%2F%BA%97%FDT%1D~K(%5C%9D%D5%EA%1B%5C%86%B5%A9%BDU%B5y%80%ED%AB*%03%FAV9%AB%E1%CEj%E7%82%EF%FB%18%BC%AEJ8%AB%FA'%D2%BEU9%D7U%ECc0%E1%A2r%5DynwVi%CFW%7F%BB%17%7Dy%EACU%CD%0E%F0%FA%3BX%FEbV%FEM%9B%2B%AD%BE%AA%E5%95v%AB%AA%E3E5%DCu%15rV9%07%B5%7F%B5w%FCm%BA%BE%AA%FBY%3D%14%F0%EE%C7%60%0EU%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5JU%88%D3%F5%1F%AE%DF%3B%1B%F2%3E%DAUCNa%F92%D02%AC%7Dm%F9%3A%D4%F2%8B6%AE*%BF%5C%C2Ym~9g5%D0Y%95%17%7C%C8c%B0%7C%18%26%9CU%CD%13i%F7%AA%90%B3Z%7D%95%B4%C7%60%E6E%B5%BC%05%B4%FBY%95U%9E%DB%FD%1C%FC%E0%9F%83%7F%BE%17%7DkjMU%E3%03%AC%7CWj%DF%83%9An%BCG%AE%F1%95%96yQ%0Dq%5Dy%3Et%B5'%FC6%5DS%95pV%95%01%81%FF'%07%F8x%C7%F0%BE%9COp%5D%C9%7C%AD%E7%E6%EBV%FB%1E%E0(%07%E5%AC%C6%3A%ABi%9C%8F%C6%0E9%AB%C0'%D2%8E%9F%F99%D0E%B5%99%14%F5%0D%CD%7F%24%C6%DEH%B8%E9rV%DFs%DB%D0%F7k%FE%1D%84%84%83J%B8%E3%BA%FB%EF%20%84%1C%D7%AD%B0%8E%D7U%C8Y%05%1E%D4t%EF%AD%95Q%BF8w%BF%E9%0A%BF%EB%03%B8vJ%8E%BB%F5%B1u%8Cx%80%E1o%5E%CA9%AB%CB%CB%8E%03%DF%1D%B7T%25%9C%D5(%EFJM8%AB%CC'%D2%B2*%A4s%E7c6%FB%3E%FA%A2%1E%80~%0E%3E%DA%10x%5D%95Uig%15u%15%ED%7C%14%B6%87%A1%3B%FCo8%A8%D8o%D3%ADO%01%EDx%83%1A~%1B%9FpP%A3%DC%C6'%9C%95gK%20%D9%C9%11%D0%C0%40%AF%3F%EE%EE%92%94%D6%16X%B5%BCMH%15%2F%BF%D4%A7%C87%F1%8E%F2%81%AE%AAvzr%DA2%ABV%17%7C%E63%83%E7I%DC%C6%0Bs%1B%EF6%1E%80cr%9CW%FF%7F%C6%01%0E%F1%CE%A5%84%B3%CA%BC%E0%CB%AA%84%CE%F9%BF)%EC%13%08WU%AE%AB%B1%AE%2BO%EC%8E%CBYe%FE%8CN%ABr%5Dy%60~%CFA%0D%F4%AE%D4%BE%C75%CA%EDVB%EA(%B7%F1%09g%E5%D9%12H%F6%EB%13S%E7y%5E%5E%FB%98%F0%22%D1%B2'%A7%F0%92%B1%BC%24z3%AC%7Dm%60%D5%92%B4%7CEUO%5E%F0%AA*%3BU%B9%AE%3E%A0j%94%07%A0%C7%A0%AB%FD%B5%3F%A0%F7%03T%3Dy%D7%F7%D6%D4%C0%AAU%D2%E6%DFt%3F%A8%CC%AA%F2%86%B9%D7%F5%1F%18%E6%01%F8%CC%D5%9E%F0%F3z%88%AA%90%EF%20%C0%A6%D3%EA%CFi%AFb%2C%7BB%0A%2B%C3%1A%D7%06V%D5%07%A8r%5D%3D%D9%A6%CAu%F5%25%CF%A2%99%97zNX%60%95%AB%5DUZ%D5%FBR%03%AB%1C%D4k%9F%3F%BB%5C%FF%81a%AE%AB'%7F%F3%EA%FE%F3z%94%AA%D8%DF%5B%01%8E%FB%F3%F2%B1%1B%8DWU%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*UiU%C7%BBe%E7%F3%B9%CB%AAJ%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5*%AAj%FD%C6%D4%5Eo%90%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5%86%AF%1B%9F%98%DA%EBm%BBV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%AD%D6%E4%F58%01%40%85%7F%02%0C8%C2%D0H%16j%8FXIEND%AEB%60%82") repeat-x !important;    border-top: 1px solid #BBBBBB !important;    border-right: 1px dashed #BBBBBB !important;    border-bottom: 1px solid #000000 !important;}.firebugRulerV {    top: 0 !important;    left: -15px !important;    width: 14px !important;    height: 100% !important;    background: url("data:image/png,%89PNG%0D%0A%1A%0A%0DIHDR%0E%13%88%08%02%0E%F5%CB%10%04gAMA%D6%D8%D4OX2%19tEXtSoftwareAdobe%20ImageReadyq%C9e%3C%06~IDATx%DA%EC%DD%D1v%A20%14%40Qt%F1%FF%FF%E4%97%D9%07%3BT%19%92%DC%40(%90%EEy%9A5%CB%B6%E8%F6%9Ac%A4%CC0%84%FF%DC%9E%CF%E7%E3%F1%88%DE4%F8%5D%C7%9F%2F%BA%DD%5E%7FI%7D%F18%DDn%BA%C5%FB%DF%97%BFk%F2%10%FF%FD%B4%F2M%A7%FB%FD%FD%B3%22%07p%8F%3F%AE%E3%F4S%8A%8F%40%EEq%9D%BE8D%F0%0EY%A1Uq%B7%EA%1F%81%88V%E8X%3F%B4%CEy%B7h%D1%A2E%EBohU%FC%D9%AF2fO%8BBeD%BE%F7X%0C%97%A4%D6b7%2Ck%A5%12%E3%9B%60v%B7r%C7%1AI%8C%BD%2B%23rc0%B2v%9B%AD%CA%26%0C%1Ek%05A%FD%93%D0%2B%A1u%8B%16-%95q%5Ce%DCSO%8E%E4M%23%8B%F7%C2%FE%40%BB%BD%8C%FC%8A%B5V%EBu%40%F9%3B%A72%FA%AE%8C%D4%01%CC%B5%DA%13%9CB%AB%E2I%18%24%B0n%A9%0CZ*Ce%9C%A22%8E%D8NJ%1E%EB%FF%8F%AE%CAP%19*%C3%BAEKe%AC%D1%AAX%8C*%DEH%8F%C5W%A1e%AD%D4%B7%5C%5B%19%C5%DB%0D%EF%9F%19%1D%7B%5E%86%BD%0C%95%A12%AC%5B*%83%96%CAP%19%F62T%86%CAP%19*%83%96%CA%B8Xe%BC%FE)T%19%A1%17xg%7F%DA%CBP%19*%C3%BA%A52T%86%CAP%19%F62T%86%CA%B0n%A9%0CZ%1DV%C6%3D%F3%FCH%DE%B4%B8~%7F%5CZc%F1%D6%1F%AF%84%F9%0F6%E6%EBVt9%0E~%BEr%AF%23%B0%97%A12T%86%CAP%19%B4T%86%CA%B8Re%D8%CBP%19*%C3%BA%A52huX%19%AE%CA%E5%BC%0C%7B%19*CeX%B7h%A9%0C%95%E1%BC%0C%7B%19*CeX%B7T%06%AD%CB%5E%95%2B%BF.%8F%C5%97%D5%E4%7B%EE%82%D6%FB%CF-%9C%FD%B9%CF%3By%7B%19%F62T%86%CA%B0n%D1R%19*%A3%D3%CA%B0%97%A12T%86uKe%D0%EA%B02*%3F1%99%5DB%2B%A4%B5%F8%3A%7C%BA%2B%8Co%7D%5C%EDe%A8%0C%95a%DDR%19%B4T%C66%82fA%B2%ED%DA%9FC%FC%17GZ%06%C9%E1%B3%E5%2C%1A%9FoiB%EB%96%CA%A0%D5qe4%7B%7D%FD%85%F7%5B%ED_%E0s%07%F0k%951%ECr%0D%B5C%D7-g%D1%A8%0C%EB%96%CA%A0%A52T%C6)*%C3%5E%86%CAP%19%D6-%95A%EB*%95q%F8%BB%E3%F9%AB%F6%E21%ACZ%B7%22%B7%9B%3F%02%85%CB%A2%5B%B7%BA%5E%B7%9C%97%E1%BC%0C%EB%16-%95%A12z%AC%0C%BFc%A22T%86uKe%D0%EA%B02V%DD%AD%8A%2B%8CWhe%5E%AF%CF%F5%3B%26%CE%CBh%5C%19%CE%CB%B0%F3%A4%095%A1%CAP%19*Ce%A8%0C%3BO*Ce%A8%0C%95%A12%3A%AD%8C%0A%82%7B%F0v%1F%2FD%A9%5B%9F%EE%EA%26%AF%03%CA%DF9%7B%19*Ce%A8%0C%95%A12T%86%CA%B8Ze%D8%CBP%19*Ce%A8%0C%95%D1ae%EC%F7%89I%E1%B4%D7M%D7P%8BjU%5C%BB%3E%F2%20%D8%CBP%19*Ce%A8%0C%95%A12T%C6%D5*%C3%5E%86%CAP%19*Ce%B4O%07%7B%F0W%7Bw%1C%7C%1A%8C%B3%3B%D1%EE%AA%5C%D6-%EBV%83%80%5E%D0%CA%10%5CU%2BD%E07YU%86%CAP%19*%E3%9A%95%91%D9%A0%C8%AD%5B%EDv%9E%82%FFKOee%E4%8FUe%A8%0C%95%A12T%C6%1F%A9%8C%C8%3D%5B%A5%15%FD%14%22r%E7B%9F%17l%F8%BF%ED%EAf%2B%7F%CF%ECe%D8%CBP%19*Ce%A8%0C%95%E1%93~%7B%19%F62T%86%CAP%19*Ce%A8%0C%E7%13%DA%CBP%19*Ce%A8%0CZf%8B%16-Z%B4h%D1R%19f%8B%16-Z%B4h%D1R%19%B4%CC%16-Z%B4h%D1R%19%B4%CC%16-Z%B4h%D1%A2%A52%CC%16-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2EKe%98-Z%B4h%D1%A2EKe%D02%5B%B4h%D1%A2EKe%D02%5B%B4h%D1%A2E%8B%96%CA0%5B%B4h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%16-%95a%B6h%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-Z*%C3l%D1%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z%B4T%86%D9%A2E%8B%16-Z%B4T%06-%B3E%8B%16-Z%B4T%06-%B3E%8B%16-Z%B4h%A9%0C%B3E%8B%16-Z%B4h%A9%0CZf%8B%16-Z%B4h%A9%0CZf%8B%16-Z%B4h%D1R%19f%8B%16-Z%B4h%D1R%19%B4%CC%16-Z%B4h%D1R%19%B4%CC%16-Z%B4h%D1%A2%A52%CC%16-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2EKe%98-Z%B4h%D1%A2EKe%D02%5B%B4h%D1%A2EKe%D02%5B%B4h%D1%A2E%8B%96%CA0%5B%B4h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%16-%95a%B6h%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-Z*%C3l%D1%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z%B4T%86%D9%A2E%8B%16-Z%B4T%06-%B3E%8B%16-Z%B4T%06-%B3E%8B%16-Z%B4h%A9%0C%B3E%8B%16-Z%B4h%A9%0CZf%8B%16-Z%B4h%A9%0CZf%8B%16-Z%B4h%D1R%19f%8B%16-Z%B4h%D1R%19%B4%CC%16-Z%B4h%D1R%19%B4%CC%16-Z%B4h%D1%A2%A52%CC%16-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2EKe%98-Z%B4h%D1%A2EKe%D02%5B%B4h%D1%A2EKe%D02%5B%B4h%D1%A2E%8B%96%CA0%5B%B4h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%16-%95a%B6h%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-Z*%C3l%D1%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z%B4T%86%D9%A2E%8B%16-Z%B4T%06-%B3E%8B%16-Z%B4%AE%A4%F5%25%C0%DE%BF%5C'%0F%DA%B8qIEND%AEB%60%82") repeat-y !important;    border-left: 1px solid #BBBBBB !important;    border-right: 1px solid #000000 !important;    border-bottom: 1px dashed #BBBBBB !important;}.overflowRulerX &gt; .firebugRulerV {    left: 0 !important;}.overflowRulerY &gt; .firebugRulerH {    top: 0 !important;}/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */.fbProxyElement {    position: absolute !important;    pointer-events: auto !important;}&lt;/style&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td id="firstTd" style="width: 196px;"&gt;&lt;/td&gt;&lt;td&gt;&lt;div id="divHeader" style="overflow: hidden; width: 284px;"&gt;&lt;table border="1" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;div class="tableHeader" style="width: 69px;"&gt;Header1&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;div class="tableHeader" style="width: 69px;"&gt;Header2&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;div class="tableHeader" style="width: 213px;"&gt;Header3&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;div class="tableHeader" style="width: 69px;"&gt;Header4&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;div class="tableHeader" style="width: 69px;"&gt;Header5&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;div id="firstcol" style="height: 80px; overflow: hidden;"&gt;&lt;table border="1" cellpadding="0" cellspacing="0" style="width: 200px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="tableFirstCol" style="height: 22px;"&gt;Header row1 &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableFirstCol" style="height: 22px;"&gt;Header row2&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableFirstCol" style="height: 22px;"&gt;Header row3&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableFirstCol" style="height: 22px;"&gt;Header row4&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableFirstCol" style="height: 22px;"&gt;Header row5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableFirstCol" style="height: 22px;"&gt;Header row6&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableFirstCol" style="height: 22px;"&gt;Header row7&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableFirstCol" style="height: 22px;"&gt;Header row8&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tableFirstCol" style="height: 22px;"&gt;Header row9&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;div closure_uid_m1xbta="114" id="table_div" onscroll="fnScroll()" style="height: 100px; overflow: scroll; position: relative; width: 300px;"&gt;&lt;table border="1" cellpadding="0" cellspacing="0" style="width: 500px;"&gt;&lt;tbody&gt;&lt;tr id="firstTr"&gt;&lt;td&gt;Row1Col1&lt;/td&gt;&lt;td&gt;Row1Col2&lt;/td&gt;&lt;td&gt;Row1Col3&lt;/td&gt;&lt;td&gt;Row1Col4&lt;/td&gt;&lt;td&gt;Row1Col5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Row2Col1&lt;/td&gt;&lt;td&gt;Row2Col2&lt;/td&gt;&lt;td&gt;Row2Col3&lt;/td&gt;&lt;td&gt;Row2Col4&lt;/td&gt;&lt;td&gt;Row2Col5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Row3Col1&lt;/td&gt;&lt;td&gt;Row3Col2&lt;/td&gt;&lt;td&gt;Row3Col3&lt;/td&gt;&lt;td&gt;Row3Col4&lt;/td&gt;&lt;td&gt;Row3Col5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Row4Col1&lt;/td&gt;&lt;td&gt;Row4Col2&lt;/td&gt;&lt;td&gt;Row4Col3&lt;/td&gt;&lt;td&gt;Row4Col4&lt;/td&gt;&lt;td&gt;Row4Col5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Row5Col1&lt;/td&gt;&lt;td&gt;Row5Col2&lt;/td&gt;&lt;td&gt;Row5Col3&lt;/td&gt;&lt;td&gt;Row5Col4&lt;/td&gt;&lt;td&gt;Row5Col5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Row6Col1&lt;/td&gt;&lt;td&gt;Row6Col2&lt;/td&gt;&lt;td&gt;Row6Col3&lt;/td&gt;&lt;td&gt;Row6Col4&lt;/td&gt;&lt;td&gt;Row6Col5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Row7Col1&lt;/td&gt;&lt;td&gt;Row7Col2&lt;/td&gt;&lt;td&gt;Row7Col3&lt;/td&gt;&lt;td&gt;Row7Col4&lt;/td&gt;&lt;td&gt;Row7Col5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Row8Col1&lt;/td&gt;&lt;td&gt;Row8Col2&lt;/td&gt;&lt;td&gt;Row8Col3&lt;/td&gt;&lt;td&gt;Row8Col4&lt;/td&gt;&lt;td&gt;Row8Col5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Row9Col1&lt;/td&gt;&lt;td&gt;Row9Col2&lt;/td&gt;&lt;td&gt;Row9Col3&lt;/td&gt;&lt;td&gt;Row9Col4&lt;/td&gt;&lt;td&gt;Row9Col5&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre style="background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;"&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"&amp;gt;&lt;br /&gt;&amp;lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;script&amp;gt;&lt;br /&gt;&lt;br /&gt;$(document).ready(function(){&lt;br /&gt;  fnAdjustTable();&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;fnAdjustTable = function(){&lt;br /&gt;&lt;br /&gt;  var colCount = $('#firstTr&amp;gt;td').length; //get total number of column&lt;br /&gt;&lt;br /&gt;  var m = 0;&lt;br /&gt;  var n = 0;&lt;br /&gt;  var brow = 'mozilla';&lt;br /&gt;  &lt;br /&gt;  jQuery.each(jQuery.browser, function(i, val) {&lt;br /&gt;    if(val == true){&lt;br /&gt;      brow = i.toString();&lt;br /&gt;    }&lt;br /&gt;  });&lt;br /&gt;  &lt;br /&gt;  $('.tableHeader').each(function(i){&lt;br /&gt;    if (m &amp;lt; colCount){&lt;br /&gt;&lt;br /&gt;      if (brow == 'mozilla'){&lt;br /&gt;        $('#firstTd').css("width",$('.tableFirstCol').innerWidth());//for adjusting first td&lt;br /&gt;        $(this).css('width',$('#table_div td:eq('+m+')').innerWidth());//for assigning width to table Header div&lt;br /&gt;      }&lt;br /&gt;      else if (brow == 'msie'){&lt;br /&gt;        $('#firstTd').css("width",$('.tableFirstCol').width());&lt;br /&gt;        $(this).css('width',$('#table_div td:eq('+m+')').width()-2);//In IE there is difference of 2 px&lt;br /&gt;      }&lt;br /&gt;      else if (brow == 'safari'){&lt;br /&gt;        $('#firstTd').css("width",$('.tableFirstCol').width());&lt;br /&gt;        $(this).css('width',$('#table_div td:eq('+m+')').width());&lt;br /&gt;      }&lt;br /&gt;      else {&lt;br /&gt;        $('#firstTd').css("width",$('.tableFirstCol').width());&lt;br /&gt;        $(this).css('width',$('#table_div td:eq('+m+')').innerWidth());&lt;br /&gt;      }&lt;br /&gt;    }&lt;br /&gt;    m++;&lt;br /&gt;  });&lt;br /&gt;&lt;br /&gt;  $('.tableFirstCol').each(function(i){&lt;br /&gt;    if(brow == 'mozilla'){&lt;br /&gt;      $(this).css('height',$('#table_div td:eq('+colCount*n+')').outerHeight());//for providing height using scrollable table column height&lt;br /&gt;    }&lt;br /&gt;    else if(brow == 'msie'){&lt;br /&gt;      $(this).css('height',$('#table_div td:eq('+colCount*n+')').innerHeight()-2);&lt;br /&gt;    }&lt;br /&gt;    else {&lt;br /&gt;      $(this).css('height',$('#table_div td:eq('+colCount*n+')').height());&lt;br /&gt;    }&lt;br /&gt;    n++;&lt;br /&gt;  });&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//function to support scrolling of title and first column&lt;br /&gt;fnScroll = function(){&lt;br /&gt;  $('#divHeader').scrollLeft($('#table_div').scrollLeft());&lt;br /&gt;  $('#firstcol').scrollTop($('#table_div').scrollTop());&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;style type="text/css" charset="utf-8"&amp;gt;/* See license.txt for terms of usage */&lt;br /&gt;&lt;br /&gt;/** reset styling **/&lt;br /&gt;&lt;br /&gt;.firebugResetStyles {&lt;br /&gt;&lt;br /&gt;    z-index: 2147483646 !important;&lt;br /&gt;&lt;br /&gt;    top: 0 !important;&lt;br /&gt;&lt;br /&gt;    left: 0 !important;&lt;br /&gt;&lt;br /&gt;    display: block !important;&lt;br /&gt;&lt;br /&gt;    border: 0 none !important;&lt;br /&gt;&lt;br /&gt;    margin: 0 !important;&lt;br /&gt;&lt;br /&gt;    padding: 0 !important;&lt;br /&gt;&lt;br /&gt;    outline: 0 !important;&lt;br /&gt;&lt;br /&gt;    min-width: 0 !important;&lt;br /&gt;&lt;br /&gt;    max-width: none !important;&lt;br /&gt;&lt;br /&gt;    min-height: 0 !important;&lt;br /&gt;&lt;br /&gt;    max-height: none !important;&lt;br /&gt;&lt;br /&gt;    position: fixed !important;&lt;br /&gt;&lt;br /&gt;    -moz-transform: rotate(0deg) !important;&lt;br /&gt;&lt;br /&gt;    -moz-transform-origin: 50% 50% !important;&lt;br /&gt;&lt;br /&gt;    -moz-border-radius: 0 !important;&lt;br /&gt;&lt;br /&gt;    -moz-box-shadow: none !important;&lt;br /&gt;&lt;br /&gt;    background-image: none !important;&lt;br /&gt;&lt;br /&gt;    pointer-events: none !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.firebugBlockBackgroundColor {&lt;br /&gt;&lt;br /&gt;    background-color: transparent !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.firebugResetStyles:before, .firebugResetStyles:after {&lt;br /&gt;&lt;br /&gt;    content: "" !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/**actual styling to be modified by firebug theme**/&lt;br /&gt;&lt;br /&gt;.firebugCanvas {&lt;br /&gt;&lt;br /&gt;    display: none !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */&lt;br /&gt;&lt;br /&gt;.firebugLayoutBox {&lt;br /&gt;&lt;br /&gt;    width: auto !important;&lt;br /&gt;&lt;br /&gt;    position: static !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.firebugLayoutBoxOffset {&lt;br /&gt;&lt;br /&gt;    opacity: 0.8 !important;&lt;br /&gt;&lt;br /&gt;    position: fixed !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.firebugLayoutLine {&lt;br /&gt;&lt;br /&gt;    opacity: 0.4 !important;&lt;br /&gt;&lt;br /&gt;    background-color: #000000 !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.firebugLayoutLineLeft, .firebugLayoutLineRight {&lt;br /&gt;&lt;br /&gt;    width: 1px !important;&lt;br /&gt;&lt;br /&gt;    height: 100% !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.firebugLayoutLineTop, .firebugLayoutLineBottom {&lt;br /&gt;&lt;br /&gt;    width: 100% !important;&lt;br /&gt;&lt;br /&gt;    height: 1px !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.firebugLayoutLineTop {&lt;br /&gt;&lt;br /&gt;    margin-top: -1px !important;&lt;br /&gt;&lt;br /&gt;    border-top: 1px solid #999999 !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.firebugLayoutLineRight {&lt;br /&gt;&lt;br /&gt;    border-right: 1px solid #999999 !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.firebugLayoutLineBottom {&lt;br /&gt;&lt;br /&gt;    border-bottom: 1px solid #999999 !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.firebugLayoutLineLeft {&lt;br /&gt;&lt;br /&gt;    margin-left: -1px !important;&lt;br /&gt;&lt;br /&gt;    border-left: 1px solid #999999 !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */&lt;br /&gt;&lt;br /&gt;.firebugLayoutBoxParent {&lt;br /&gt;&lt;br /&gt;    border-top: 0 none !important;&lt;br /&gt;&lt;br /&gt;    border-right: 1px dashed #E00 !important;&lt;br /&gt;&lt;br /&gt;    border-bottom: 1px dashed #E00 !important;&lt;br /&gt;&lt;br /&gt;    border-left: 0 none !important;&lt;br /&gt;&lt;br /&gt;    position: fixed !important;&lt;br /&gt;&lt;br /&gt;    width: auto !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.firebugRuler{&lt;br /&gt;&lt;br /&gt;    position: absolute !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.firebugRulerH {&lt;br /&gt;&lt;br /&gt;    top: -15px !important;&lt;br /&gt;&lt;br /&gt;    left: 0 !important;&lt;br /&gt;&lt;br /&gt;    width: 100% !important;&lt;br /&gt;&lt;br /&gt;    height: 14px !important;&lt;br /&gt;&lt;br /&gt;    background: url("data:image/png,%89PNG%0D%0A%1A%0A%0DIHDR%13%88%0E%08%02L%25a%0A%04gAMA%D6%D8%D4OX2%19tEXtSoftwareAdobe%20ImageReadyq%C9e%3C%04%F8IDATx%DA%EC%DD%D1n%E2%3AE%D1%80%F8%FF%EF%E2%AF2%95%D0D4%0E%C1%14%B0%8Fa-%E9%3E%CC%9C%87n%B9%81%A6W0%1C%A6i%9A%E7y%0As8%1CT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AATE9%FE%FCw%3E%9F%AF%2B%2F%BA%97%FDT%1D~K(%5C%9D%D5%EA%1B%5C%86%B5%A9%BDU%B5y%80%ED%AB*%03%FAV9%AB%E1%CEj%E7%82%EF%FB%18%BC%AEJ8%AB%FA'%D2%BEU9%D7U%ECc0%E1%A2r%5DynwVi%CFW%7F%BB%17%7Dy%EACU%CD%0E%F0%FA%3BX%FEbV%FEM%9B%2B%AD%BE%AA%E5%95v%AB%AA%E3E5%DCu%15rV9%07%B5%7F%B5w%FCm%BA%BE%AA%FBY%3D%14%F0%EE%C7%60%0EU%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5JU%88%D3%F5%1F%AE%DF%3B%1B%F2%3E%DAUCNa%F92%D02%AC%7Dm%F9%3A%D4%F2%8B6%AE*%BF%5C%C2Ym~9g5%D0Y%95%17%7C%C8c%B0%7C%18%26%9CU%CD%13i%F7%AA%90%B3Z%7D%95%B4%C7%60%E6E%B5%BC%05%B4%FBY%95U%9E%DB%FD%1C%FC%E0%9F%83%7F%BE%17%7DkjMU%E3%03%AC%7CWj%DF%83%9An%BCG%AE%F1%95%96yQ%0Dq%5Dy%3Et%B5'%FC6%5DS%95pV%95%01%81%FF'%07%F8x%C7%F0%BE%9COp%5D%C9%7C%AD%E7%E6%EBV%FB%1E%E0(%07%E5%AC%C6%3A%ABi%9C%8F%C6%0E9%AB%C0'%D2%8E%9F%F99%D0E%B5%99%14%F5%0D%CD%7F%24%C6%DEH%B8%E9rV%DFs%DB%D0%F7k%FE%1D%84%84%83J%B8%E3%BA%FB%EF%20%84%1C%D7%AD%B0%8E%D7U%C8Y%05%1E%D4t%EF%AD%95Q%BF8w%BF%E9%0A%BF%EB%03%B8vJ%8E%BB%F5%B1u%8Cx%80%E1o%5E%CA9%AB%CB%CB%8E%03%DF%1D%B7T%25%9C%D5(%EFJM8%AB%CC'%D2%B2*%A4s%E7c6%FB%3E%FA%A2%1E%80~%0E%3E%DA%10x%5D%95Uig%15u%15%ED%7C%14%B6%87%A1%3B%FCo8%A8%D8o%D3%ADO%01%EDx%83%1A~%1B%9FpP%A3%DC%C6'%9C%95gK%20%D9%C9%11%D0%C0%40%AF%3F%EE%EE%92%94%D6%16X%B5%BCMH%15%2F%BF%D4%A7%C87%F1%8E%F2%81%AE%AAvzr%DA2%ABV%17%7C%E63%83%E7I%DC%C6%0Bs%1B%EF6%1E%80cr%9CW%FF%7F%C6%01%0E%F1%CE%A5%84%B3%CA%BC%E0%CB%AA%84%CE%F9%BF)%EC%13%08WU%AE%AB%B1%AE%2BO%EC%8E%CBYe%FE%8CN%ABr%5Dy%60~%CFA%0D%F4%AE%D4%BE%C75%CA%EDVB%EA(%B7%F1%09g%E5%D9%12H%F6%EB%13S%E7y%5E%5E%FB%98%F0%22%D1%B2'%A7%F0%92%B1%BC%24z3%AC%7Dm%60%D5%92%B4%7CEUO%5E%F0%AA*%3BU%B9%AE%3E%A0j%94%07%A0%C7%A0%AB%FD%B5%3F%A0%F7%03T%3Dy%D7%F7%D6%D4%C0%AAU%D2%E6%DFt%3F%A8%CC%AA%F2%86%B9%D7%F5%1F%18%E6%01%F8%CC%D5%9E%F0%F3z%88%AA%90%EF%20%C0%A6%D3%EA%CFi%AFb%2C%7BB%0A%2B%C3%1A%D7%06V%D5%07%A8r%5D%3D%D9%A6%CAu%F5%25%CF%A2%99%97zNX%60%95%AB%5DUZ%D5%FBR%03%AB%1C%D4k%9F%3F%BB%5C%FF%81a%AE%AB'%7F%F3%EA%FE%F3z%94%AA%D8%DF%5B%01%8E%FB%F3%F2%B1%1B%8DWU%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*UiU%C7%BBe%E7%F3%B9%CB%AAJ%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5*%AAj%FD%C6%D4%5Eo%90%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5%86%AF%1B%9F%98%DA%EBm%BBV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%AD%D6%E4%F58%01%40%85%7F%02%0C8%C2%D0H%16j%8FXIEND%AEB%60%82") repeat-x !important;&lt;br /&gt;&lt;br /&gt;    border-top: 1px solid #BBBBBB !important;&lt;br /&gt;&lt;br /&gt;    border-right: 1px dashed #BBBBBB !important;&lt;br /&gt;&lt;br /&gt;    border-bottom: 1px solid #000000 !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.firebugRulerV {&lt;br /&gt;&lt;br /&gt;    top: 0 !important;&lt;br /&gt;&lt;br /&gt;    left: -15px !important;&lt;br /&gt;&lt;br /&gt;    width: 14px !important;&lt;br /&gt;&lt;br /&gt;    height: 100% !important;&lt;br /&gt;&lt;br /&gt;    background: url("data:image/png,%89PNG%0D%0A%1A%0A%0DIHDR%0E%13%88%08%02%0E%F5%CB%10%04gAMA%D6%D8%D4OX2%19tEXtSoftwareAdobe%20ImageReadyq%C9e%3C%06~IDATx%DA%EC%DD%D1v%A20%14%40Qt%F1%FF%FF%E4%97%D9%07%3BT%19%92%DC%40(%90%EEy%9A5%CB%B6%E8%F6%9Ac%A4%CC0%84%FF%DC%9E%CF%E7%E3%F1%88%DE4%F8%5D%C7%9F%2F%BA%DD%5E%7FI%7D%F18%DDn%BA%C5%FB%DF%97%BFk%F2%10%FF%FD%B4%F2M%A7%FB%FD%FD%B3%22%07p%8F%3F%AE%E3%F4S%8A%8F%40%EEq%9D%BE8D%F0%0EY%A1Uq%B7%EA%1F%81%88V%E8X%3F%B4%CEy%B7h%D1%A2E%EBohU%FC%D9%AF2fO%8BBeD%BE%F7X%0C%97%A4%D6b7%2Ck%A5%12%E3%9B%60v%B7r%C7%1AI%8C%BD%2B%23rc0%B2v%9B%AD%CA%26%0C%1Ek%05A%FD%93%D0%2B%A1u%8B%16-%95q%5Ce%DCSO%8E%E4M%23%8B%F7%C2%FE%40%BB%BD%8C%FC%8A%B5V%EBu%40%F9%3B%A72%FA%AE%8C%D4%01%CC%B5%DA%13%9CB%AB%E2I%18%24%B0n%A9%0CZ*Ce%9C%A22%8E%D8NJ%1E%EB%FF%8F%AE%CAP%19*%C3%BAEKe%AC%D1%AAX%8C*%DEH%8F%C5W%A1e%AD%D4%B7%5C%5B%19%C5%DB%0D%EF%9F%19%1D%7B%5E%86%BD%0C%95%A12%AC%5B*%83%96%CAP%19%F62T%86%CAP%19*%83%96%CA%B8Xe%BC%FE)T%19%A1%17xg%7F%DA%CBP%19*%C3%BA%A52T%86%CAP%19%F62T%86%CA%B0n%A9%0CZ%1DV%C6%3D%F3%FCH%DE%B4%B8~%7F%5CZc%F1%D6%1F%AF%84%F9%0F6%E6%EBVt9%0E~%BEr%AF%23%B0%97%A12T%86%CAP%19%B4T%86%CA%B8Re%D8%CBP%19*%C3%BA%A52huX%19%AE%CA%E5%BC%0C%7B%19*CeX%B7h%A9%0C%95%E1%BC%0C%7B%19*CeX%B7T%06%AD%CB%5E%95%2B%BF.%8F%C5%97%D5%E4%7B%EE%82%D6%FB%CF-%9C%FD%B9%CF%3By%7B%19%F62T%86%CA%B0n%D1R%19*%A3%D3%CA%B0%97%A12T%86uKe%D0%EA%B02*%3F1%99%5DB%2B%A4%B5%F8%3A%7C%BA%2B%8Co%7D%5C%EDe%A8%0C%95a%DDR%19%B4T%C66%82fA%B2%ED%DA%9FC%FC%17GZ%06%C9%E1%B3%E5%2C%1A%9FoiB%EB%96%CA%A0%D5qe4%7B%7D%FD%85%F7%5B%ED_%E0s%07%F0k%951%ECr%0D%B5C%D7-g%D1%A8%0C%EB%96%CA%A0%A52T%C6)*%C3%5E%86%CAP%19%D6-%95A%EB*%95q%F8%BB%E3%F9%AB%F6%E21%ACZ%B7%22%B7%9B%3F%02%85%CB%A2%5B%B7%BA%5E%B7%9C%97%E1%BC%0C%EB%16-%95%A12z%AC%0C%BFc%A22T%86uKe%D0%EA%B02V%DD%AD%8A%2B%8CWhe%5E%AF%CF%F5%3B%26%CE%CBh%5C%19%CE%CB%B0%F3%A4%095%A1%CAP%19*Ce%A8%0C%3BO*Ce%A8%0C%95%A12%3A%AD%8C%0A%82%7B%F0v%1F%2FD%A9%5B%9F%EE%EA%26%AF%03%CA%DF9%7B%19*Ce%A8%0C%95%A12T%86%CA%B8Ze%D8%CBP%19*Ce%A8%0C%95%D1ae%EC%F7%89I%E1%B4%D7M%D7P%8BjU%5C%BB%3E%F2%20%D8%CBP%19*Ce%A8%0C%95%A12T%C6%D5*%C3%5E%86%CAP%19*Ce%B4O%07%7B%F0W%7Bw%1C%7C%1A%8C%B3%3B%D1%EE%AA%5C%D6-%EBV%83%80%5E%D0%CA%10%5CU%2BD%E07YU%86%CAP%19*%E3%9A%95%91%D9%A0%C8%AD%5B%EDv%9E%82%FFKOee%E4%8FUe%A8%0C%95%A12T%C6%1F%A9%8C%C8%3D%5B%A5%15%FD%14%22r%E7B%9F%17l%F8%BF%ED%EAf%2B%7F%CF%ECe%D8%CBP%19*Ce%A8%0C%95%E1%93~%7B%19%F62T%86%CAP%19*Ce%A8%0C%E7%13%DA%CBP%19*Ce%A8%0CZf%8B%16-Z%B4h%D1R%19f%8B%16-Z%B4h%D1R%19%B4%CC%16-Z%B4h%D1R%19%B4%CC%16-Z%B4h%D1%A2%A52%CC%16-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2EKe%98-Z%B4h%D1%A2EKe%D02%5B%B4h%D1%A2EKe%D02%5B%B4h%D1%A2E%8B%96%CA0%5B%B4h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%16-%95a%B6h%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-Z*%C3l%D1%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z%B4T%86%D9%A2E%8B%16-Z%B4T%06-%B3E%8B%16-Z%B4T%06-%B3E%8B%16-Z%B4h%A9%0C%B3E%8B%16-Z%B4h%A9%0CZf%8B%16-Z%B4h%A9%0CZf%8B%16-Z%B4h%D1R%19f%8B%16-Z%B4h%D1R%19%B4%CC%16-Z%B4h%D1R%19%B4%CC%16-Z%B4h%D1%A2%A52%CC%16-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2EKe%98-Z%B4h%D1%A2EKe%D02%5B%B4h%D1%A2EKe%D02%5B%B4h%D1%A2E%8B%96%CA0%5B%B4h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%16-%95a%B6h%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-Z*%C3l%D1%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z%B4T%86%D9%A2E%8B%16-Z%B4T%06-%B3E%8B%16-Z%B4T%06-%B3E%8B%16-Z%B4h%A9%0C%B3E%8B%16-Z%B4h%A9%0CZf%8B%16-Z%B4h%A9%0CZf%8B%16-Z%B4h%D1R%19f%8B%16-Z%B4h%D1R%19%B4%CC%16-Z%B4h%D1R%19%B4%CC%16-Z%B4h%D1%A2%A52%CC%16-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2EKe%98-Z%B4h%D1%A2EKe%D02%5B%B4h%D1%A2EKe%D02%5B%B4h%D1%A2E%8B%96%CA0%5B%B4h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%16-%95a%B6h%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-Z*%C3l%D1%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z%B4T%86%D9%A2E%8B%16-Z%B4T%06-%B3E%8B%16-Z%B4%AE%A4%F5%25%C0%DE%BF%5C'%0F%DA%B8qIEND%AEB%60%82") repeat-y !important;&lt;br /&gt;&lt;br /&gt;    border-left: 1px solid #BBBBBB !important;&lt;br /&gt;&lt;br /&gt;    border-right: 1px solid #000000 !important;&lt;br /&gt;&lt;br /&gt;    border-bottom: 1px dashed #BBBBBB !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.overflowRulerX &amp;gt; .firebugRulerV {&lt;br /&gt;&lt;br /&gt;    left: 0 !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.overflowRulerY &amp;gt; .firebugRulerH {&lt;br /&gt;&lt;br /&gt;    top: 0 !important;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */&lt;br /&gt;&lt;br /&gt;.fbProxyElement {&lt;br /&gt;&lt;br /&gt;    position: absolute !important;&lt;br /&gt;&lt;br /&gt;    pointer-events: auto !important;&lt;br /&gt;&lt;br /&gt;}&amp;lt;/style&amp;gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;table border="0" cellpadding="0" cellspacing="0"&amp;gt;&lt;br /&gt;  &amp;lt;tbody&amp;gt;&amp;lt;tr&amp;gt;&lt;br /&gt;    &amp;lt;td style="width: 196px;" id="firstTd"&amp;gt;&lt;br /&gt;    &amp;lt;/td&amp;gt;&lt;br /&gt;    &amp;lt;td&amp;gt;&lt;br /&gt;      &amp;lt;div id="divHeader" style="overflow:hidden;width:284px;"&amp;gt;&lt;br /&gt;        &amp;lt;table border="1" cellpadding="0" cellspacing="0"&amp;gt;&lt;br /&gt;          &amp;lt;tbody&amp;gt;&amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;&lt;br /&gt;              &amp;lt;div style="width: 69px;" class="tableHeader"&amp;gt;Header1&amp;lt;/div&amp;gt;&lt;br /&gt;            &amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;&lt;br /&gt;              &amp;lt;div style="width: 69px;" class="tableHeader"&amp;gt;Header2&amp;lt;/div&amp;gt;&lt;br /&gt;            &amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;&lt;br /&gt;              &amp;lt;div style="width: 213px;" class="tableHeader"&amp;gt;Header3&amp;lt;/div&amp;gt;&lt;br /&gt;            &amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;&lt;br /&gt;              &amp;lt;div style="width: 69px;" class="tableHeader"&amp;gt;Header4&amp;lt;/div&amp;gt;&lt;br /&gt;            &amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;&lt;br /&gt;              &amp;lt;div style="width: 69px;" class="tableHeader"&amp;gt;Header5&amp;lt;/div&amp;gt;&lt;br /&gt;            &amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;        &amp;lt;/tbody&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;      &amp;lt;/div&amp;gt;&lt;br /&gt;    &amp;lt;/td&amp;gt;&lt;br /&gt;  &amp;lt;/tr&amp;gt;&lt;br /&gt;  &amp;lt;tr&amp;gt;&lt;br /&gt;  &lt;br /&gt;    &amp;lt;td valign="top"&amp;gt;&lt;br /&gt;      &amp;lt;div id="firstcol" style="overflow: hidden;height:80px"&amp;gt;&lt;br /&gt;        &amp;lt;table border="1" cellpadding="0" cellspacing="0" width="200px"&amp;gt;&lt;br /&gt;          &amp;lt;tbody&amp;gt;&amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td style="height: 22px;" class="tableFirstCol"&amp;gt;Header row1 &amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;          &amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td style="height: 22px;" class="tableFirstCol"&amp;gt;Header row2&amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;          &amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td style="height: 22px;" class="tableFirstCol"&amp;gt;Header row3&amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;          &amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td style="height: 22px;" class="tableFirstCol"&amp;gt;Header row4&amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;          &amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td style="height: 22px;" class="tableFirstCol"&amp;gt;Header row5&amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;          &amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td style="height: 22px;" class="tableFirstCol"&amp;gt;Header row6&amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;          &amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td style="height: 22px;" class="tableFirstCol"&amp;gt;Header row7&amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;          &amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td style="height: 22px;" class="tableFirstCol"&amp;gt;Header row8&amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;          &amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td style="height: 22px;" class="tableFirstCol"&amp;gt;Header row9&amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;        &amp;lt;/tbody&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;      &amp;lt;/div&amp;gt;&lt;br /&gt;    &amp;lt;/td&amp;gt;&lt;br /&gt;    &lt;br /&gt;    &amp;lt;td valign="top"&amp;gt;&lt;br /&gt;      &amp;lt;div id="table_div" style="overflow: scroll;width:300px;height:100px;position:relative" onscroll="fnScroll()"&amp;gt;&lt;br /&gt;        &amp;lt;table border="1" cellpadding="0" cellspacing="0" width="500px"&amp;gt;&lt;br /&gt;          &amp;lt;tbody&amp;gt;&amp;lt;tr id="firstTr"&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row1Col1&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row1Col2&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row1Col3&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row1Col4&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row1Col5&amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;          &amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row2Col1&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row2Col2&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row2Col3&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row2Col4&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row2Col5&amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;          &amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row3Col1&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row3Col2&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row3Col3&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row3Col4&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row3Col5&amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;          &amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row4Col1&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row4Col2&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row4Col3&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row4Col4&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row4Col5&amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;          &amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row5Col1&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row5Col2&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row5Col3&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row5Col4&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row5Col5&amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;          &amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row6Col1&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row6Col2&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row6Col3&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row6Col4&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row6Col5&amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;          &amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row7Col1&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row7Col2&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row7Col3&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row7Col4&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row7Col5&amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;          &amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row8Col1&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row8Col2&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row8Col3&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row8Col4&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row8Col5&amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;          &amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row9Col1&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row9Col2&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row9Col3&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row9Col4&amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td&amp;gt;Row9Col5&amp;lt;/td&amp;gt;&lt;br /&gt;          &amp;lt;/tr&amp;gt;&lt;br /&gt;        &amp;lt;/tbody&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;      &amp;lt;/div&amp;gt;&lt;br /&gt;    &amp;lt;/td&amp;gt;&lt;br /&gt;  &amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;/tbody&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div closure_uid_e0kkfy="204"&gt;&lt;/div&gt;&lt;div closure_uid_e0kkfy="204"&gt;Thanks Hope this post will help you, if yes please put comment below of this page, &lt;/div&gt;&lt;div closure_uid_e0kkfy="204"&gt;&lt;b closure_uid_e0kkfy="205"&gt;Rajesh Singh, &lt;/b&gt;&lt;/div&gt;&lt;div closure_uid_e0kkfy="204"&gt;&lt;b closure_uid_e0kkfy="205"&gt;Senior Asp.Net Developer &lt;/b&gt;&lt;/div&gt;&lt;div closure_uid_e0kkfy="204"&gt;&lt;b closure_uid_e0kkfy="205"&gt;Email: &lt;a href="mailto:raj143svmit@gmail.com"&gt;raj143svmit@gmail.com&lt;/a&gt; &lt;/b&gt;&lt;/div&gt;&lt;div closure_uid_e0kkfy="204"&gt;e-Procurement Technologies Ltd (India)&lt;/div&gt;&lt;div closure_uid_e0kkfy="203"&gt;www.abcprocure.com &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/8764046518411157827-3213226892159105778?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/3213226892159105778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=3213226892159105778&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/3213226892159105778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/3213226892159105778'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2011/08/fixed-first-column-and-header-of-table.html' title='Fixed First Column and Header of Table and Scroll other Column'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-3265223286454072548</id><published>2011-08-03T17:49:00.000+05:30</published><updated>2011-08-03T17:49:02.437+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Find Today is Sunday or Not by Jquery</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;Hello Friends,&lt;br /&gt;&lt;br /&gt;Please find below demo and code to find date is sunday or not, please check it out.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong closure_uid_k5p4fo="221"&gt;Demo&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;function getsunday(date) {        var day = date.getDay();        return [(day != 0), ''];    }function FindTodayisSunday() {   if(getsunday(new Date(document.getElementById('txtyear').value,document.getElementById('txtmonth').value-1,document.getElementById('txtdate').value))!='true,'){   document.getElementById('error').innerHTML="Today is sunday.";   document.getElementById("error").setAttribute("style", "color:Green;");    }   else{   document.getElementById('error').innerHTML="Today is not sunday";   document.getElementById("error").setAttribute("style", "color:Red;");    }}&lt;/script&gt;&lt;br /&gt;Year : &lt;input id="txtyear" /&gt;&lt;i&gt;(only interger)&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Month : &lt;input id="txtmonth" /&gt;&lt;i&gt;(only interger)&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Date : &lt;input id="txtdate" onblur="FindTodayisSunday()" /&gt;&lt;i&gt;(only interger)&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span id="error"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;"&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;jQuery test page&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;&lt;br /&gt;function getsunday(date) {&lt;br /&gt;        var day = date.getDay();&lt;br /&gt;        return [(day != 0), ''];&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;function FindTodayisSunday() {&lt;br /&gt;            if(getsunday(new Date(document.getElementById('txtyear').value,document.getElementById('txtmonth').value-1,document.getElementById('txtdate').value))!='true,'){&lt;br /&gt;            document.getElementById('error').innerHTML="Today is sunday.";&lt;br /&gt;            document.getElementById("error").setAttribute("style", "color:Green;"); &lt;br /&gt;            }&lt;br /&gt;            else{&lt;br /&gt;            document.getElementById('error').innerHTML="Today is not sunday";&lt;br /&gt;            document.getElementById("error").setAttribute("style", "color:Red;"); &lt;br /&gt;            }&lt;br /&gt;}&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;Year : &amp;lt;input type="text" id="txtyear"/&amp;gt;&amp;lt;i&amp;gt;(only interger)&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;Month : &amp;lt;input type="text" id="txtmonth"/&amp;gt;&amp;lt;i&amp;gt;(only interger)&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;Date : &amp;lt;input type="text" id="txtdate" onblur="FindTodayisSunday()" /&amp;gt;&amp;lt;i&amp;gt;(only interger)&amp;lt;/i&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;&amp;lt;span id="error"&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;&lt;/b&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-3265223286454072548?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/3265223286454072548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=3265223286454072548&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/3265223286454072548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/3265223286454072548'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2011/08/find-today-is-sunday-or-not-by-jquery.html' title='Find Today is Sunday or Not by Jquery'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-7598540105015354136</id><published>2011-08-03T17:26:00.001+05:30</published><updated>2011-08-03T17:30:38.162+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='programming tips'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Alpha Numeric And Few Special Character Allowed Validation</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Hello Friends,&lt;br /&gt;&lt;div closure_uid_w7rdfh="196"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div closure_uid_w7rdfh="196"&gt;jQuery provides you alphanumeric validation or only Special Character validation, below code will help you validate your textbox with alphanumeric and also allow few special character, you can see regex pattern below, you can&amp;nbsp;add your special character which you want to allow..you can also see live demo by entering your text&amp;nbsp;in below textbox..&amp;nbsp;&lt;/div&gt;&lt;div closure_uid_w7rdfh="197"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Demo&lt;/b&gt;&lt;br /&gt;&lt;script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;function loadContent() {   if(validate()){   document.getElementById('error').innerHTML="Validate Success.";   document.getElementById("error").setAttribute("style", "color:Green;");    }   else{   document.getElementById('error').innerHTML="Not Validate, its wrong.";   document.getElementById("error").setAttribute("style", "color:Red;");    }}function validate(){    return /^([a-zA-Z 0-9]([a-zA-Z 0-9\s\[\]\!\(\)\-\.\&amp;\*\#\@/\\(/)/)])+$)/.test(document.getElementById('txtcheck').value);}&lt;/script&gt;&lt;br /&gt;Enter Name : &lt;input id="txtcheck" onblur="loadContent()" /&gt;&lt;br /&gt;&lt;span id="error"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div closure_uid_ljq2eq="207"&gt;Note : Few character allowed (!,\-,.,&amp;amp;,*,#,@,/)&lt;/div&gt;&lt;div closure_uid_ljq2eq="207"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div closure_uid_ljq2eq="207"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre style="background-color: #eeeeee; border-bottom: #999999 1px dashed; border-left: #999999 1px dashed; border-right: #999999 1px dashed; border-top: #999999 1px dashed; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; width: 100%;"&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;jQuery test page&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;function loadContent() {&lt;br /&gt;&lt;br /&gt;            if(validate()){&lt;br /&gt;            document.getElementById('error').innerHTML="Validate Success.";&lt;br /&gt;            document.getElementById("error").setAttribute("style", "color:Green;"); &lt;br /&gt;            }&lt;br /&gt;            else{&lt;br /&gt;            document.getElementById('error').innerHTML="Not Validate, its wrong.";&lt;br /&gt;            document.getElementById("error").setAttribute("style", "color:Red;"); &lt;br /&gt;            }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function validate()&lt;br /&gt;{&lt;br /&gt;    return /^([a-zA-Z 0-9]([a-zA-Z 0-9\s\[\]\!\(\)\-\.\&amp;amp;\*\#\@/\\(/)/)])+$)/.test(document.getElementById('txtcheck').value);&lt;br /&gt;}&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;Enter Name : &amp;lt;input type="text" id="txtcheck" onblur="loadContent()" /&amp;gt;&lt;br /&gt;&amp;lt;span id="error"&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;Note : Few character allowed (!,\-,.,&amp;amp;,*,#,@,/)&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;&lt;/b&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-7598540105015354136?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/7598540105015354136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=7598540105015354136&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7598540105015354136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7598540105015354136'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2011/08/alpha-numeric-and-few-special-character.html' title='Alpha Numeric And Few Special Character Allowed Validation'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-5228320798013871095</id><published>2011-07-15T17:33:00.000+05:30</published><updated>2011-07-15T17:33:21.100+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='GetDate()'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title type='text'>All the Operation of Getdate()</title><content type='html'>Hello developers,&lt;br /&gt;&lt;br /&gt;Please find all the operation done on particular getdate() function,&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;--Get today date&lt;br /&gt;select getdate()&lt;br /&gt;&lt;br /&gt;--Get Day&lt;br /&gt;select DATENAME (DW,GETDATE())&lt;br /&gt;&lt;br /&gt;--Get date of sundays in month&lt;br /&gt;declare @d1 datetime, @d2 datetime&lt;br /&gt;--select @d1 = '5/1/2009'&lt;br /&gt;--,@d2= '5/31/2009'&lt;br /&gt;&lt;br /&gt;select @d1 = CONVERT(datetime, DATEADD(dd,-(DAY(DATEADD(mm,1,GETDATE()))-1),DATEADD(mm,0,GETDATE())), 103)&lt;br /&gt;,@d2= CONVERT(datetime, DATEADD(d, -DAY(DATEADD(m,1,getdate())),DATEADD(m,1,getdate())), 103)&lt;br /&gt;&lt;br /&gt;;with dates ( date )&lt;br /&gt;as&lt;br /&gt;(&lt;br /&gt;select @d1&lt;br /&gt;union all&lt;br /&gt;select dateadd(d,1,date)&lt;br /&gt;from dates&lt;br /&gt;where date &amp;lt; @d2&lt;br /&gt;)&lt;br /&gt;select day(date) as sundaydate from dates where datename(dw,date) = 'Sunday'&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Get total number of days in month&lt;br /&gt;select datepart(dd,dateadd(dd,-1,dateadd(mm,1,cast(cast(year(getdate()) as varchar)+'-'+cast(month(getdate()) as varchar)+'-01' as datetime))))&lt;br /&gt;&lt;br /&gt;--First Day of month&lt;br /&gt;SELECT DAY(DATEADD(dd,-(DAY(DATEADD(mm,1,GETDATE()))-1),DATEADD(mm,0,GETDATE())))&lt;br /&gt;&lt;br /&gt;--Last Day of month&lt;br /&gt;SELECT DAY(DATEADD(d, -DAY(DATEADD(m,1,getdate())),DATEADD(m,1,getdate())))&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--First Date of month&lt;br /&gt;SELECT CONVERT(VARCHAR(10), DATEADD(dd,-(DAY(DATEADD(mm,1,GETDATE()))-1),DATEADD(mm,0,GETDATE())), 103)&lt;br /&gt;&lt;br /&gt;--Last Date of month&lt;br /&gt;SELECT CONVERT(VARCHAR(10), DATEADD(d, -DAY(DATEADD(m,1,getdate())),DATEADD(m,1,getdate())), 103)&lt;br /&gt;&lt;br /&gt;--Get date of date&lt;br /&gt;select DAY(getdate())&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Thanks&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;br /&gt;Email: raj143svmit@gmail.com&lt;/b&gt;&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-5228320798013871095?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/5228320798013871095/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=5228320798013871095&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/5228320798013871095'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/5228320798013871095'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2011/07/all-operation-of-getdate.html' title='All the Operation of Getdate()'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-6840733881389882443</id><published>2011-07-08T23:55:00.002+05:30</published><updated>2011-07-08T23:55:40.841+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Rajesh Singh'/><title type='text'>File 3</title><content type='html'>1) Define some facts about Temporary table and there types&lt;br /&gt;ans: Temporary table name is limited t 116 characters. Local temporary table created with single # and then name of table. &lt;br /&gt;And this table is to be deleted explicitly and if it is created in store procedure it will be dropped at the end of store procedure. &lt;br /&gt;On the other hand if are talking abut Global variable tables start with ## and these are dropped on the session ends. &lt;br /&gt;And some more facts about the Temporary tables is that these cannot be partitioned and we c&lt;br /&gt;annot create key constraints to these tables and one more thing is that we cannot create user-defined data types in tempdb. &lt;br /&gt;&lt;br /&gt;2) What are the different index configurations a table can have&lt;br /&gt;ans: (1)No indexes&lt;br /&gt; (2)A clustered index&lt;br /&gt; (3)A clustered index and many nonclustered indexes&lt;br /&gt; (4)A nonclustered index&lt;br /&gt; (5)Many nonclustered indexes&lt;br /&gt; &lt;br /&gt;3)What do you mean by KEYSET Cursor&lt;br /&gt;ans: KEYSET Cursor uses the set of keys that are primary key or we can saw uniquely identify the cursor's rows. &lt;br /&gt;SQL Server uses a table in tempdb to store keyset. The KEYSET cursor helps to updates non key values from being made through this cursor, &lt;br /&gt;but when inserts made by other users are not visible. Updates nonkey values made by other users are visible as the owner scrolls around the cursor, &lt;br /&gt;but updates key values made by other users are not visible.  &lt;br /&gt;&lt;br /&gt;3)Here are some instruction when creating a store procedure to increase speed&lt;br /&gt;ans:   Here are the some good tips when creating a store procedure&lt;br /&gt;&lt;br /&gt; (1)Always use ANSI92 syntax avoid to use the old syntax.&lt;br /&gt; (2)Use SQL keyword in capital letters to increase readability.&lt;br /&gt;&lt;br /&gt; (3)Use few possible variables to increase cache memory.&lt;br /&gt; (4)Try to avoid dynamic queries if we are not using dynamic query  there is no recompilation of execution plan but on the other side &lt;br /&gt;if  we are using dynamic query every time we need recompile of plan.&lt;br /&gt;&lt;br /&gt; (5)Use SET NOCOUNT ON this will helps us to get number of row  effected without network traffic.&lt;br /&gt; (6)To avoid recompilations use OPTION KEEPFIXED PLAN.&lt;br /&gt;&lt;br /&gt; (7)In Select and Set use select to assign value to variable it is  much faster than multiple set statement.&lt;br /&gt; (8)Try to avoid IN. IN counts Null values so use EXISTA there. EXISTS  which return only boolean value and IN return heavier result than  EXISTS.&lt;br /&gt;&lt;br /&gt; (9)In CAST and CONVERT always try to use CAST it is ASNI92  standard.Use convert in case of datetime.&lt;br /&gt; (10)Avoid Distinct and Order by clause.These class needs extra space.&lt;br /&gt;&lt;br /&gt; (11)Avoid cursor so use while loop for that and temparory tables.&lt;br /&gt; (12)Avoid to use * in select statement.&lt;br /&gt;&lt;br /&gt; (13)Avoid correlated sub queries.&lt;br /&gt; (14)Avoid select * into for large tables it locks the system objects.&lt;br /&gt;&lt;br /&gt; (15)Avoid temporary tables because it will recompile the procedure.&lt;br /&gt;4)Size of Clustered NonClustered in 2005 and 2008&lt;br /&gt;ans: In SQL 2005 and earlier there was a limitation of 250 indexes per table, one clustered and 249 non-clustered. In SQL 2008, &lt;br /&gt;with the addition of filtered indexes, that limitation was increased to 1000, one clustered and 999 non-clustered indexes.&lt;br /&gt;&lt;br /&gt;5)Difference between Set and Select &lt;br /&gt;ans:   Set is a ANSI standard for variable assignment.&lt;br /&gt;&lt;br /&gt;Select is a Non-ANSI standard when assigning variables.&lt;br /&gt;We can assign only one variable at a time&lt;br /&gt;&lt;br /&gt;We can assign multiple variable at a time&lt;br /&gt;When assigning from a query that returns more than one value, SET will fail with an error.&lt;br /&gt;&lt;br /&gt;When assigning from a query that returns more than one value, SELECT will assign the last value returned by the query and hide the fact that the query returned&lt;br /&gt;&lt;br /&gt;6)How many different locks in SQL SERVER&lt;br /&gt;ans:   (1)Intent&lt;br /&gt;&lt;br /&gt; (2)shared&lt;br /&gt; (3)Update&lt;br /&gt;&lt;br /&gt; (4)Exclusive&lt;br /&gt; (5)Schema&lt;br /&gt;&lt;br /&gt; (6)Bulk Update&lt;br /&gt;7)What is the use of OLAP &lt;br /&gt;ans:   OLAP(On-Line Analytical Processing) is useful because it provides fast and interactive access to aggregated data and the ability to drill down to detail.&lt;br /&gt;&lt;br /&gt;8)What do you mean by Filtered indexes&lt;br /&gt;ans:Filtered indexes are a new feature in SQL 2008 and they allow for an index to contain only some of the rows in the table. Prior to this, &lt;br /&gt;an index would always have, at the leaf level, the same number of rows as the table. With filtered indexes, an index can be based on just a subset of the rows.&lt;br /&gt;When creating a filtered index, a predicate is specified as part of the index creation statement. There are several limitations on this predicate. The comparison ca&lt;br /&gt;nnot reference a computed column, a column that is declared as a user-defined type, a spatial column or a hierarchyid column.&lt;br /&gt;A clustered index cannot be filtered as it is the actual table.&lt;br /&gt;&lt;br /&gt;9)What are Sparse Columns in Sql Server2008&lt;br /&gt;ans:sparse column is a tool that helps to reduce amount of physical storage used in a database. &lt;br /&gt;These are ordinary columns that have an optimized storage for all null values.SPARSE column are better at managing NULL and ZERO values in SQL Server. &lt;br /&gt;It does not take any space in database at all.&lt;br /&gt;&lt;br /&gt;10)Difference between Triggers and Storedprocedures&lt;br /&gt;   Triggers are basically used to implement business rules.Triggers is also similar to stored procedures.&lt;br /&gt;The difference is that it can be activated when data is added or edited or deleted from a table in a database.&lt;br /&gt;Triggers are special kind of stored procedures that get executed automatically when an INSERT,UPDATE or DELETE operation takes place on a table. &lt;br /&gt;&lt;br /&gt;11)Diffrence between temp table and table variable&lt;br /&gt;(1)Temp Tables are created in the SQL Server TEMPDB database and therefore require more IO resources and locking. &lt;br /&gt;Table Variables and Derived Tables are created in memory.&lt;br /&gt;&lt;br /&gt;(2)Temp Tables will generally perform better for large amounts of data that can be worked on using parallelism whereas &lt;br /&gt;Table Variables are best used for small amounts of data (I use a rule of thumb of 100 or less rows) where parallelism would not provide &lt;br /&gt;a significant performance improvement.&lt;br /&gt;(3)You cannot use a stored procedure to insert data into a Table Variable or Derived Table. &lt;br /&gt;For example, the following will work: INSERT INTO #MyTempTable EXEC dbo.GetPolicies_sp whereas the following will generate an error: &lt;br /&gt;INSERT INTO @MyTableVariable EXEC dbo.GetPolicies_sp.&lt;br /&gt;&lt;br /&gt;(4)Derived Tables can only be created from a SELECT statement but can be used within an Insert, Update, or Delete statement.&lt;br /&gt;(5) In order of scope endurance, Temp Tables extend the furthest in scope, followed by Table Variables, and finally Derived Tables.&lt;br /&gt;&lt;br /&gt;12)Diffrence between varchar and nvarchar&lt;br /&gt;An nvarchar column can store any Unicode data. A varchar column is restricted to an 8-bit codepage. Some people think that varchar should be used &lt;br /&gt;because it takes up less space. I believe this is not the correct answer. Codepage incompatabilities are a pain, and Unicode is the cure for codepage problems.&lt;br /&gt; With cheap disk and memory nowadays, there is really no reason to waste time mucking around with code pages anymore.&lt;br /&gt;&lt;br /&gt;13)What is SQL injection &lt;br /&gt;SQL injection is a security vulnerability that occurs in the database layer of an application. The vulnerability is present when user input is &lt;br /&gt;either incorrectly filtered for string literal escape characters embedded in SQL statements or user input is not strongly typed and thereby unexpectedly executed. &lt;br /&gt;It is in fact an instance of a more general class of vulnerabilities that can occur whenever one programming or scripting language is embedded inside another.&lt;br /&gt;&lt;br /&gt;14)What are Checkpoint in SQL Server&lt;br /&gt;When we done operation on SQL SERVER that is not commited directly to the database.All operation must be logged in to Transaction Log files after that &lt;br /&gt;they should be done on to the main database.CheckPoint are the point which alert Sql Server to save all the data to main database if no Check point &lt;br /&gt;is there then log files get full we can use Checkpoint command to commit all data in the SQL SERVER.When we stop the SQL Server &lt;br /&gt;it will take long time because Checkpoint is also fired.&lt;br /&gt;&lt;br /&gt;15)What is the difference between UNION ALL Statement and UNION&lt;br /&gt;The main difference between UNION ALL statement and UNION is UNION All statement is much faster than UNION,the reason behind this is that &lt;br /&gt;because UNION ALL statement does not look for duplicate rows, but on the other hand UNION statement does look for duplicate rows, whether or not they exist.&lt;br /&gt;&lt;br /&gt;16)Write some disadvantage of Cursor&lt;br /&gt;Cursor plays there row quite nicely but although there are some disadvantage of Cursor . Because we know cursor doing roundtrip it will make &lt;br /&gt;network line busy and also make time consuming methods. First of all select query gernate output and after that cursor goes one by one so roundtrip &lt;br /&gt;happen.Another disadvange of cursor are ther are too costly because they require lot of resources and temporary storage so network is quite busy.&lt;br /&gt;&lt;br /&gt;17)What is different in Rules and Constraints&lt;br /&gt;Rules and Constraints are similar in functionality but there is a An little diffrence between them.Rules are used for backward compatibility . &lt;br /&gt;One the most exclusive diffrence is that we an bind rules to a datatypes whereas constraints are bound only to columns.So we can create our own &lt;br /&gt;datatype with the help of Rules and get the input according to that.&lt;br /&gt;&lt;br /&gt;18)What is the difference between a HAVING CLAUSE and a WHERE CLAUSE&lt;br /&gt;Having Clause is basically used only with the GROUP BY function in a query. WHERE Clause is applied to each row before they are part of the &lt;br /&gt;GROUP BY function in a query.&lt;br /&gt;&lt;br /&gt;19)What are the advantage of User Defined function over store procedure&lt;br /&gt;There are no of benefits of SQL Server User-Defined functions.Some of these are here we can use these functions in so many different places with &lt;br /&gt;comparison to SQL Server stored procedure.Two of user define function acts like a table (Inline and Multi-statement functions) helps developers to &lt;br /&gt;reduce the code and break complex logic in short code blocks.On the other hand Scalar User-Defined Function have ability so that we use this function &lt;br /&gt;anywhere where we&lt;br /&gt;need some single value result or some of opertion.Combining these advantages with the ability to pass parameters into these database objects makes &lt;br /&gt;the SQL Server User-Defined function a very powerful tool. &lt;br /&gt;&lt;br /&gt;20)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-6840733881389882443?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/6840733881389882443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=6840733881389882443&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/6840733881389882443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/6840733881389882443'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2011/07/file-3.html' title='File 3'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-5812378654327894761</id><published>2011-07-08T23:54:00.002+05:30</published><updated>2011-07-08T23:54:44.148+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Rajesh Singh'/><title type='text'>File 2</title><content type='html'>what is interface?&lt;br /&gt;how we can use interface in .net?&lt;br /&gt;&lt;br /&gt;what is partial class?&lt;br /&gt;what is the difference between partial class and abstract class?&lt;br /&gt;&lt;br /&gt;what is constructor?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;what is difference between function and SP?&lt;br /&gt;User-defined function&lt;br /&gt;=====================&lt;br /&gt;&lt;br /&gt;A user-defined function is a routine that encapsulates useful &lt;br /&gt;logic for use in other queries. While views are limited to a &lt;br /&gt;single SELECT statement, user-defined functions can have multiple SELECT statements and provide more powerful logic than is possible with views.&lt;br /&gt;&lt;br /&gt;1&gt;Procedure can return zero or n values whereas function can return one value which is mandatory.&lt;br /&gt;&lt;br /&gt;2&gt;Procedures can have input,output parameters for it whereas functions can have only input parameters.&lt;br /&gt;&lt;br /&gt;3&gt;Procedure allow select as well as DML statement in it whereas function allow only select statement in it.&lt;br /&gt;&lt;br /&gt;4&gt;Functions can be called from procedure whereas procedures cannot be called from function.&lt;br /&gt;&lt;br /&gt;5&gt;Exception can be handled by try-catch block in a procedure whereas try-catch block cannot be used in a function.&lt;br /&gt;&lt;br /&gt;6&gt;We can go for transaction management in procedure whereas we can't go in function.&lt;br /&gt;&lt;br /&gt;7&gt;Procedures can not be utilized in a select statement whereas function can be embedded in a select statement.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;what is sclar and static function in sql server 2005?&lt;br /&gt;&lt;br /&gt;why we set 'SET NOCOUNT ON and OFF'?&lt;br /&gt;Ans : SET NOCOUNT ON added to prevent extra result sets from interfering with SELECT statements.&lt;br /&gt;&lt;br /&gt;why we set SET ANSI_NULLS ON and OFF?&lt;br /&gt;&lt;br /&gt;why we SET QUOTED_IDENTIFIER ON ?&lt;br /&gt;&lt;br /&gt;what is the difference between SP and Trigger?&lt;br /&gt;&lt;br /&gt;if we have 1000 rows in table and no primary key or anything, how we will get 99 th row from the table?&lt;br /&gt;&lt;br /&gt;what is WCF and WPF?&lt;br /&gt;&lt;br /&gt;what is silverlight?&lt;br /&gt;&lt;br /&gt;how do you handle xml pharasing in .net code or sql server?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;what is temp table and what is the difference between temp table and local table?&lt;br /&gt;Ans :A local temporary table lives until the connection is valid or until the duration of a compound statement.&lt;br /&gt;&lt;br /&gt;They are created using same syntax as CREATE TABLE except table name is preceded by ‘#’ sign. When table is preceded by single ‘#’ sign, it is defined as local temporary table and its scope is limited to session in which it is created.&lt;br /&gt;&lt;br /&gt;Open one session in Query Analyzer or SSMS (Management Studio) and create a temporary table as shown below.&lt;br /&gt;&lt;br /&gt;CREATE TABLE #TEMP&lt;br /&gt;(&lt;br /&gt;COL1 INT,&lt;br /&gt;COL2 VARCHAR(30),&lt;br /&gt;COL3 DATETIME DEFAULT GETDATE()&lt;br /&gt;)&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A global temporary table is permanently present in the database. However, the rows of the table are present until the connection is existent. Once the connection is closed, the data in the global temporary table disappears. However, the table definition remains with the database for access when database is opened next time.&lt;br /&gt;&lt;br /&gt;Syntax difference between global and local temporary table is of an extra ‘#’ sign. Global temporary tables are preceded with two ‘#’ (##) sign. Following is the definition. In contrast of local temporary tables, global temporary tables are visible across entire instance.&lt;br /&gt;&lt;br /&gt;CREATE TABLE ##TEMP_GLOBAL&lt;br /&gt;(&lt;br /&gt;COL1 INT,&lt;br /&gt;COL2 VARCHAR(30),&lt;br /&gt;COL3 DATETIME DEFAULT GETDATE()&lt;br /&gt;)&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How many types of cache are there in .net?&lt;br /&gt;Ans :Caching is a feature that stores data in local memory, allowing incoming requests to be served from memory directly. &lt;br /&gt;&lt;br /&gt;ASP.NET provides the following types of caching that can be used to build highly responsive Web applications: &lt;br /&gt;&lt;br /&gt;1.Output caching : which caches the dynamic response generated by a request. &lt;br /&gt;2.Fragment caching : which caches portions of a response generated by a request. &lt;br /&gt;3.Data caching : which allows developers to programmatically retain arbitrary data across requests.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Type of exception handling in .Net ?&lt;br /&gt;Ans: There are three ways to handle exceptions/errors in ASP.NET:&lt;br /&gt;&lt;br /&gt;try-catch block. This is also called Structured Exception Handling (SEH).&lt;br /&gt;Error Events.&lt;br /&gt;Custom Error Page.&lt;br /&gt;&lt;br /&gt;try-catch Block&lt;br /&gt;Enclose code that accesses files, databases, and so forth inside a try-catch block because access to those resources might be denied due to various reasons causing an exception. The third part of this block is finally. It is executed irrespective of the fact that an exception has been raised. Hence, use the finally block to complete the housekeeping jobs.&lt;br /&gt;&lt;br /&gt;Using Error Events&lt;br /&gt;There are three different error events in ASP.NET that can be used in conjunction with SEH so that all exceptions are handled and the user is presented with a user-friendly error message.&lt;br /&gt;&lt;br /&gt;Page_Error: Occurs when an error occurs within the Web page. This event is in the Web form.&lt;br /&gt;Global_Error: Occurs when an error occurs within the application. This event is in the Gloabl.asax file.&lt;br /&gt;Application_Error: Occurs when an error occurs within the application. This event is in the Gloabl.asax file.&lt;br /&gt;Methods in the Server object are used to handle the exception in the error events.&lt;br /&gt;&lt;br /&gt;GetLastError: Gets the last exception that occurred on the server.&lt;br /&gt;ClearError: Use this method to handle the exception and stop the error to trigger the subsequent error event or display the error to the user.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Using Custom Error Pages&lt;br /&gt;Use custom error page to handle HTTP exceptions such as page not found, unauthorized access, and so forth. You can specify custom error pages in two places:&lt;br /&gt;&lt;br /&gt;customErrors section of the web.config file. This setting specifies the application-wide error page to display for unhandled HTTP errors. HTTP errors are identified by the HTTP status code. Include the &lt;error&gt; tag in the customErrors to display a status code-specific error page. Does not work with .htm or .html files. Set the mode attribute to "On" to view the error page locally.&lt;br /&gt;errorPage attribute of the @Page directive of the Web form to display the error page for the error generated on the particular Web form.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;what is IIS Metabase..&lt;br /&gt;&lt;br /&gt;IIS metabase is the repository of the configuration values that are set in the Internet Information Server (IIS). The IIS metabase in an XML file. It may be controlled through program or manually too. &lt;br /&gt;&lt;br /&gt;In order to edit IIS metabase entries, the user needs to have administrative rights on the system. To do this, in run window, type "inetmgr". Browse to "Local Computer" and right click it. Click on "Properties". Select the "Enable Direct Metabase Edit" check box.&lt;br /&gt;&lt;br /&gt;Many times, due to the existence of multiple versions of .NET framework, some settings in the IIS metabase may get affected and cause your program not to run. For such scenarios, you may take a backup of the IIS metabase XML file and recover it. To create a portable backup, open run window and type "inetmgr". Next browse to "Local Computer" and go to "All Tasks". Next, click on Backup/Restore Configuration. Next, click on "Create Backup". In the textbox box for Configuration Backup name, type a name for your backup file. Also select the encrypt backup option and type a password. To finish the process, click "OK".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-5812378654327894761?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/5812378654327894761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=5812378654327894761&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/5812378654327894761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/5812378654327894761'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2011/07/file-2.html' title='File 2'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-2427862374213326833</id><published>2011-07-08T23:52:00.002+05:30</published><updated>2011-07-08T23:52:54.310+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Rajesh Singh'/><title type='text'>File 1</title><content type='html'>Abstraction&lt;br /&gt;&lt;br /&gt;Abstraction is a process of identifying the relevant qualities and behvaiors an object should possess. &lt;br /&gt;&lt;br /&gt;Lets take an example to understand abstraction. A Laptop consists of many things such as processor, motherboard, RAM, keyboard, &lt;br /&gt;LCD screen, wireless antena, web camera, usb ports, battery, speakers etc. To use it, you don't need to know how internally LCD screens, &lt;br /&gt;keyboard, web camera, battery, wireless antena, speakers works.  You just need to know how to operate the laptop by switching it on.&lt;br /&gt;&lt;br /&gt;complexity is managed by using abstraction&lt;br /&gt;&lt;br /&gt;Encapsulation&lt;br /&gt;&lt;br /&gt;Encapsulation is a method for protecting data from unwanted access or alteration by packaging it in an object &lt;br /&gt;where it is only accessible through the object's interface. Encapsulation are often referred to as information hiding.&lt;br /&gt;&lt;br /&gt;For example,  the Laptop is an object that encapsulates many technologies/hardwares that might not be understood clearly by most people who use it.&lt;br /&gt;&lt;br /&gt;Inheritance&lt;br /&gt;&lt;br /&gt;inheritance is a way to form new classes (instances of which are called objects) using classes that have already been defined.&lt;br /&gt;&lt;br /&gt;Inheritance should not be confused with (subtype) polymorphism, commonly called just polymorphism in object-oriented programming. &lt;br /&gt;&lt;br /&gt;Inheritance is a relationship between implementations, whereas subtype polymorphism is relationship between types (interfaces in OOP)&lt;br /&gt;&lt;br /&gt;Polymorphism&lt;br /&gt;&lt;br /&gt;Polymorphism is briefly described as "one interface, many implementations&lt;br /&gt;&lt;br /&gt;There are two types of polymorphism.&lt;br /&gt;Compile time polymorphism - It is achieved by overloading functions and operators&lt;br /&gt;Run time polymorphism - It is achieved by overriding virtual functions&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------------&lt;br /&gt;ASP.NET 2 Special Folders&lt;br /&gt;&lt;br /&gt;App_Data&lt;br /&gt;App_Code&lt;br /&gt;App_Browsers&lt;br /&gt;App_GlobalResources(.resx)&lt;br /&gt;App_LocalResources&lt;br /&gt;App_Themes&lt;br /&gt;Bin&lt;br /&gt;App_WebReferences&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------------&lt;br /&gt;Global.asax&lt;br /&gt;&lt;br /&gt;Application_Start&lt;br /&gt;Application_End&lt;br /&gt;Application_Error&lt;br /&gt;Session_Start&lt;br /&gt;Session_End&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------------&lt;br /&gt;Access Specifiers&lt;br /&gt;&lt;br /&gt;In C# .net the access specifiers are:&lt;br /&gt;1.private&lt;br /&gt;2.Internal&lt;br /&gt;3.protected&lt;br /&gt;4.protected Internal&lt;br /&gt;5.Public&lt;br /&gt;&lt;br /&gt;1)Public: if we declare any member as public then it can be&lt;br /&gt;accessed from anywhere.&lt;br /&gt;ex: Class Myclass1&lt;br /&gt;{&lt;br /&gt;   public int x;&lt;br /&gt;   public int y;&lt;br /&gt;}&lt;br /&gt;Class Myclass2&lt;br /&gt;{&lt;br /&gt;public static void main()&lt;br /&gt;{&lt;br /&gt;Myclass1 mc=new Myclass1();&lt;br /&gt;//direct accessing public member&lt;br /&gt;mc.x=10;&lt;br /&gt;mc.y=15;&lt;br /&gt;console.writeline(mc.x,mc.y);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;2)Private: Private members are accessible only within the&lt;br /&gt;body of the class or the struct in which they are declared. &lt;br /&gt;ex:&lt;br /&gt;class Employee &lt;br /&gt;{&lt;br /&gt;   public string name = "Jeet";&lt;br /&gt;   double salary = 100.00;   // private access by default&lt;br /&gt;   public double AccessSalary() {&lt;br /&gt;      return salary;&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;class MainClass &lt;br /&gt;{&lt;br /&gt;   public static void Main() &lt;br /&gt;   {&lt;br /&gt;      Employee e = new Employee();&lt;br /&gt;&lt;br /&gt;      // Accessing the public field:&lt;br /&gt;      string n = e.name; &lt;br /&gt;      &lt;br /&gt;      // Accessing the private field:&lt;br /&gt;      double s = e.AccessSalary();    &lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;double s = e.salary; //can not be accessed due to private&lt;br /&gt;lavel....&lt;br /&gt;&lt;br /&gt;3)Protected: A protected member is accessible from within&lt;br /&gt;the class in which it is declared, and from within any class&lt;br /&gt;derived from the class that declared this member.&lt;br /&gt;&lt;br /&gt;ex:class A &lt;br /&gt;{&lt;br /&gt;   protected int x = 123;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;class B : A &lt;br /&gt;{&lt;br /&gt;   void F() &lt;br /&gt;   {&lt;br /&gt;      A a = new A();  &lt;br /&gt;      B b = new B();  &lt;br /&gt;      a.x = 10;   // Error&lt;br /&gt;      b.x = 10;   // OK&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;//a.x =10 generates an error because A is not derived from B.&lt;br /&gt;&lt;br /&gt;4)internal - the members can access from the same project, &lt;br /&gt;but any class&lt;br /&gt;&lt;br /&gt;5)protected internal --&gt; dual scope( internal + protected ).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------------&lt;br /&gt;There are six type of join in SQL 2000&lt;br /&gt;&lt;br /&gt;1) INNER   JOIN&lt;br /&gt;2) OUTER   JOIN&lt;br /&gt;3) CROSS   JOIN&lt;br /&gt;4) EQUI    JOIN&lt;br /&gt;5) NATURAL JOIN&lt;br /&gt;6) SELF    JOIN&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1) INNER JOIN :- PRODUCESS THE RESULT SET OF MATCHING ROWS&lt;br /&gt;                 ONLY FROM THE SPECIFIED TABLES.&lt;br /&gt;&lt;br /&gt;EXAMPLE---&lt;br /&gt;&lt;br /&gt;SELECT COLUMN_LIST FROM 1ST_TABLE_NAME JOIN 2ND_TABLE_NAME&lt;br /&gt;ON &lt;br /&gt;1ST_TABLE_NAME.MATCING_COLUMN=2ND_TABLE_NAME.MATCING_COLUMN&lt;br /&gt;&lt;br /&gt;2) OUTER JOIN :- DISPLAY ALL THE ROWS FROM THE FIRST TABLE&lt;br /&gt;                 AND MATCHING ROWS FROM THE SECOND TABLE.&lt;br /&gt;&lt;br /&gt;EXAMPLE---&lt;br /&gt;&lt;br /&gt;SELECT COLUMN_LIST FROM 1ST_TABLE_NAME OUTER JOIN &lt;br /&gt;2ND_TABLE_NAME&lt;br /&gt;ON &lt;br /&gt;1ST_TABLE_NAME.MATCING_COLUMN=2ND_TABLE_NAME.MATCING_COLUMN &lt;br /&gt;  &lt;br /&gt;THERE ARE THREE TYPES OF OUTER JOIN:&lt;br /&gt;&lt;br /&gt;A)LEFT  OUTER JOIN.&lt;br /&gt;B)RIGHT OUTER JOIN.&lt;br /&gt;C)FULL  OUTER JOIN&lt;br /&gt;&lt;br /&gt;A)LFET OUTER JOIN :- DISPLAYS ALL THE ROWS FROM THE FIRST   &lt;br /&gt;                     TABLE AND MATCHING ROWS FROM THE&lt;br /&gt;                     SECOND TABLE.&lt;br /&gt;&lt;br /&gt;EXAMPLE---&lt;br /&gt;&lt;br /&gt;SELECT COLUMN_LIST FROM 1ST_TABLE_NAME LEFT OUTER JOIN &lt;br /&gt;2ND_TABLE_NAME      ON &lt;br /&gt;1ST_TABLE_NAME.MATCING_COLUMN=2ND_TABLE_NAME.MATCING_COLUMN&lt;br /&gt;&lt;br /&gt;A)RIGHT OUTER JOIN :- DISPLAYS ALL THE ROWS FROM THE  &lt;br /&gt;                      SECOND TABLE AND MATCHING ROWS FROM   &lt;br /&gt;                      THE FIRST TABLE.&lt;br /&gt;&lt;br /&gt;EXAMPLE---&lt;br /&gt;&lt;br /&gt;SELECT COLUMN_LIST FROM 1ST_TABLE_NAME RIGHT OUTER JOIN &lt;br /&gt;2ND_TABLE_NAME        ON &lt;br /&gt;1ST_TABLE_NAME.MATCING_COLUMN=2ND_TABLE_NAME.MATCING_COLUMN&lt;br /&gt;&lt;br /&gt;A)FULL OUTER JOIN :- DISPLAYS ALL MATCHING AND NONMATCHING&lt;br /&gt;                     ROWS  OF BOTH THE TABLES.&lt;br /&gt;&lt;br /&gt;EXAMPLE---&lt;br /&gt;&lt;br /&gt;SELECT COLUMN_LIST  FROM 1ST_TABLE_NAME FULL OUTER JOIN &lt;br /&gt;2ND_TABLE_NAME     ON &lt;br /&gt;1ST_TABLE_NAME.MATCING_COLUMN=2ND_TABLE_NAME.MATCING_COLUMN&lt;br /&gt;&lt;br /&gt;3)CROSS JOIN :- IN THIS TYPE OF JOIN, EACH ROWS FROM THE   &lt;br /&gt;                JOIN WITH EACH ROWS FROM THE SECOND TABLE&lt;br /&gt;                WITHOUT ANY CONDTION.&lt;br /&gt;                ALSO CALLED AS CARTESIAN PRODUCT.&lt;br /&gt;&lt;br /&gt;EXAMPLE---&lt;br /&gt;&lt;br /&gt;SELECT COLUMN_LIST FROM 1ST_TABLE_NAME CROSS JOIN &lt;br /&gt;2ND_TABLE_NAME&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4) EQUI JOIN :- DISPLAYS ALL THE MATHCING ROWS FROM JOINED  &lt;br /&gt;                TABLE. AND ALSO DISPLAYS REDUNDANT VALUES.&lt;br /&gt;                IN THIS WE USE * SIGN TO JOIN THE TABLE.&lt;br /&gt;&lt;br /&gt;EXAMPLE---&lt;br /&gt;&lt;br /&gt;SELECT * FROM 1ST_TABLE_NAME JOIN 2ND_TABLE_NAME&lt;br /&gt;ON &lt;br /&gt;1ST_TABLE_NAME.MATCING_COLUMN=2ND_TABLE_NAME.MATCING_COLUMN &lt;br /&gt; &lt;br /&gt;5)NATURAL JOIN :- DISPLAYS ALL THE MATHCING ROWS FROM   &lt;br /&gt;                    JOINED  TABLE.IT RESTRICT            &lt;br /&gt;                    REDUNDANT VALUES.&lt;br /&gt;&lt;br /&gt;6)SELF JOIN :- IN THIS TABLE JOIN WITH ITSELF WITH  &lt;br /&gt;               DIFFERENT ALIAS NAME. &lt;br /&gt;&lt;br /&gt;ASSUME DEPARTMENT IS A TABLE:&lt;br /&gt;&lt;br /&gt;SELECT A.DEP_NAME,B.MANAGER_ID(COLUMN LIST) FROM DEPARTMENT &lt;br /&gt;A JOIN &lt;br /&gt;DEPARTMENT B&lt;br /&gt;ON A.MANAGER_ID=B.MANAGER_ID&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------------&lt;br /&gt;Validation in DotNet&lt;br /&gt;1.RequiredFieldValidator&lt;br /&gt;2.RangeValidator&lt;br /&gt;3.regularexpressionvalidator&lt;br /&gt;4.comparevalidator&lt;br /&gt;5.customvalidator&lt;br /&gt;6.validationsummary&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------------&lt;br /&gt;lifecycle of asp.net cycle page&lt;br /&gt;&lt;br /&gt;Page_Init -- Page Initialization &lt;br /&gt;&lt;br /&gt;LoadViewState -- View State Loading &lt;br /&gt;&lt;br /&gt;LoadPostData -- Postback data processing &lt;br /&gt;&lt;br /&gt;Page_Load -- Page Loading &lt;br /&gt;&lt;br /&gt;RaisePostDataChangedEvent -- PostBack Change Notification &lt;br /&gt;&lt;br /&gt;RaisePostBackEvent -- PostBack Event Handling &lt;br /&gt;&lt;br /&gt;Page_PreRender -- Page Pre Rendering Phase &lt;br /&gt;&lt;br /&gt;SaveViewState -- View State Saving &lt;br /&gt;&lt;br /&gt;Page_Render -- Page Rendering &lt;br /&gt;&lt;br /&gt;Page_UnLoad -- Page Unloading &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------------&lt;br /&gt;new feature in 3.5&lt;br /&gt;&lt;br /&gt;ASP.NET AJAX&lt;br /&gt;In ASP.NET 2.0, ASP.NET AJAX was used as an extension to it. You had to download the extensions and install it. However in ASP.NET 3.5, ASP.NET AJAX is integrated into the .NET Framework, thereby making the process of building cool user interfaces easier and intuitive.&lt;br /&gt;&lt;br /&gt;New Controls&lt;br /&gt;ListView&lt;br /&gt;DataPager&lt;br /&gt;&lt;br /&gt;LINQ &lt;br /&gt;LINQ defines operators that allow you to code your query in a consistent manner over databases, objects and XML&lt;br /&gt;&lt;br /&gt;You can have multiple versions of ASP.NET on the same machine.&lt;br /&gt;&lt;br /&gt;New Assemblies&lt;br /&gt;System.Core.dll - Includes the implementation for LINQ to Objects&lt;br /&gt;System.Data.Linq.dll - Includes the implementation for LINQ to SQL&lt;br /&gt;System.Xml.Linq.dll - Includes the implementation for LINQ to XML&lt;br /&gt;System.Data.DataSetExtensions.dll - Includes the implementation for LINQ to DataSet&lt;br /&gt;System.Web.Extensions.dll:&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------------&lt;br /&gt;What is hte difference between the Gridview,Datalist and Repeater&lt;br /&gt;Features of a GridView &lt;br /&gt;•Displays data as a table&lt;br /&gt;•Control over&lt;br /&gt;–Alternate item&lt;br /&gt;–Header&lt;br /&gt;–Footer&lt;br /&gt;–Colors, font, borders, etc.&lt;br /&gt;–Paging&lt;br /&gt;•Updateable&lt;br /&gt;•Item as row&lt;br /&gt;&lt;br /&gt;Features of Repeater&lt;br /&gt;•List format&lt;br /&gt;•No default output&lt;br /&gt;•More control&lt;br /&gt;•More complexity&lt;br /&gt;•Item as row&lt;br /&gt;•Not updateable&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Features of DataList&lt;br /&gt;•Directional rendering&lt;br /&gt;•Good for columns&lt;br /&gt;•Item as cell&lt;br /&gt;•Alternate item&lt;br /&gt;•Updateable&lt;br /&gt;&lt;br /&gt;There are Five Session State Modes :&lt;br /&gt;&lt;br /&gt;InProc mode, which stores session state in memory on the Web server. This is the default.&lt;br /&gt;&lt;br /&gt;StateServer mode, which stores session state in a separate process called the ASP.NET state service. This ensures that session state is preserved if the Web application is restarted and also makes session state available to multiple Web servers in a Web farm.&lt;br /&gt;&lt;br /&gt;SQLServer mode stores session state in a SQL Server database. This ensures that session state is preserved if the Web application is restarted and also makes session state available to multiple Web servers in a Web farm.&lt;br /&gt;&lt;br /&gt;Custom mode, which enables you to specify a custom storage provider.&lt;br /&gt;&lt;br /&gt;Off mode, which disables session state.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;in asp.net following ways to maintain server site and &lt;br /&gt;client site state.&lt;br /&gt;client site:&lt;br /&gt;1. View State&lt;br /&gt;2. Query String &lt;br /&gt;3. Hiddne Field&lt;br /&gt;4. Cookies&lt;br /&gt;&lt;br /&gt;Server Site is:&lt;br /&gt;1. Session&lt;br /&gt;2. Application&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;what is view state,session,cookies,caching, and diff between viewstate and session?&lt;br /&gt;&lt;br /&gt;ViewState:&lt;br /&gt;&lt;br /&gt;Viewstate is a hidden fields in an ASP.NET page, contains state of those controls on a page whose “EnableViewstate” property is “true”.&lt;br /&gt;&lt;br /&gt;You can also explicitly add values in it, on an ASP.NET page like:Viewstate.Add( "Totfeatures", "50" );&lt;br /&gt;&lt;br /&gt;Viewstate should be used when you want to save a value between different roundtrips of a single page as viewstate of a page is not accessible by another page.&lt;br /&gt;&lt;br /&gt;Because Viewstate renders with the page, it consumes bandwith, so be careful to use it in applications to be run on low bandwith&lt;br /&gt;&lt;br /&gt;Session :-&lt;br /&gt;&lt;br /&gt;Session variables are usually the most commonly used.&lt;br /&gt;&lt;br /&gt;When a user visits a site, it’s sessions starts and when the user become idle or leave the site, the session ends.&lt;br /&gt;Session variables should be used to save and retrive user specefic information required on multiple pages.&lt;br /&gt;&lt;br /&gt;Session variables consumes server memory, so if your may have a huge amount visiters, use session very carefully and instead of put large values in it try to put IDs and references&lt;br /&gt;&lt;br /&gt;Cookies:-&lt;br /&gt;&lt;br /&gt;Cookies are some values saved in browsers for a particular website o publicly accessible&lt;br /&gt;&lt;br /&gt;The purpose of cookies is to help websites to identify visitors and retrieve their saved preferences&lt;br /&gt;Cookies are also used to facilitate auto login by persisting user id in a cookie save in user’s browser&lt;br /&gt;Because cookies have been saved at client side, they do not create performance issues but may create security issues as they can be hacked from browser.&lt;br /&gt;&lt;br /&gt;Difference Between Viewstate &amp; Session&lt;br /&gt;&lt;br /&gt;Unlike Session state ViewState is a property of the web controls.&lt;br /&gt;&lt;br /&gt;Both are used to persist certain data.&lt;br /&gt;&lt;br /&gt;Values stored in the session are available across different pages in an application.&lt;br /&gt;&lt;br /&gt;Where as the vdata contained in a control is persisted between page's post back by using that controls ViewState property.&lt;br /&gt;&lt;br /&gt;View state cannot be used if the page donot post back to itself.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-2427862374213326833?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/2427862374213326833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=2427862374213326833&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2427862374213326833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2427862374213326833'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2011/07/file-1.html' title='File 1'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-5594924989413239793</id><published>2011-05-23T17:51:00.000+05:30</published><updated>2011-05-23T17:51:47.489+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='programming tips'/><title type='text'>Solved : Cannot load the DLL xp_md5.dll</title><content type='html'>Issue : "Cannot load the DLL xp_md5.dll, or one of the DLLs it references. Reason: 126(The specified module could not be found.)."&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Solution :&lt;br /&gt;&lt;br /&gt;You are missing one dll to keep in this folder "D:\Program Files\Microsoft SQL Server\100\Tools\Binn\ "&lt;br /&gt;&lt;br /&gt;You can download that file from here&lt;br /&gt;http://download555.mediafire.com/3hw61lrj9njg/ki2omn4dzjm/xp_md5.dll.rar&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then keep this file in folder "D:\Program Files\Microsoft SQL Server\100\Tools\Binn\"&lt;br /&gt;&lt;br /&gt;Then open your sql server and run this sql query so that you can register this dll in sql server.&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;xp_md5.dll&lt;br /&gt;&lt;br /&gt;USE [master]&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;EXEC dbo.sp_addextendedproc N'xp_md5', 'D:\Program Files\Microsoft SQL Server\100\Tools\Binn\xp_md5.dll'&lt;br /&gt; &lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-5594924989413239793?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/5594924989413239793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=5594924989413239793&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/5594924989413239793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/5594924989413239793'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2011/05/solved-cannot-load-dll-xpmd5dll.html' title='Solved : Cannot load the DLL xp_md5.dll'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-2700222137262757294</id><published>2011-04-19T18:02:00.000+05:30</published><updated>2011-04-19T18:02:06.483+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>How to add jQuery file in your web page ?</title><content type='html'>Hello Friends, &lt;br /&gt;&lt;br /&gt;Take care during adding JQuery file in header of your page.&lt;br /&gt;&lt;br /&gt;Check out this code before knowing the issue..&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;title&amp;gt;TenderContent Page&amp;lt;/title&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;js/jquery-1.4.1.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;js/jquery.validate.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;js/jquery.alerts.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;    &amp;lt;div&amp;gt;&lt;br /&gt;            Rajesh Singh&lt;br /&gt;        &amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;You can see, i have added three jQuery files in above code,&lt;br /&gt;&lt;br /&gt;Issue : If you feel you can add this file like below code&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;    &amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;js/jquery-1.4.1.js&amp;quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;js/jquery.validate.js&amp;quot;/&amp;gt;&lt;br /&gt;    &lt;br /&gt;    &amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;js/jquery.alerts.js&amp;quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Then you are wrong, if you will add like above then you will not get any error but you wont be able to preform jquery function what you wanted to do, jQuery will not work.&lt;br /&gt;&lt;br /&gt;So please take care to add jquery during adding jquery file in your page.&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com &lt;br /&gt;&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/8764046518411157827-2700222137262757294?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/2700222137262757294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=2700222137262757294&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2700222137262757294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2700222137262757294'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2011/04/how-to-add-jquery-file-in-your-web-page.html' title='How to add jQuery file in your web page ?'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-1816014516947281800</id><published>2011-03-10T12:25:00.000+05:30</published><updated>2011-03-10T12:25:01.137+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Trick to check your Regular expression</title><content type='html'>Hello Friends,&lt;br /&gt;&lt;br /&gt;Today i am going to explain you or provide you a trick by using which you can check your regular expression on page.&lt;br /&gt;&lt;br /&gt;Let consider, we want to validate number input,&lt;br /&gt;Like, you have "Mobile Number" field on your page, then it require only number input,&lt;br /&gt;&lt;br /&gt;so here you will see, if you will enter Interger in text box, it will allow you to enter otherwise it will return error message.&lt;br /&gt;&lt;br /&gt;So lets start here,&lt;br /&gt;&lt;br /&gt;click on Start button at left botton of your destop screen, type notepad in run and open one notepad page.&lt;br /&gt;&lt;br /&gt;Paste below code and select filetype as "all" and save as html page.&lt;br /&gt;&lt;br /&gt;and then click on that page and open HTML page.&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;    &amp;lt;head&amp;gt;&lt;br /&gt;        &amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://code.jquery.com/jquery-latest.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;     &amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;         &lt;br /&gt;     &amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;            function rajesh(){&lt;br /&gt;             alert(validate(document.getElementById(&amp;quot;txtemailid&amp;quot;).value));&lt;br /&gt;             }&lt;br /&gt;     &lt;br /&gt;             function validate(text){&lt;br /&gt;            return /^-?(?:\d+&amp;#124;\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(text);&lt;br /&gt;             }&lt;br /&gt;        &amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;/head&amp;gt;&lt;br /&gt;    &amp;lt;body&amp;gt;&lt;br /&gt;    &amp;lt;input type=&amp;quot;text&amp;quot; id=&amp;quot;txtemailid&amp;quot; name=&amp;quot;txtemailid&amp;quot;/&amp;gt;&lt;br /&gt;        &amp;lt;input type=&amp;quot;button&amp;quot; value=&amp;quot;check&amp;quot; onclick=&amp;quot;return rajesh();&amp;quot;/&amp;gt;&lt;br /&gt;    &amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.induway.com" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="112" width="259" src="http://2.bp.blogspot.com/-e1jCNHdjTtw/TXh1Cxqk1GI/AAAAAAAAAUE/w-SZA7C8hMI/s400/1.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;so you will see one text box, in which if you enter some text, it will return false, which means you cannot enter text in that field,&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.induway.com" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="208" width="400" src="http://2.bp.blogspot.com/-zEsq7rNJMOc/TXh1Tg7pJpI/AAAAAAAAAUM/zxsZpl4I0_s/s400/2.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;so now if you will enter number in that textbox then you will see it will return true, which means you can enter number in that field.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.induway.com" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="229" width="400" src="http://4.bp.blogspot.com/-IL3C8RUvIhI/TXh1bLdFBKI/AAAAAAAAAUU/FEXHt-JPl70/s400/3.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Explaination of code.&lt;/b&gt;&lt;br /&gt;Step 1. Add this two files in head part of your page.&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://code.jquery.com/jquery-latest.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Step 2. Add this script in head part of your page.&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;    &amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;            function rajesh(){&lt;br /&gt;             alert(validate(document.getElementById(&amp;quot;txtemailid&amp;quot;).value));&lt;br /&gt;             }&lt;br /&gt;     &lt;br /&gt;             function validate(text){&lt;br /&gt;            return /^-?(?:\d+&amp;#124;\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(text);&lt;br /&gt;             }&lt;br /&gt;        &amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;in function rajesh(), you can see, i am calling another function named validate().&lt;br /&gt;&lt;br /&gt;In validate function, you can see, i have kept your regular expression and passing value with name "text".&lt;br /&gt;&lt;br /&gt;which will validate value "text" with regular expression and return true or false to you.&lt;br /&gt;&lt;br /&gt;Step 3. In body part you can add UI part, which will have one textbox and submit button.&lt;br /&gt;&lt;br /&gt;I am done now, so you can check this out at your end or if you have any issue or problem, please comment me, i will send you reply as soon possible.&lt;br /&gt;&lt;br /&gt;or you can use this link to check our live code, http://jsfiddle.net/DhBrV/ or you can visit http://www.induway.com. to know more...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Email:&lt;/b&gt; raj143svmit@gmail.com&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-1816014516947281800?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/1816014516947281800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=1816014516947281800&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1816014516947281800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1816014516947281800'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2011/03/trick-to-check-your-regular-expression.html' title='Trick to check your Regular expression'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-e1jCNHdjTtw/TXh1Cxqk1GI/AAAAAAAAAUE/w-SZA7C8hMI/s72-c/1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-2782120490298866847</id><published>2011-02-07T16:00:00.000+05:30</published><updated>2011-02-07T16:00:18.879+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='DateTimePicker'/><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>getYear Date function of javascript gives alert as 111</title><content type='html'>Hello friends,&lt;br /&gt;&lt;br /&gt;You might have encountered this issue many times while using datetimepicker on your modules.&lt;br /&gt;&lt;br /&gt;For example, Datetimepicker is provideing you some other format of date and you want to display in some other format&lt;br /&gt;&lt;br /&gt;or you want to add date, month or year to original date.&lt;br /&gt;&lt;br /&gt;For example, if you are making alert of current date like below code then for date and month, you will get correct data&lt;br /&gt;but for year you will wrong data.&lt;br /&gt;&lt;br /&gt;so this you will be doing like this&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;var today =new Date();&lt;br /&gt;alert(today);&lt;br /&gt;alert(today.getMonth());&lt;br /&gt;alert(today.getYear());&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;For &lt;b&gt;today&lt;/b&gt; alert you will get &lt;br /&gt;&lt;b&gt;Mon Feb 07 2011 11:52:21 GMT+0530 (India Standard Time)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;For &lt;b&gt;today.getMonth()&lt;/b&gt; alert, you will get,&lt;br /&gt;&lt;b&gt;02&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;For &lt;b&gt;today.getYear()&lt;/b&gt; alert you will get,&lt;br /&gt;&lt;b&gt;111&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;which is wrong, that should alert 2011,&lt;br /&gt;&lt;br /&gt;This is because getYear method returns the year minus 1900,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution to this,&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Instead of getYear, Please use &lt;b&gt;getFullYear&lt;/b&gt; javascript function,&lt;br /&gt;this is give you current year as 2011&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;This issue mostly has been seen in Mozila browser.&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com &lt;br /&gt;&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/8764046518411157827-2782120490298866847?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/2782120490298866847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=2782120490298866847&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2782120490298866847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2782120490298866847'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2011/02/getyear-date-function-of-javascript.html' title='getYear Date function of javascript gives alert as 111'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-6587785932503492350</id><published>2011-01-27T14:13:00.000+05:30</published><updated>2011-01-27T14:13:53.033+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='programming tips'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Validate Datetime with current Datetime using jQuery</title><content type='html'>Suppose you want to validate both Date i.e with time and without time with current date and time, &lt;br /&gt;that is, selected data should be greater that current date.&lt;br /&gt;&lt;br /&gt;with time&lt;br /&gt;27/01/2011 13:01&lt;br /&gt;&lt;br /&gt;without time&lt;br /&gt;27/01/2011&lt;br /&gt;&lt;br /&gt;Below is the fuction, you can make use of it and you can check that selected date and time is greater or lesser than current date and time.&lt;br /&gt;&lt;br /&gt;This function will return true and false, &lt;br /&gt;&lt;br /&gt;if selected date is less than current date and time, then it will return false, else it will return true.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;function CompareToForToday(value,params)&lt;br /&gt;            {&lt;br /&gt;               if(value!='')&lt;br /&gt;        {&lt;br /&gt;                    var mdy = value.split('/')     //Date and month split&lt;br /&gt;                    var mdyhr= mdy[2].split(' ');  //Year and time split&lt;br /&gt;                   &lt;br /&gt;                    &lt;br /&gt;                    if(mdyhr[1] == undefined){&lt;br /&gt;                        var valuedate= new Date(mdyhr[0], mdy[1]-1, mdy[0]);&lt;br /&gt;                    }&lt;br /&gt;            else&lt;br /&gt;                    {&lt;br /&gt;                        var mdyhrtime=mdyhr[1].split(':');&lt;br /&gt;                        var valuedate= new Date(mdyhr[0], mdy[1]-1, mdy[0], mdyhrtime[0], mdyhrtime[1]);&lt;br /&gt;                    }&lt;br /&gt;&lt;br /&gt;                    var d = new Date();&lt;br /&gt;                    if(mdyhr[1] == undefined){&lt;br /&gt;                        var todaydate = new Date(d.getFullYear(), d.getMonth(), d.getDate());&lt;br /&gt;                    }&lt;br /&gt;                    else&lt;br /&gt;                    {&lt;br /&gt;                        var mdyhrtime=mdyhr[1].split(':');&lt;br /&gt;                        var todaydate = new Date(d.getFullYear(), d.getMonth(), d.getDate(),d.getHours(),d.getMinutes());&lt;br /&gt;                    }&lt;br /&gt;&lt;br /&gt;                    return Date.parse(valuedate) &amp;gt; Date.parse(todaydate);&lt;br /&gt;                }&lt;br /&gt;                else&lt;br /&gt;                {&lt;br /&gt;                    return true;&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;&lt;b&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;Email: &lt;b&gt;raj143svmit@gmail.com&lt;/b&gt;&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-6587785932503492350?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/6587785932503492350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=6587785932503492350&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/6587785932503492350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/6587785932503492350'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2011/01/validate-datetime-with-current-datetime.html' title='Validate Datetime with current Datetime using jQuery'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-7326534186962915201</id><published>2010-12-16T19:59:00.000+05:30</published><updated>2010-12-16T19:59:28.934+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Trigger'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2008'/><title type='text'>How to create Trigger in SQL server ?</title><content type='html'>In this post you can see, how to create trigger in SQL server 2005/2008&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;ALTER TRIGGER t_XYZ_Update &lt;br /&gt;   ON  tbl_tableName1&lt;br /&gt;   AFTER UPDATE&lt;br /&gt;AS &lt;br /&gt;IF ( UPDATE (tableField1) OR UPDATE (tableField2) OR UPDATE (tableField3) OR UPDATE (tableField4))&lt;br /&gt;    BEGIN&lt;br /&gt;    SET NOCOUNT ON;&lt;br /&gt;    &lt;br /&gt;    DELETE FROM tbl_tableName2 WHERE FieldId=(select FieldId from inserted)&lt;br /&gt;    print 'Row Deleted Successfully'&lt;br /&gt;    END&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Name you trigger like below line&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;ALTER TRIGGER t_XYZ_Update&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Assign the  table name on which you have to perform operation like below line&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;ON  tbl_tableName1&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Design when you want to allow this trigger to get fire, here let take after UPDATE operation.&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;AFTER UPDATE&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;If any of the tbl_tableName1 field like tableField1,tableField2,tableField3,tableField4 get updated outside by query or in SP, then this trigger will get fire and perform operation assign to this trigger, you can find when field get updated by below query,&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt; &lt;br /&gt;IF ( UPDATE (tableField1) OR UPDATE (tableField2) OR UPDATE (tableField3) OR UPDATE (tableField4))&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Here in below box, you can see the operation you want to perform when this trigger get fire, here we have used "inserted" table, whenever any of field found updated, same row is inserted in "inserted" table so by this table you can find which row is updated and you can make use of that rowid to perform other operation,&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt; &lt;br /&gt;    BEGIN&lt;br /&gt;    SET NOCOUNT ON;&lt;br /&gt;    &lt;br /&gt;    DELETE FROM tbl_tableName2 WHERE FieldId=(select FieldId from inserted)&lt;br /&gt;    print 'Row Deleted Successfully'&lt;br /&gt;    END&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-7326534186962915201?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/7326534186962915201/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=7326534186962915201&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7326534186962915201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7326534186962915201'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/12/how-to-create-trigger-in-sql-server.html' title='How to create Trigger in SQL server ?'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-163313880924775076</id><published>2010-12-02T13:46:00.001+05:30</published><updated>2010-12-02T13:46:51.675+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2008'/><title type='text'>Prevent table from drop and re-create during saving changes</title><content type='html'>Hello Friends,&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Problem :&lt;/b&gt; Whenever you make any changes in the table defination, when table is fill with data or rows,it does not allow you to delete or make any changes to table.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution :&lt;/b&gt; You might have faced this issue many times, when ever you make any changes in the table defination and you try to save changes, then you might have seen error messages as shown in below image.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_0AP8fBxcSdc/TPdVWcyZzYI/AAAAAAAAATs/WKIC4F7UIU4/s1600/step3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="226" src="http://2.bp.blogspot.com/_0AP8fBxcSdc/TPdVWcyZzYI/AAAAAAAAATs/WKIC4F7UIU4/s400/step3.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So here is the steps by which you can avoid dropping of table or re-creating it again by using below steps..&lt;br /&gt;&lt;br /&gt;Step 1. There is one option in sql server, which allow you to save your changes to table without droping it.&lt;br /&gt;&lt;br /&gt;You just click on Tool option in top menu, See below images you can see from where you can go to tool option,&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_0AP8fBxcSdc/TPdVfpeoiGI/AAAAAAAAATw/zcJ2mruCbnY/s1600/Step1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="222" src="http://1.bp.blogspot.com/_0AP8fBxcSdc/TPdVfpeoiGI/AAAAAAAAATw/zcJ2mruCbnY/s400/Step1.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Step 2. Then click on "Option",&lt;br /&gt;then you will be prompt with options Box, in that you will see left menu, in that explore "Designers" option.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After Exploring Designers option, just click on "table and database designer", you will see below screen&lt;br /&gt;&lt;br /&gt;Step 3. In below snap, you can see the field in Red Box, just untick it, so that you can save change.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_0AP8fBxcSdc/TPdVm2znPLI/AAAAAAAAAT0/nXcNs9u3hPo/s1600/Step2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="233" src="http://1.bp.blogspot.com/_0AP8fBxcSdc/TPdVm2znPLI/AAAAAAAAAT0/nXcNs9u3hPo/s400/Step2.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Untick - Prevent saving changes that require table re-creation&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-163313880924775076?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/163313880924775076/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=163313880924775076&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/163313880924775076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/163313880924775076'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/12/preventing-table-from-dropping-and-re.html' title='Prevent table from drop and re-create during saving changes'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_0AP8fBxcSdc/TPdVWcyZzYI/AAAAAAAAATs/WKIC4F7UIU4/s72-c/step3.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-282134290644721849</id><published>2010-11-17T10:08:00.002+05:30</published><updated>2010-11-17T10:08:58.811+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET 2.0'/><title type='text'>Use of ROLLBACK in SQL server Stored Procedure</title><content type='html'>Use of ROLLBACK in SQL server Stored Procedure&lt;br /&gt;&lt;br /&gt;You might have heard about ROLLBACK but you have never used it right ?&lt;br /&gt;&lt;br /&gt;If you have used it, its well and good but if Not, then this blog might help you to know, how you can use ROLLBACK in your SP.&lt;br /&gt;&lt;br /&gt;Suppose you want to use two insert statement, one by one.&lt;br /&gt;&lt;br /&gt;You want to use, @@identity of first insert in another insert statement then this is the best method to go with.&lt;br /&gt;&lt;br /&gt;Suppose you are doing first insert operation and some problem occure and any how you are not able to insert data in second table then there might be some database mapping issue.&lt;br /&gt;&lt;br /&gt;so here, ROLLBACK can help you to avoid such database problem,&lt;br /&gt;&lt;br /&gt;For example, you have used ROLLBACK in your SP, and you are doing first insert operation and if some problem occur and you are not able to insert in second table then ROLLBACk will undo your first insert operation also which will help to avoid database mapping issue.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Below is the syntax of ROLLBACK,  &lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;BEGIN TRY&lt;br /&gt;    BEGIN TRAN&lt;br /&gt;    BEGIN&lt;br /&gt;        'You insert statement&lt;br /&gt;                            &lt;br /&gt;        COMMIT TRAN&lt;br /&gt;                    &lt;br /&gt;    END&lt;br /&gt;END TRY&lt;br /&gt; &lt;br /&gt;BEGIN CATCH&lt;br /&gt;    BEGIN&lt;br /&gt;        ROLLBACK TRAN&lt;br /&gt;                    &lt;br /&gt;        PRINT ERROR_MESSAGE()&lt;br /&gt;    END&lt;br /&gt;END CATCH&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com &lt;br /&gt;&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/8764046518411157827-282134290644721849?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/282134290644721849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=282134290644721849&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/282134290644721849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/282134290644721849'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/11/use-of-rollback-in-sql-server-stored.html' title='Use of ROLLBACK in SQL server Stored Procedure'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-900788305823481526</id><published>2010-11-04T22:44:00.000+05:30</published><updated>2010-11-04T22:44:48.104+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Diwali 2010'/><title type='text'>Wishing Happy Diwali to all Asp.Net Developers</title><content type='html'>&lt;div id="card_block"&gt;&lt;object data="http://i.123g.us/flash/CardShell.swf" name="swf_cardswf" id="swf_cardswf" type="application/x-shockwave-flash" width="550" height="325"&gt;&lt;param value="false" name="menu"&gt;&lt;param value="always" name="allowscriptaccess"&gt;&lt;param value="transparent" name="wmode"&gt;&lt;param value="high" name="quality"&gt;&lt;param value="&amp;amp;ldrName=http://c.123g.us/flash/branded_loader.swf&amp;amp;crdName=http://i.123g.us/c/eoct_diwali_wishes/card/106797.swf" name="flashvars"&gt;&lt;/object&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-900788305823481526?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/900788305823481526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=900788305823481526&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/900788305823481526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/900788305823481526'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/11/wishing-happy-diwali-to-all-aspnet.html' title='Wishing Happy Diwali to all Asp.Net Developers'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-7880703519105536884</id><published>2010-10-31T16:28:00.001+05:30</published><updated>2010-10-31T16:31:15.161+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Trick to place jQuery Validation Error</title><content type='html'>In this post, i will show you, how to place jQuery error where you like.&lt;br /&gt;&lt;br /&gt;By default, when you use jquery validation function, then error get placed below the control for which you are validating.&lt;br /&gt;&lt;br /&gt;But sometime, situation arise, you want jQuery error to be shown someother place for that control, so in that condition, you can use below trick and place error, where you like.&lt;br /&gt;&lt;br /&gt;To do this, &lt;br /&gt;&lt;br /&gt;You have to declare jquery files in your Page Head Tag, as shown below.&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script type="text/javascript" src="../resources/js/jQuery/jquery-1.4.3.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;script type="text/javascript" src="../resources/js/jQuery/jquery.validate.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;After declareing files, just use below code to validate the control&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;        &amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;            $(document).ready(function() {&lt;br /&gt;                $("#frmPEOfficeCreation").validate({&lt;br /&gt;                    rules: {&lt;br /&gt;                        txtdepartment: { required: true }&lt;br /&gt;                    },&lt;br /&gt;                    messages: {&lt;br /&gt;                        txtdepartment: { required: "&amp;lt;br/&amp;gt;Please select department" }&lt;br /&gt;            }&lt;br /&gt;                });&lt;br /&gt;            });&lt;br /&gt;        &amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;You can see below Image as output, where you can see, the error is shown after "new window" button, that is not looking good and not correct with respect to layout.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_0AP8fBxcSdc/TM1MIdyMZgI/AAAAAAAAATk/ABbizUyDJZc/s1600/beforevalidation.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_0AP8fBxcSdc/TM1MIdyMZgI/AAAAAAAAATk/ABbizUyDJZc/s1600/beforevalidation.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;so Now what you can do is,you can make use of errorplaceholder function avalible in jQuery, LIke i have done below&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;            $(document).ready(function() {&lt;br /&gt;                $("#frmPEOfficeCreation").validate({&lt;br /&gt;                    rules: {&lt;br /&gt;                        txtdepartment: { required: true }&lt;br /&gt;                    },&lt;br /&gt;                    messages: {&lt;br /&gt;                        txtdepartment: { required: "&amp;lt;br/&amp;gt;Please select department" }&lt;br /&gt;            },&lt;br /&gt;                    errorPlacement: function(error, element) {&lt;br /&gt;                        if (element.attr("name") == "txtdepartment")&lt;br /&gt;                            error.insertAfter("#btnnewbutton");&lt;br /&gt;                        else&lt;br /&gt;                            error.insertAfter(element);&lt;br /&gt;                    }&lt;br /&gt;                });&lt;br /&gt;            });&lt;br /&gt;        &amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Then you can see correct layout, shown below in image&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_0AP8fBxcSdc/TM1MPxoMHJI/AAAAAAAAATo/Vy5iiPtTRhE/s1600/aftervalidation.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_0AP8fBxcSdc/TM1MPxoMHJI/AAAAAAAAATo/Vy5iiPtTRhE/s1600/aftervalidation.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-7880703519105536884?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/7880703519105536884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=7880703519105536884&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7880703519105536884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7880703519105536884'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/10/trick-to-place-jquery-validation-error.html' title='Trick to place jQuery Validation Error'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_0AP8fBxcSdc/TM1MIdyMZgI/AAAAAAAAATk/ABbizUyDJZc/s72-c/beforevalidation.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-2315404312595083670</id><published>2010-09-30T17:32:00.000+05:30</published><updated>2010-09-30T17:32:12.929+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Load images when the user scrolls down to each image</title><content type='html'>This article shows you, How you can save loading time of your web page by not allowing unwanted images to get load.&lt;br /&gt;&lt;br /&gt;Your webpage load time increases by loading lots of images, after reading this article and implementing this effect on your &lt;br /&gt;&lt;br /&gt;page, you can decrease your page load time almost 30%.&lt;br /&gt;&lt;br /&gt;So Only allow images to get load on browser when it is needed, i.e when you scroll down to page, whereever images are there,&lt;br /&gt;than perticular images will load at that time only.&lt;br /&gt;&lt;br /&gt;You can achive this by using Jquery function called LazyLoad,&lt;br /&gt;&lt;br /&gt;So to achive this, you will need to add Jquery File jQuery-1.4.1.js and one more file Jquery_002.js&lt;br /&gt;&lt;br /&gt;You can download both file from here&lt;br /&gt;http://www.filefactory.com/file/b3bcaaf/n/JS.zip &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;script language=&amp;quot;jscript&amp;quot; type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;js/jquery-1.4.1.js&amp;quot;&amp;gt; &lt;br /&gt;&lt;br /&gt;&amp;lt;/script&amp;gt; &lt;br /&gt;&amp;lt;script src=&amp;quot;JS/jquery_002.js&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;After including above two files in your page, you will need to add below javascript file on top in head part of Page.&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;    jQuery(document).ready(function($) {&lt;br /&gt;&lt;br /&gt;        if (navigator.platform == &amp;quot;iPad&amp;quot;) return;&lt;br /&gt;&lt;br /&gt;        jQuery(&amp;quot;img&amp;quot;).lazyload({&lt;br /&gt;            effect: &amp;quot;fadeIn&amp;quot;,&lt;br /&gt;            placeholder: &amp;quot;images_b/grey.gif&amp;quot;&lt;br /&gt;        });&lt;br /&gt;    });&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Note : if you are using iPhone or iPad, then you might be familier with this effect, when you scroll down on page in iphone, &lt;br /&gt;Images loads on that part only.&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-2315404312595083670?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/2315404312595083670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=2315404312595083670&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2315404312595083670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2315404312595083670'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/09/load-images-when-user-scrolls-down-to.html' title='Load images when the user scrolls down to each image'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-4318774318892599775</id><published>2010-08-02T10:43:00.000+05:30</published><updated>2010-08-02T10:43:19.819+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>How to get the value of radio button in JQuery</title><content type='html'>Suppose you have group of radiobuttonlist and you need to find which radio button is checked.&lt;br /&gt;&lt;br /&gt;So By using below code you can find, which radio button is checked in radiobuttonlist&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;jQuery('#ctl00_ContentPlaceHolder1_rblSort input:radio:checked').val()&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;or &lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;$(&amp;quot;#ctl00$ContentPlaceHolder1$rblSort&amp;quot;).data(&amp;quot;currChecked&amp;quot;, &lt;br /&gt;&lt;br /&gt;$(this).find(&amp;quot;input:radio:checked&amp;quot;)[0]);&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com &lt;br /&gt;&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/8764046518411157827-4318774318892599775?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/4318774318892599775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=4318774318892599775&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/4318774318892599775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/4318774318892599775'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/08/how-to-get-value-of-radio-button-in.html' title='How to get the value of radio button in JQuery'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-3950020667918558376</id><published>2010-08-02T10:42:00.002+05:30</published><updated>2010-08-02T10:42:31.326+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>How to get the value of session in JQuery</title><content type='html'>Sometime, its possible that you need to compare login session on clientside code only before server side.&lt;br /&gt;&lt;br /&gt;You can achive this task by using below code.&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;var sessionValue = '&amp;lt;%= Session(&amp;quot;UserName&amp;quot;) %&amp;gt;';&lt;br /&gt;if (sessionValue == 'Rajesh') &lt;br /&gt;{&lt;br /&gt;Alert(&amp;quot;This is Rajesh Singh&amp;quot;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com &lt;br /&gt;&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/8764046518411157827-3950020667918558376?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/3950020667918558376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=3950020667918558376&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/3950020667918558376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/3950020667918558376'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/08/how-to-get-value-of-session-in-jquery.html' title='How to get the value of session in JQuery'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-6197855041928747665</id><published>2010-08-02T10:41:00.002+05:30</published><updated>2010-08-02T10:41:34.992+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Response.Redirect in Javascript or Jquery</title><content type='html'>In C# or VB.net, if you wish to redirect page to some other page then you normally use below code&lt;br /&gt;&lt;br /&gt;In C#&lt;br /&gt;Response.Redirect("default.aspx");&lt;br /&gt;&lt;br /&gt;and In Vb.Net&lt;br /&gt;Response.Redirect("default.aspx")&lt;br /&gt;&lt;br /&gt;But what for Javascript and Jquery, how you will use redirect feature in Javascript and Jquery ?&lt;br /&gt;&lt;br /&gt;Here is the solution, &lt;br /&gt;&lt;br /&gt;You can achive this Response.Redirect feature in javascript and jquery also by below code,&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;window.location.href = 'http://' + '&amp;lt;%=Request.Url.Host%&amp;gt;' + '/default.aspx';&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com &lt;br /&gt;&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/8764046518411157827-6197855041928747665?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/6197855041928747665/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=6197855041928747665&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/6197855041928747665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/6197855041928747665'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/08/responseredirect-in-javascript-or.html' title='Response.Redirect in Javascript or Jquery'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-6295947219568359445</id><published>2010-08-02T10:40:00.000+05:30</published><updated>2010-08-02T10:40:33.446+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>How to get Host Url in javascript or Jquery</title><content type='html'>Sometime, you will be in need of only host part of URL, like&lt;br /&gt;&lt;br /&gt;if you url is http://www.induway.com/aboutus.aspx&lt;br /&gt;&lt;br /&gt;then if you wish to have only "induway.com" out of complete url, then you can use this code to get host url&lt;br /&gt;in javascript or jquery.&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;'&amp;lt;%=Request.Url.Host%&amp;gt;'&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com &lt;br /&gt;&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/8764046518411157827-6295947219568359445?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/6295947219568359445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=6295947219568359445&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/6295947219568359445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/6295947219568359445'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/08/how-to-get-host-url-in-javascript-or.html' title='How to get Host Url in javascript or Jquery'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-7737485725752681601</id><published>2010-08-02T10:37:00.000+05:30</published><updated>2010-08-02T10:37:33.992+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>How to fetch the querystring variable in jQuery</title><content type='html'>Suppose you are having this Querystring&lt;br /&gt;&lt;br /&gt;&lt;b&gt;http://www.induway.com/aboutus.aspx?Industry='india'&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;and if you wish to fetch value of Industry then you can do it like this,&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;if ('&amp;lt;%=Request(&amp;quot;Industry&amp;quot;)%&amp;gt;' != '') &lt;br /&gt;{&lt;br /&gt;    alert('&amp;lt;%=Request(&amp;quot;Industry&amp;quot;)%&amp;gt;');&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;By using above code, you can use querystring variable value to your page anywhere.&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com &lt;br /&gt;&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/8764046518411157827-7737485725752681601?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/7737485725752681601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=7737485725752681601&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7737485725752681601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7737485725752681601'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/08/how-to-fetch-querystring-variable-in.html' title='How to fetch the querystring variable in jQuery'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-7373143489428078373</id><published>2010-08-02T10:36:00.000+05:30</published><updated>2010-08-02T10:36:09.497+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Replace space character in between string in Jquery</title><content type='html'>Replace space character in between string in Jquery&lt;br /&gt;&lt;br /&gt;Sometimes it possible that we need string by all space character removed, so here is the way by which we can remove space &lt;br /&gt;&lt;br /&gt;character from our string.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;For Example :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Our string is "Rajesh Singh"&lt;br /&gt;&lt;br /&gt;var searchvalue='Rajesh Singh'&lt;br /&gt;var searchvaluetemp = searchvalue.replace(/ /g, '');&lt;br /&gt;&lt;br /&gt;Our Output will be "RajeshSingh"&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;Email: raj143svmit@gmail.com&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com &lt;br /&gt;&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/8764046518411157827-7373143489428078373?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/7373143489428078373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=7373143489428078373&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7373143489428078373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7373143489428078373'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/08/replace-space-character-in-between.html' title='Replace space character in between string in Jquery'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-2283306898196117829</id><published>2010-07-25T22:27:00.000+05:30</published><updated>2010-07-25T22:27:45.026+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Interview'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>You can use this jquery file direclty from URL</title><content type='html'>Hello friends,&lt;br /&gt;&lt;br /&gt;Mostly what we do to apply jQuery validation to your form.&lt;br /&gt;&lt;br /&gt;You download files from internet and add in your website and then use that.&lt;br /&gt;&lt;br /&gt;but whats the guarantee that, it would be correct so here is the few URL, i am providing that you might use directly or you can even download to your website.&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://code.jquery.com/jquery-latest.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt; &lt;br /&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt; &lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-2283306898196117829?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/2283306898196117829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=2283306898196117829&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2283306898196117829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2283306898196117829'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/07/you-can-use-this-jquery-file-direclty.html' title='You can use this jquery file direclty from URL'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-1828492752536044008</id><published>2010-07-25T22:10:00.000+05:30</published><updated>2010-07-25T22:10:09.289+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Interview'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><title type='text'>Code to execute database operation and return value in Integer</title><content type='html'>Hello,&lt;br /&gt;&lt;br /&gt;Here in below code you will find, how to do database operation in function in class and that function return Integer as return value.&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;SqlConnection conn = new SqlConnection(&amp;quot;Data &lt;br /&gt;Source=localhost;Database=MyDB;Integrated Security=SSPI&amp;quot;);&lt;br /&gt;SqlCommand command = new SqlCommand(&amp;quot;InsertUser&amp;quot;, conn);&lt;br /&gt;command.CommandType = CommandType.StoredProcedure;&lt;br /&gt;command.Parameters.Add(&amp;quot;@User&amp;quot;, SqlDbType.VarChar).Value = user;&lt;br /&gt;command.Parameters.Add(&amp;quot;@Pass&amp;quot;, SqlDbType.VarChar).Value = pass;&lt;br /&gt;conn.Open();&lt;br /&gt;int rows = command.ExecuteNonQuery();&lt;br /&gt;conn.Close();&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com &lt;br /&gt;&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/8764046518411157827-1828492752536044008?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/1828492752536044008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=1828492752536044008&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1828492752536044008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1828492752536044008'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/07/code-to-execute-database-operation-and_25.html' title='Code to execute database operation and return value in Integer'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-4951455936047642856</id><published>2010-07-25T22:00:00.002+05:30</published><updated>2010-07-25T22:03:46.156+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Interview'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Code to execute database operation and return value in Dataset</title><content type='html'>Hello,&lt;br /&gt;&lt;br /&gt;Here in below code you will find, how to do database operation in function in class and that function return dataset as return value.&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;SqlConnection conn = new SqlConnection(&amp;quot;Data Source=localhost;Database=Northwind;Integrated Security=SSPI&amp;quot;);&lt;br /&gt;SqlCommand command = new SqlCommand(&amp;quot;GetProducts&amp;quot;, conn);&lt;br /&gt;command.CommandType = CommandType.StoredProcedure;&lt;br /&gt;command.Parameters.Add(&amp;quot;@CategoryID&amp;quot;, SqlDbType.Int).Value = 1;&lt;br /&gt;SqlDataAdapter adapter = new SqlDataAdapter(command);&lt;br /&gt;DataSet ds = new DataSet();&lt;br /&gt;adapter.Fill(ds, &amp;quot;Products&amp;quot;);&lt;br /&gt;dataGrid1.DataSource = ds;&lt;br /&gt;dataGrid1.DataMember = &amp;quot;Products&amp;quot;;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-4951455936047642856?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/4951455936047642856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=4951455936047642856&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/4951455936047642856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/4951455936047642856'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/07/code-to-execute-database-operation-and.html' title='Code to execute database operation and return value in Dataset'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-6824694833040855217</id><published>2010-07-25T21:39:00.000+05:30</published><updated>2010-07-25T21:39:31.272+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Interview'/><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Programming'/><title type='text'>How to create class file in Asp.Net ?</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;You can just add App_Code file and add class file to this folder and copy this code to that class file and modify according to your need.&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;using System;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Configuration;&lt;br /&gt;using System.Linq;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.Security;&lt;br /&gt;using System.Web.UI;&lt;br /&gt;using System.Web.UI.HtmlControls;&lt;br /&gt;using System.Web.UI.WebControls;&lt;br /&gt;using System.Web.UI.WebControls.WebParts;&lt;br /&gt;using System.Xml.Linq;&lt;br /&gt;using System.Data.SqlClient;&lt;br /&gt;using commonlib.Common;&lt;br /&gt;&lt;br /&gt;/// &amp;lt;summary&amp;gt;&lt;br /&gt;/// Summary description for Program&lt;br /&gt;/// &amp;lt;/summary&amp;gt;&lt;br /&gt;public class Program&lt;br /&gt;{&lt;br /&gt;    #region &amp;quot;Fields&amp;quot;&lt;br /&gt;&lt;br /&gt;    string sOperation;&lt;br /&gt;    int iProgramID;&lt;br /&gt;    string sProgramName;&lt;br /&gt;    string sSlogan;&lt;br /&gt;    string sStartTime;&lt;br /&gt;    string sEndTime;&lt;br /&gt;    string sDetail;&lt;br /&gt;    int iCityID;&lt;br /&gt;    string sStatus;&lt;br /&gt;&lt;br /&gt;    #endregion&lt;br /&gt;&lt;br /&gt;    #region &amp;quot;Construtor&amp;quot;&lt;br /&gt;    public Program()&lt;br /&gt;    {&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public Program(string SOperation, int IProgramID, string SProgramName, string SSlogan, string SStartTime, string SEndTime, string SDetail, int ICityID, string SStatus)&lt;br /&gt;    {&lt;br /&gt;        this.sOperation = SOperation;&lt;br /&gt;        this.iProgramID = IProgramID;&lt;br /&gt;        this.sProgramName = SProgramName;&lt;br /&gt;        this.sSlogan = SSlogan;&lt;br /&gt;        this.sStartTime = SStartTime;&lt;br /&gt;        this.sEndTime = SEndTime;&lt;br /&gt;        this.sDetail = SDetail;&lt;br /&gt;        this.iCityID = ICityID;&lt;br /&gt;        this.sStatus = SStatus;&lt;br /&gt;    }&lt;br /&gt;    #endregion&lt;br /&gt;&lt;br /&gt;    #region &amp;quot;Properties&amp;quot;&lt;br /&gt;&lt;br /&gt;    public string SOperation&lt;br /&gt;    {&lt;br /&gt;        get { return sOperation; }&lt;br /&gt;        set { sOperation = value; }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public int IProgramID&lt;br /&gt;    {&lt;br /&gt;        get { return iProgramID; }&lt;br /&gt;        set { iProgramID = value; }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public string SProgramName&lt;br /&gt;    {&lt;br /&gt;        get { return sProgramName; }&lt;br /&gt;        set { sProgramName = value; }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public string SSlogan&lt;br /&gt;    {&lt;br /&gt;        get { return sSlogan; }&lt;br /&gt;        set { sSlogan = value; }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public string SStartTime&lt;br /&gt;    {&lt;br /&gt;        get { return sStartTime; }&lt;br /&gt;        set { sStartTime = value; }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public string SEndTime&lt;br /&gt;    {&lt;br /&gt;        get { return sEndTime; }&lt;br /&gt;        set { sEndTime = value; }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public string SDetail&lt;br /&gt;    {&lt;br /&gt;        get { return sDetail; }&lt;br /&gt;        set { sDetail = value; }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public int ICityID&lt;br /&gt;    {&lt;br /&gt;        get { return iCityID; }&lt;br /&gt;        set { iCityID = value; }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public string SStatus&lt;br /&gt;    {&lt;br /&gt;        get { return sStatus; }&lt;br /&gt;        set { sStatus = value; }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    #endregion&lt;br /&gt;&lt;br /&gt;    #region &amp;quot;Functions&amp;quot;&lt;br /&gt;&lt;br /&gt;    public int ProgramOperation(string user, string pass)&lt;br /&gt;    {&lt;br /&gt;&lt;br /&gt;        SqlConnection conn = new SqlConnection(&amp;quot;Data Source=localhost;Database=MyDB;Integrated Security=SSPI&amp;quot;);&lt;br /&gt;        SqlCommand command = new SqlCommand(&amp;quot;XYZ_SP_CheckProgramAvailability&amp;quot;, conn);&lt;br /&gt;        command.CommandType = CommandType.StoredProcedure;&lt;br /&gt;        command.Parameters.Add(&amp;quot;@User&amp;quot;, SqlDbType.VarChar).Value = user;&lt;br /&gt;        command.Parameters.Add(&amp;quot;@Pass&amp;quot;, SqlDbType.VarChar).Value = pass;&lt;br /&gt;        conn.Open();&lt;br /&gt;        int rows = command.ExecuteNonQuery();&lt;br /&gt;        conn.Close();&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    #endregion&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com &lt;br /&gt;&lt;br /&gt;&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/8764046518411157827-6824694833040855217?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/6824694833040855217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=6824694833040855217&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/6824694833040855217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/6824694833040855217'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/07/how-to-create-class-file-in-aspnet.html' title='How to create class file in Asp.Net ?'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-7067415898417916634</id><published>2010-07-25T21:13:00.000+05:30</published><updated>2010-07-25T21:13:59.137+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Interview'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2008'/><title type='text'>How to give reference of other table to current table in fields?</title><content type='html'>Hello friends,&lt;br /&gt;&lt;br /&gt;Thanks for all your support, Please read this new post to know how to give reference of other table to current table in fields.&lt;br /&gt;&lt;br /&gt;You can find if any table with this name is exist in database of not, if you found delete it and create this one.&lt;br /&gt;&lt;br /&gt;To do this operation use this code,&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;--Table Name: XYZ_SongRequest&lt;br /&gt;&lt;br /&gt;    IF EXISTS (SELECT * FROM SYSOBJECTS WHERE ID = OBJECT_ID('XYZ_SongRequest'))&lt;br /&gt;        DROP TABLE XYZ_SongRequest&lt;br /&gt;    GO&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Now by using below code, you can create reference of other table let say, XYZ_User, XYZ_City, XYZ_Rj to table XYZ_SongRequest&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;--Table Name: XYZ_SongRequest&lt;br /&gt;&lt;br /&gt;CREATE TABLE XYZ_SongRequest (&lt;br /&gt;    iRequestID            BIGINT            NOT NULL PRIMARY KEY IDENTITY(1,1),&lt;br /&gt;    iMemberId            BIGINT            NOT NULL CONSTRAINT FK_SongRequest_iMemberId References XYZ_User(iMemberID),&lt;br /&gt;    iCityID                INT                NOT NULL CONSTRAINT FK_SongRequest_iCityID References XYZ_City(iCityID),&lt;br /&gt;    iRjId                INT                NOT NULL CONSTRAINT FK_SongRequest_iRjId References XYZ_Rj(iRJid),&lt;br /&gt;    sRequest            VARCHAR(1000)    NOT NULL, &lt;br /&gt;    dRequestDate        DATETIME        NOT NULL DEFAULT GETDATE(),&lt;br /&gt;    dProcessDate        DATETIME        ,&lt;br /&gt;    sStatus                Varchar(20)        CHECK(sStatus in ('Pending','Approved')) NOT NULL DEFAULT 'Pending' &lt;br /&gt;)&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com &lt;br /&gt;&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/8764046518411157827-7067415898417916634?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/7067415898417916634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=7067415898417916634&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7067415898417916634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7067415898417916634'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/07/how-to-give-reference-of-other-table-to.html' title='How to give reference of other table to current table in fields?'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-1484525034636372902</id><published>2010-07-25T20:57:00.000+05:30</published><updated>2010-07-25T20:57:43.569+05:30</updated><title type='text'>How to create Stored Procedure in SQL Server 2005 or 2008 ?</title><content type='html'>&lt;b&gt;Solution :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;You can directly copy below code highlight and paste in sql server query window and modify according to your need.&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;/**********************************************************************************&lt;br /&gt;SP Name : XYZ_SP_ProgramOperation&lt;br /&gt;Created by : Rajesh Singh&lt;br /&gt;Created Date : 13th April 2010&lt;br /&gt;Modified Date : 15th April 2010 &lt;br /&gt;*********************************************************************************/&lt;br /&gt;&lt;br /&gt;IF EXISTS (SELECT * FROM SYSOBJECTS WHERE ID=OBJECT_ID('XYZ_SP_ProgramOperation'))&lt;br /&gt;DROP PROCEDURE XYZ_SP_ProgramOperation&lt;br /&gt;GO &lt;br /&gt;create PROCEDURE XYZ_SP_ProgramOperation&lt;br /&gt;(&lt;br /&gt;    @sOperation varchar(100),&lt;br /&gt;    @iProgramID INT=NULL,&lt;br /&gt;    @sProgramName varchar(100)=NUll,&lt;br /&gt;    @sSlogan varchar(100)=NUll,&lt;br /&gt;    @sStartTime varchar(100)=NUll,&lt;br /&gt;    @sEndTime varchar(100)=NUll,&lt;br /&gt;    @sDetail varchar(MAX)=NUll,&lt;br /&gt;    @iCityID INT=NUll,&lt;br /&gt;    @sStatus varchar(20)=NUll&lt;br /&gt;    &lt;br /&gt;)&lt;br /&gt;AS&lt;br /&gt;IF @sOperation='SELECT'&lt;br /&gt;            BEGIN&lt;br /&gt;            SELECT * FROM [XYZ_Program] WHERE sStatus='Active'&lt;br /&gt;            END&lt;br /&gt;ELSE IF @sOperation='SELECTPROGRAMBYID'&lt;br /&gt;            BEGIN&lt;br /&gt;            SELECT XYZ_Program.*, XYZ_Rj.sUserName,XYZ_Rj.sPhoto, XYZ_Rj.sRjName,(select sCityName from XYZ_City where iCityId=XYZ_Program.iCityID) as sCityName,XYZ_RjProgRel.iRjId&lt;br /&gt;            FROM   XYZ_Program INNER JOIN&lt;br /&gt;            XYZ_RjProgRel ON XYZ_Program.iProgramID = XYZ_RjProgRel.iProgramID INNER JOIN&lt;br /&gt;            XYZ_Rj ON XYZ_RjProgRel.iRjId = XYZ_Rj.iRJid WHERE XYZ_Program.iProgramID=@iProgramID&lt;br /&gt;            END&lt;br /&gt;ELSE IF @sOperation='UPDATE'&lt;br /&gt;            BEGIN&lt;br /&gt;            UPDATE [XYZ_Program]&lt;br /&gt;               SET [sSlogan] = @sSlogan&lt;br /&gt;                  ,[sStartTime] = @sStartTime&lt;br /&gt;                  ,[sEndTime] = @sEndTime&lt;br /&gt;                  ,[sDetail] = @sDetail&lt;br /&gt;                  ,[iCityID] = @iCityID&lt;br /&gt;                  ,[sStatus] = @sStatus&lt;br /&gt;             WHERE XYZ_Program.iProgramID=@iProgramID&lt;br /&gt;            END&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com &lt;br /&gt;&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/8764046518411157827-1484525034636372902?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/1484525034636372902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=1484525034636372902&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1484525034636372902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1484525034636372902'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/07/how-to-create-stored-procedure-in-sql.html' title='How to create Stored Procedure in SQL Server 2005 or 2008 ?'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-1923141567359589669</id><published>2010-07-25T20:41:00.001+05:30</published><updated>2010-07-25T20:49:59.738+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Interview'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Web.config'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2008'/><title type='text'>Where to put Connnectionstring in web.config file.</title><content type='html'>Hello bloggers,&lt;br /&gt;&lt;br /&gt;Most of the developers have big confusion that, where to put connection string in web.config file,&lt;br /&gt;So this article will teach you which portion you can use to write your connection string.&lt;br /&gt;When you will open web.config file, you will find this tag&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&amp;lt;connectionStrings /&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;b&gt;&lt;br /&gt;Here what you can do is, just replace this string with below connectionstring.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;Use this connectionstring when database is on other server or other computer.&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&amp;lt;connectionStrings&amp;gt;&lt;br /&gt;  &lt;br /&gt;      &amp;lt;add name=&amp;quot;conn&amp;quot; connectionString=&amp;quot;Data Source=XYZ;Initial Catalog=DatabaseName;user id=UserId;password=Password; Max Pool Size=7500;Connect Timeout=200;&amp;quot; providerName=&amp;quot;System.Data.SqlClient&amp;quot;/&amp;gt;&lt;br /&gt;      &lt;br /&gt;&amp;lt;/connectionStrings&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;when database is in your computer, you can use local database server.&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&amp;lt;connectionStrings&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;add name=&amp;quot;conn&amp;quot; connectionString=&amp;quot;Data Source=localhost;Database=MyDB;Integrated Security=SSPI &amp;quot; providerName=&amp;quot;System.Data.SqlClient&amp;quot;/&amp;gt;&lt;br /&gt;      &lt;br /&gt;&amp;lt;/connectionStrings&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;/b&gt;&lt;br /&gt;e-Procurement Technologies Ltd (India)&lt;br /&gt;www.abcprocure.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-1923141567359589669?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/1923141567359589669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=1923141567359589669&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1923141567359589669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1923141567359589669'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/07/where-to-put-connnectionstring-in.html' title='Where to put Connnectionstring in web.config file.'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-2886943844332175589</id><published>2010-06-30T10:17:00.002+05:30</published><updated>2010-07-01T10:11:17.520+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Encryption'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net 3.5'/><title type='text'>Encryption of Connection Strings Inside the Web.config</title><content type='html'>&lt;b&gt;Motive :&lt;/b&gt; To Hide Database login details, whenever error occors in web.config file.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Explaination :&lt;/b&gt; you might have notice, if somethings goes wrong in web.config file, then yellow page appears with line number error and it is also possible it shows us connection string with database login details. So to hide that details, you need do few line code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Your initial connectionstring will be like this :&lt;/b&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&amp;lt;connectionstrings&amp;gt;&lt;br /&gt;&amp;lt;add name=&amp;quot;ConnectionString&amp;quot; connectionString=&amp;quot;Data Source=JAVAL\SQLEXPRESS;Initial Catalog=WebTesting;Integrated Security=True&amp;quot;&lt;br /&gt;      providerName=&amp;quot;System.Data.SqlClient&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/connectionStrings&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;After Encryption, your final connectionstring will be like this:&lt;/b&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&amp;lt;connectionstrings configProtectionProvider=&amp;quot;DataProtectionConfigurationProvider&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;encrypteddata&amp;gt;&lt;br /&gt;&amp;lt;cipherdata&amp;gt;&lt;br /&gt;&amp;lt;ciphervalue&amp;gt;AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAQ4qWFMYeZkaDZbyFqQ9I7QQAAAACAAAAAAADZgAAqAAAABAAAADtQc027fRNV8+BRcNmjmWVAAAAAASAAACgAAAAEAAAAMHuX/gjWbtiwU0J8TSVSTewAQAA0CQYUjmcHyCzAvzE6GJN3oGZOwd5h0lwcPfhLjpgbySErnGHYNvWf58o4ieqhMFGduY0Sr9i8yqlDezbqyCrRQIri1qfl+6n2BFy3hQkZoTithLuilyCo+hOSq5rTP62aUm3FIjra1owCQmBV8/a34fu9zSgr4RRNQg1sg8yPFqHCssZPcA65MlXdJncTa6xBb6UpznFzcDF6N8z7LHPjF9baQEoeITw4TCY6yhM/6f7WIVWe2157GaBLGtoAuZP7z9ASrDKXmhQWQfsuwnaHcrE3JEUE/2yDmzxZFP+dY6FSqRzpWZoftgZnAIAnk2XeVsjqRy4zFNErFkzqxqhHNOMViodViRFZAJ5LRPAp6x3BkL/3F6d13Oa4gsbAlVY4+x60HdoItVXLoz+8Z3UNLfybN25cpQKSStw3TKnqSbzqtVyRjq1l+E/3lQSUxXSvgnA4mioGpaMAnMxNHnH3yRWiaYF37VfAHjCy8JhIJCtEBCmCUHh957KcggiRDXd2kpSb9M8CfHQQ4YJvm/YfOV3YwojIR6P2PHe5B6sizTuJxt/GTdKJ0nlVNxGr6TkFAAAAMbNEVnc4h11d1G1lz1pqOTtg2PJ&amp;lt;/CipherValue&amp;gt;&lt;br /&gt;&amp;lt;/CipherData&amp;gt;&lt;br /&gt;&amp;lt;/EncryptedData&amp;gt;&lt;br /&gt;&amp;lt;/connectionStrings&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To do this please follow steps below,&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;First add this two namespace above your page:&lt;/b&gt;&lt;br /&gt;Imports System.Configuration&lt;br /&gt;Imports System.Web.Configuration&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;then Add this function anywhere in your code behind page :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Public Shared Function webencrypt()&lt;br /&gt;Dim config As Configuration = WebConfigurationManager.OpenWebConfiguration("~")&lt;br /&gt;Dim configSection As ConfigurationSection = config.GetSection("connectionStrings")&lt;br /&gt;&lt;br /&gt;configSection.SectionInformation.ProtectSection("DataProtectionConfigurationProvider")&lt;br /&gt;config.Save()&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;and call this function in pageload, like this &lt;/b&gt;&lt;br /&gt;Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load&lt;br /&gt;Call webencrypt()&lt;br /&gt;Dim sqlstring As SqlConnection&lt;br /&gt;'sqlstring = New System.Configuration.ConfigurationManager.ConnectionStrings("conn").ConnectionString&lt;br /&gt;sqlstring = New SqlConnection(ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString)&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;Hope this post will help you,&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Senior Asp.Net Developer&lt;br /&gt;e-Procurement Technologies Ltd&lt;/b&gt; (India)&lt;br /&gt;&lt;a href="http://www.abcprocure.com/"&gt;www.abcprocure.com&lt;/a&gt;&lt;br /&gt;&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/8764046518411157827-2886943844332175589?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/2886943844332175589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=2886943844332175589&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2886943844332175589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2886943844332175589'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/06/encryption-of-connection-strings-inside.html' title='Encryption of Connection Strings Inside the Web.config'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-3423841097135408281</id><published>2010-06-11T08:54:00.000+05:30</published><updated>2010-06-11T08:54:26.994+05:30</updated><title type='text'></title><content type='html'>&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot;%&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;% User us = new User();&lt;br /&gt;   bool result;&lt;br /&gt;&lt;br /&gt;   if (Request[&amp;quot;ctl00$ContentPlaceHolder1$txtusername&amp;quot;] != null)&lt;br /&gt;   {&lt;br /&gt;       result = us.checkUserAvailability(Request[&amp;quot;ctl00$ContentPlaceHolder1$txtusername&amp;quot;].ToString(), &amp;quot;username&amp;quot;);&lt;br /&gt;       if (result)&lt;br /&gt;       {&lt;br /&gt;           Response.Write(&amp;quot;true&amp;quot;);&lt;br /&gt;       }&lt;br /&gt;       else&lt;br /&gt;           Response.Write(&amp;quot;false&amp;quot;);&lt;br /&gt;   }&lt;br /&gt;   else if (Request[&amp;quot;ctl00$ContentPlaceHolder1$txtemail&amp;quot;] != null)&lt;br /&gt;   {&lt;br /&gt;       result = us.checkUserAvailability(Request[&amp;quot;ctl00$ContentPlaceHolder1$txtemail&amp;quot;].ToString(), &amp;quot;email&amp;quot;);&lt;br /&gt;       if (result)&lt;br /&gt;       {&lt;br /&gt;           Response.Write(&amp;quot;true&amp;quot;);&lt;br /&gt;       }&lt;br /&gt;       else&lt;br /&gt;           Response.Write(&amp;quot;false&amp;quot;);&lt;br /&gt;   }&lt;br /&gt;   &lt;br /&gt; %&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;source code :&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;        $().ready(function() {&lt;br /&gt;            $(&amp;quot;#aspnetForm&amp;quot;).validate({&lt;br /&gt;                rules: {&lt;br /&gt;                    ctl00$ContentPlaceHolder1$txtfirstname: {&lt;br /&gt;                        required: true&lt;br /&gt;                    },&lt;br /&gt;                    ctl00$ContentPlaceHolder1$txtlastname: {&lt;br /&gt;                        required: true&lt;br /&gt;                    },&lt;br /&gt;                    ctl00$ContentPlaceHolder1$txtpassword: { required: true, minlength: 5 },&lt;br /&gt;                    ctl00$ContentPlaceHolder1$txtemail: {&lt;br /&gt;                        required: true,&lt;br /&gt;                        remote: &amp;quot;Controller/checkUserAvail.aspx&amp;quot;,&lt;br /&gt;                        email: true&lt;br /&gt;                    },&lt;br /&gt;                    ctl00$ContentPlaceHolder1$txtaddress1: { required: true }&lt;br /&gt;                },&lt;br /&gt;                messages: {&lt;br /&gt;                    ctl00$ContentPlaceHolder1$txtfirstname: {&lt;br /&gt;                        required: &amp;quot;&amp;lt;br/&amp;gt;Please enter First Name&amp;quot;&lt;br /&gt;                    },&lt;br /&gt;                    ctl00$ContentPlaceHolder1$txtlastname: {&lt;br /&gt;                        required: &amp;quot;&amp;lt;br/&amp;gt;Please enter Last Name&amp;quot;&lt;br /&gt;                    },&lt;br /&gt;                    ctl00$ContentPlaceHolder1$txtpassword: {&lt;br /&gt;                        required: &amp;quot;&amp;lt;br/&amp;gt;Please enter a password&amp;quot;,&lt;br /&gt;                        minlength: &amp;quot;&amp;lt;br/&amp;gt;Minimum password length is 5 characters&amp;quot;&lt;br /&gt;                    },&lt;br /&gt;                    ctl00$ContentPlaceHolder1$txtemail: {&lt;br /&gt;                        required: &amp;quot;&amp;lt;br/&amp;gt;Please enter a email&amp;quot;,&lt;br /&gt;                        email: &amp;quot;&amp;lt;br/&amp;gt;Please enter a valid email&amp;quot;,&lt;br /&gt;                        remote: jQuery.format(&amp;quot;&amp;lt;br/&amp;gt;Email address is already in use&amp;quot;)&lt;br /&gt;                    },&lt;br /&gt;                    ctl00$ContentPlaceHolder1$txtaddress1: { required: &amp;quot;&amp;lt;br/&amp;gt;Please enter address&amp;quot;&lt;br /&gt;                    }&lt;br /&gt;                }&lt;br /&gt;            });&lt;br /&gt;        });         &lt;br /&gt;    &amp;lt;/script&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Thank&lt;br /&gt;Rajesh singh&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-3423841097135408281?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/3423841097135408281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=3423841097135408281&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/3423841097135408281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/3423841097135408281'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/06/page-language-user-us-new-user-bool.html' title=''/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-1687408346366009219</id><published>2010-05-26T14:57:00.000+05:30</published><updated>2010-05-26T14:57:46.191+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net 3.5'/><category scheme='http://www.blogger.com/atom/ns#' term='programming tips'/><title type='text'>How to bind Datalist control from code behind ?</title><content type='html'>&lt;b&gt;Solution :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This blog will explain you, how you can bind Datalist control from code behind.&lt;br /&gt;First you need to add Datalist control in .aspx file, you can do this by draging the control form the toolbox or you can past e the below code in .aspx file.&lt;br /&gt;&lt;br /&gt;Then you need to bind this control from the database, you can do this by assigning Datasource of control to dataset, find code for this also below.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Place below code in HTML file.&lt;/b&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;asp:DataList ID=&amp;quot;dlPhotos&amp;quot; runat=&amp;quot;server&amp;quot; RepeatColumns=&amp;quot;3&amp;quot; CellSpacing=&amp;quot;0&amp;quot; CellPadding=&amp;quot;5&amp;quot;&lt;br /&gt;            RepeatDirection=&amp;quot;Horizontal&amp;quot; Width=&amp;quot;100%&amp;quot;&amp;gt;&lt;br /&gt;            &amp;lt;ItemStyle VerticalAlign=&amp;quot;Top&amp;quot; /&amp;gt;&lt;br /&gt;            &amp;lt;ItemTemplate&amp;gt;&lt;br /&gt;                &amp;lt;table cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;                    &amp;lt;tr&amp;gt;&lt;br /&gt;                        &amp;lt;td align=&amp;quot;center&amp;quot; class=&amp;quot;cellheightfifteen&amp;quot;&amp;gt;&lt;br /&gt;                            &amp;lt;a id=&amp;quot;lnk&amp;lt;%#Container.DataItem(&amp;quot;iProductImageID&amp;quot;)%&amp;gt;&amp;quot; href=&amp;quot;javascript:void(0)&amp;quot; &lt;br /&gt;&lt;br /&gt;onclick=&amp;quot;removePhoto('&amp;lt;%=Application(&amp;quot;SiteURL&amp;quot;)%&amp;gt;ajaxopes.aspx','&amp;lt;%#Container.DataItem(&amp;quot;iProductImageID&amp;quot;)%&amp;gt;','&amp;lt;%#container.da&lt;br /&gt;&lt;br /&gt;taitem(&amp;quot;sImageFileName&amp;quot;)%&amp;gt;')&amp;quot;&amp;gt;&lt;br /&gt;                                Remove Photo &amp;lt;/a&amp;gt;&amp;lt;span class=&amp;quot;redlink&amp;quot; id=&amp;quot;spn&amp;lt;%#Container.DataItem(&amp;quot;iProductImageID&amp;quot;)%&amp;gt;&amp;quot;&lt;br /&gt;                                    style=&amp;quot;display: none;&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;                        &amp;lt;/td&amp;gt;&lt;br /&gt;                    &amp;lt;/tr&amp;gt;&lt;br /&gt;                    &amp;lt;tr&amp;gt;&lt;br /&gt;                        &amp;lt;td class=&amp;quot;heightfive&amp;quot;&amp;gt;&lt;br /&gt;                        &amp;lt;/td&amp;gt;&lt;br /&gt;                    &amp;lt;/tr&amp;gt;&lt;br /&gt;                    &amp;lt;tr&amp;gt;&lt;br /&gt;                        &amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;                            &amp;lt;table id=&amp;quot;tbl&amp;lt;%#Container.DataItem(&amp;quot;iProductImageID&amp;quot;)%&amp;gt;&amp;quot; &lt;br /&gt;&lt;br /&gt;width=&amp;quot;&amp;lt;%=Application(&amp;quot;THUMBIMAGEWIDTH&amp;quot;) + 10%&amp;gt;&amp;quot;&lt;br /&gt;                                height=&amp;quot;&amp;lt;%=Application(&amp;quot;THUMBIMAGEHEIGHT&amp;quot;) + 10%&amp;gt;&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;                                cellpadding=&amp;quot;0&amp;quot; class=&amp;quot;tblbox1&amp;quot;&amp;gt;&lt;br /&gt;                                &amp;lt;tr&amp;gt;&lt;br /&gt;                                    &amp;lt;td align=&amp;quot;center&amp;quot; id=&amp;quot;tdImage&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;                                        &amp;lt;img &lt;br /&gt;&lt;br /&gt;src='&amp;lt;%=Application(&amp;quot;SiteURL&amp;quot;)%&amp;gt;Images/ThumbleImages/&amp;lt;%#container.dataitem(&amp;quot;sImageFileName&amp;quot;)%&amp;gt;?&amp;lt;%=now.tostring%&amp;gt;'&lt;br /&gt;                                            alt='Loading...' /&amp;gt;&lt;br /&gt;                                    &amp;lt;/td&amp;gt;&lt;br /&gt;                                &amp;lt;/tr&amp;gt;&lt;br /&gt;                            &amp;lt;/table&amp;gt;&lt;br /&gt;                        &amp;lt;/td&amp;gt;&lt;br /&gt;                    &amp;lt;/tr&amp;gt;&lt;br /&gt;                    &amp;lt;tr&amp;gt;&lt;br /&gt;                        &amp;lt;td align=&amp;quot;center&amp;quot; class=&amp;quot;cellheightfifteen&amp;quot;&amp;gt;&lt;br /&gt;                            &amp;lt;input type=&amp;quot;radio&amp;quot; id=&amp;quot;opt&amp;lt;%#Container.DataItem(&amp;quot;iProductImageID&amp;quot;)%&amp;gt;&amp;quot; name=&amp;quot;rdPhoto&amp;quot;&lt;br /&gt;                                onclick=&amp;quot;setPhotoId('&amp;lt;%#Container.DataItem(&amp;quot;iProductImageID&amp;quot;)%&amp;gt;')&amp;quot; /&amp;gt;&lt;br /&gt;                        &amp;lt;/td&amp;gt;&lt;br /&gt;                    &amp;lt;/tr&amp;gt;&lt;br /&gt;                &amp;lt;/table&amp;gt;&lt;br /&gt;            &amp;lt;/ItemTemplate&amp;gt;&lt;br /&gt;        &amp;lt;/asp:DataList&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Place below code in Code behind.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Code in VB.Net&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;If Not dsImage Is Nothing Then&lt;br /&gt;       If dsImage.Tables(0).Rows.Count &amp;gt; 0 Then&lt;br /&gt;          dlPhotos.DataSource = dsImage&lt;br /&gt;          dlPhotos.DataBind()&lt;br /&gt;       End If&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;b&gt;OR&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Code in C#.Net&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;if ((dsImage != null)) &lt;br /&gt;{&lt;br /&gt;        if (dsImage.Tables(0).Rows.Count &amp;gt; 0) &lt;br /&gt;    {&lt;br /&gt;            dlPhotos.DataSource = dsImage;&lt;br /&gt;            dlPhotos.DataBind();&lt;br /&gt;        }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Indianic Infotech Ltd (India)&lt;br /&gt;rajesh@indianic.com&lt;br /&gt;&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/8764046518411157827-1687408346366009219?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/1687408346366009219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=1687408346366009219&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1687408346366009219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1687408346366009219'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/05/how-to-bind-datalist-control-from-code.html' title='How to bind Datalist control from code behind ?'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-8774843752025459177</id><published>2010-05-26T13:44:00.000+05:30</published><updated>2010-05-26T13:44:56.713+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net 3.5'/><category scheme='http://www.blogger.com/atom/ns#' term='programming tips'/><title type='text'>Populate Datagrid control using Stored Procedure.</title><content type='html'>&lt;b&gt;Please follow below steps.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Step 1&lt;/b&gt;: Create Stored Procedure, see below code and modify according to your need.&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;CREATE PROCEDURE [dbo].[GetProducts] &lt;br /&gt;   (&lt;br /&gt;       @CategoryID int&lt;br /&gt;   ) &lt;br /&gt;AS&lt;br /&gt;SELECT ProductID, ProductName FROM Products WHERE CategoryID = @CategoryID&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Step 2:&lt;/b&gt; Please see below code and explaination for each line.&lt;br /&gt;&lt;br /&gt;Complete Code&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;SqlConnection conn = new SqlConnection(&amp;quot;Data &lt;br /&gt;Source=localhost;Database=Northwind;Integrated Security=SSPI&amp;quot;);&lt;br /&gt;SqlCommand command = new SqlCommand(&amp;quot;GetProducts&amp;quot;, conn);&lt;br /&gt;command.CommandType = CommandType.StoredProcedure;&lt;br /&gt;command.Parameters.Add(&amp;quot;@CategoryID&amp;quot;, SqlDbType.Int).Value = 1;&lt;br /&gt;SqlDataAdapter adapter = new SqlDataAdapter(command);&lt;br /&gt;DataSet ds = new DataSet();&lt;br /&gt;adapter.Fill(ds, &amp;quot;Products&amp;quot;);&lt;br /&gt;dataGrid1.DataSource = ds;&lt;br /&gt;dataGrid1.DataMember = &amp;quot;Products&amp;quot;;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Explanation of above code line by line&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Make sqlconnection using your connectionstring&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;SqlConnection conn = new SqlConnection(&amp;quot;Data &lt;br /&gt;Source=localhost;Database=MyDB;Integrated Security=SSPI&amp;quot;);&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Declare sqlcommand and pass your Stored Procedure name and make connection to it.&lt;br /&gt;All pass all the parameter to Stored Procudure.&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;SqlCommand command = new SqlCommand(&amp;quot;GetProducts&amp;quot;, conn);&lt;br /&gt;command.CommandType = CommandType.StoredProcedure;&lt;br /&gt;command.Parameters.Add(&amp;quot;@CategoryID&amp;quot;, SqlDbType.Int).Value = 1;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Declare sqldataadapter and assign command to this,&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;SqlDataAdapter adapter = new SqlDataAdapter(command);&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Declare dataset and fill dataset using sqldataadapter and table name "Products".&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;DataSet ds = new DataSet();&lt;br /&gt;adapter.Fill(ds, &amp;quot;Products&amp;quot;);&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Fill datagrid by dataset ds,&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;dataGrid1.DataSource = ds;&lt;br /&gt;dataGrid1.DataMember = &amp;quot;Products&amp;quot;;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Indianic Infotech Ltd (India)&lt;br /&gt;rajesh@indianic.com&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&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/8764046518411157827-8774843752025459177?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/8774843752025459177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=8774843752025459177&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/8774843752025459177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/8774843752025459177'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/05/populate-datagrid-control-using-stored.html' title='Populate Datagrid control using Stored Procedure.'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-4130389105860379613</id><published>2010-05-26T13:39:00.001+05:30</published><updated>2010-05-26T13:39:45.783+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='programming tips'/><title type='text'>Insert Form data in database using Stored Procedure</title><content type='html'>&lt;b&gt;Please follow below steps.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Step 1&lt;/b&gt;: Create Stored Procedure, see below code and modify according to your need.&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;CREATE PROCEDURE [dbo].[InsertUser] (&lt;br /&gt;    @User varchar(50),&lt;br /&gt;    @Pass varchar(50)&lt;br /&gt;) AS&lt;br /&gt;INSERT INTO Users VALUES(@Username, @Password)&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Step 2&lt;/b&gt;: Please see below code and explaination for each line.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Complete Code&lt;/b&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;string user = ... // get username from user&lt;br /&gt;string pass = ... // get password from user&lt;br /&gt;&lt;br /&gt;SqlConnection conn = new SqlConnection(&amp;quot;Data &lt;br /&gt;Source=localhost;Database=MyDB;Integrated Security=SSPI&amp;quot;);&lt;br /&gt;SqlCommand command = new SqlCommand(&amp;quot;InsertUser&amp;quot;, conn);&lt;br /&gt;command.CommandType = CommandType.StoredProcedure;&lt;br /&gt;command.Parameters.Add(&amp;quot;@User&amp;quot;, SqlDbType.VarChar).Value = user;&lt;br /&gt;command.Parameters.Add(&amp;quot;@Pass&amp;quot;, SqlDbType.VarChar).Value = pass;&lt;br /&gt;conn.Open();&lt;br /&gt;int rows = command.ExecuteNonQuery();&lt;br /&gt;conn.Close();&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Explanation of above code line by line&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Assign your text box value to this variables&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;string user = ... // get username from user&lt;br /&gt;string pass = ... // get password from user&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Make sqlconnection using your connectionstring&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;SqlConnection conn = new SqlConnection(&amp;quot;Data &lt;br /&gt;Source=localhost;Database=MyDB;Integrated Security=SSPI&amp;quot;);&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Declare sqlcommand and pass your Stored Procedure name and make connection to it.&lt;br /&gt;All pass all the parameter to Stored Procudure.&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;SqlCommand command = new SqlCommand(&amp;quot;InsertUser&amp;quot;, conn);&lt;br /&gt;command.CommandType = CommandType.StoredProcedure;&lt;br /&gt;command.Parameters.Add(&amp;quot;@User&amp;quot;, SqlDbType.VarChar).Value = user;&lt;br /&gt;command.Parameters.Add(&amp;quot;@Pass&amp;quot;, SqlDbType.VarChar).Value = pass;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Open connection to database and run your store procedure, thus you can insert your form data to database succussfully.&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;conn.Open();&lt;br /&gt;int rows = command.ExecuteNonQuery();&lt;br /&gt;conn.Close();&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Indianic Infotech Ltd (India)&lt;br /&gt;rajesh@indianic.com&lt;/b&gt;&lt;br /&gt;&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/8764046518411157827-4130389105860379613?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/4130389105860379613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=4130389105860379613&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/4130389105860379613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/4130389105860379613'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/05/insert-form-data-in-database-using.html' title='Insert Form data in database using Stored Procedure'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-8248591813524343257</id><published>2010-05-01T12:22:00.002+05:30</published><updated>2010-05-01T12:23:26.064+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2008'/><title type='text'>Manually Reset Identity Column Value in SQL Server</title><content type='html'>&lt;b&gt;Problem :&lt;/b&gt; If you are creating any table and using an identity column to that table, then at first time, when you insert any row, then identity value will start like 1,2,3... and so on..&lt;br /&gt;&lt;br /&gt;But if you delete all the row from the table and when you try to insert new row in same table, the identity value will start from last identity value.&lt;br /&gt;&lt;br /&gt;For Example the last identity was 6, so after deleting all data, when you insert new row, the identity value will be 7.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;So to reset the identity Column value, you can use this below code.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;Syntax&lt;br /&gt;&lt;br /&gt;DBCC CHECKIDENT ( &amp;lt;table name&amp;gt;,RESEED,&amp;lt;new value&amp;gt;)&lt;br /&gt;&lt;br /&gt;QUERY &lt;br /&gt;&lt;br /&gt;DBDD CHECKIDENT ('tbl_rajesh',RESEED,1)&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Explaination : &lt;/b&gt;&lt;br /&gt;&lt;b&gt;table name&lt;/b&gt; = Your table name should be entered here&lt;br /&gt;&lt;b&gt;RESEED&lt;/b&gt; = this is used to reset your identity value.&lt;br /&gt;&lt;b&gt;new value&lt;/b&gt; = Starting identity value&lt;br /&gt;&lt;br /&gt;If you want to check current identity value of any table, you can use below query.&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;DBCC CHECKIDENT (&amp;#8217;tablename&amp;#8217;, NORESEED)&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Explaination : &lt;/b&gt;&lt;br /&gt;&lt;b&gt;table name&lt;/b&gt; = Your table name should be entered here&lt;br /&gt;&lt;b&gt;NORESEED&lt;/b&gt; = This will avoid RESEED function.&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Indianic Infotech Ltd (India)&lt;br /&gt;rajesh@indianic.com&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-8248591813524343257?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/8248591813524343257/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=8248591813524343257&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/8248591813524343257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/8248591813524343257'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/05/manually-reset-identity-column-value-in.html' title='Manually Reset Identity Column Value in SQL Server'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-1197016097239864168</id><published>2010-04-23T14:38:00.000+05:30</published><updated>2010-04-23T14:38:06.255+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2008'/><title type='text'>Solved : Microsoft SQL Server, Error:233</title><content type='html'>&lt;b&gt;Issue :&lt;/b&gt; Microsoft SQL Server, Error:233&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Sometimes when you try to open sql server 2005 or 2008, after entering login details, you will be prompted by this below screen, telling "Microsoft SQL Server, Error:233", then you just get struck and restart you computer or even format the computer or uninstall sql server 2005 or 2008, but not getting any solution?&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.induway.com/" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="268" src="http://1.bp.blogspot.com/_0AP8fBxcSdc/S9Fi4j4TxVI/AAAAAAAAASs/Nzx2TG-f3AQ/s400/1.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Please read below to find the solution to this issue.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;At this time, what you need to do is, just open your network connection and just disable and  enable once,as shown below and your problem solved, thats it. try to login again and you will be succussfully login.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.induway.com/" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="273" src="http://1.bp.blogspot.com/_0AP8fBxcSdc/S9FjAsk7ylI/AAAAAAAAAS0/qdgdYaAXt1g/s400/2.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Ya,i know you might be rubbing your head. i have even done that when i came to know the solution to this problem. but anyways finally you got solution to this problem.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px;"&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Indianic Infotech Ltd (India)&lt;br /&gt;rajesh@indianic.com&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&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/8764046518411157827-1197016097239864168?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/1197016097239864168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=1197016097239864168&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1197016097239864168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1197016097239864168'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/04/solved-microsoft-sql-server-error233.html' title='Solved : Microsoft SQL Server, Error:233'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_0AP8fBxcSdc/S9Fi4j4TxVI/AAAAAAAAASs/Nzx2TG-f3AQ/s72-c/1.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-3769504856460233945</id><published>2010-04-22T14:41:00.002+05:30</published><updated>2010-04-22T14:42:36.200+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>unterminated string literal in jQuery</title><content type='html'>&lt;b&gt;Issue: unterminated string literal&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution :&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_0AP8fBxcSdc/S9ASTGZVoeI/AAAAAAAAASk/l4fSdeJsCWs/s1600/unterminated+string+literal.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://4.bp.blogspot.com/_0AP8fBxcSdc/S9ASTGZVoeI/AAAAAAAAASk/l4fSdeJsCWs/s400/unterminated+string+literal.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Whenever, you use textarea control in your html code, and you try to fetch the textarea data using jquery, you will encounter this 'unterminated string literal' issue.&lt;br /&gt;&lt;br /&gt;Main reason of this issue is, while entering text in textarea control, if you press enter for new line, thus newline character is created, which make this issue to happen.&lt;br /&gt;&lt;br /&gt;Please read below to find the solution to this issue,&lt;br /&gt;&lt;br /&gt;suppose your html code is&lt;br /&gt;&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;HTML Code&lt;br /&gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;            &amp;lt;td align="right"&amp;gt;&lt;br /&gt;                About RJ :&lt;br /&gt;            &amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;td align="left"&amp;gt;&lt;br /&gt;                &amp;lt;asp:TextBox ID="txtaboutrj" runat="server" TextMode="MultiLine" Width="300" Height="100"&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&lt;br /&gt;            &amp;lt;/td&amp;gt;&lt;br /&gt;        &amp;lt;/tr&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;To avoid this issue to happen, what you have to do is, just append '.ToString().Replace(Environment.NewLine, "&amp;lt;br /&amp;gt;")' to your control name in code behind, like shown below.&lt;br /&gt;&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;CodeBehind Code&lt;br /&gt;&lt;br /&gt;txtaboutrj.Text.ToString().Replace(Environment.NewLine, "&amp;lt;br /&amp;gt;")&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;This will replace newline character with HTML tag "&amp;lt;br /&amp;gt;",&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;b&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Indianic Infotech Ltd (India)&lt;br /&gt;rajesh@indianic.com&lt;/b&gt;&lt;br /&gt;&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/8764046518411157827-3769504856460233945?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/3769504856460233945/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=3769504856460233945&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/3769504856460233945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/3769504856460233945'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/04/unterminated-string-literal-in-jquery.html' title='unterminated string literal in jQuery'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_0AP8fBxcSdc/S9ASTGZVoeI/AAAAAAAAASk/l4fSdeJsCWs/s72-c/unterminated+string+literal.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-7055860654322013528</id><published>2010-03-25T07:21:00.008+05:30</published><updated>2010-03-25T08:02:49.231+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Crystal Report'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='How to'/><title type='text'>Steps to Create Crystal Report in VB.NET</title><content type='html'>In this tutorail, I will teach you how to make crystal report in vb.net.&lt;br /&gt;&lt;br /&gt;Please follow the Steps to Create Crystal Report in VB.NET,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 1:&lt;/span&gt; Create one vb.net project in visual studio.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2:&lt;/span&gt; what we need to create simple crystal report ?&lt;br /&gt;    a.Dataset file (.xsd)&lt;br /&gt; b.Crystal Report (.rpt)&lt;br /&gt; c.One window form (.vb)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;object type="application/x-shockwave-flash" data="http://www.swfcabin.com/swf-files/1269480411.swf" width="590" height="500"&gt; &lt;param name="movie" value="http://www.swfcabin.com/swf-files/1269480411.swf" /&gt; &lt;img src="http://www.induway.com/images/logo-1.jpg" alt="Crystal report by Induway Technologies (www.induway.com)" /&gt; &lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3:&lt;/span&gt; Right click on project name in visual studio and click on add to add new items.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 4:&lt;/span&gt; Select Dataset from the list from Add New Item displayed box.&lt;br /&gt; Name it as ReportDS as shown in Video.&lt;br /&gt; Then you will be prompt with gray screen, it shows you have created dataset properly.&lt;br /&gt; Drag Table from the Server explorer and drop it on dataset gray screen.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 5&lt;/span&gt;: Now its time to insert report file (.rtp), right click on project name in visual studio and click on add to add new items.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 6:&lt;/span&gt; Select CrystalReport from the list from Add new item displayed box.&lt;br /&gt; Name it as Crystalreport1 as shown in video.&lt;br /&gt; Then you will be prompt with the Crystal Reports Gallery, &lt;br /&gt; Just click on "OK", then another page "Standard Report creation Wizard" will be prompted.&lt;br /&gt; Then you need to select the database you created, in step 4.&lt;br /&gt; For that click on ADO.NET Dataset and select you dataset from the list.as shown in video.&lt;br /&gt; Then you will be prompted with table with fields, select the fields you require to show in report.&lt;br /&gt; Then click on finish, and you have done.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 7:&lt;/span&gt; Now you need to add from to show this report in it. To do that, just add new form (.vb), and drag the Reportviewer form the data section in tool box.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 8:&lt;/span&gt; Take one button in that from, so that, when you click on that button, the report show appear.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 9&lt;/span&gt;: Then on click event of that button, paste this code below.&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;Dim conn As New OleDbConnection(&amp;quot;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=PAMDB.mdb;User Id=admin;Password=;&amp;quot;)&lt;br /&gt;        Dim cmd As OleDbCommand&lt;br /&gt;        cmd = New OleDbCommand(&amp;quot;SELECT PAM_Medical_Information.tPatientName, PAM_Medical_Information.tDoctorCareProvider, PAM_Type_of_Medical_Entry.tMedicalTypeName, PAM_Medical_Information.tRx_OTC_MedsList_Dosage_Frequency, format(PAM_Medical_Information.dMedicalDate,'MM/dd/yyyy') as dMedicalDate , iif (PAM_Medical_Information.tPutOnMedicalInformationCard = '1', 'Yes', 'No') as tPutOnMedicalInformationCard  FROM PAM_Medical_Information INNER JOIN PAM_Type_of_Medical_Entry ON PAM_Medical_Information.nMedicalTypeID = PAM_Type_of_Medical_Entry.iMedicalTypeID&amp;quot;, conn) ' Change ID&lt;br /&gt;&lt;br /&gt;        Dim da As New OleDbDataAdapter(cmd)&lt;br /&gt;        Dim ds As New DataSet() 'Set TypeDataset name That I have created before&lt;br /&gt;        da.Fill(ds, &amp;quot;MedicalList&amp;quot;)&lt;br /&gt;        If (ds IsNot Nothing And ds.Tables(0).Rows.Count &amp;gt; 0) Then&lt;br /&gt;            Dim cryRpt1 As New ReportDocument&lt;br /&gt;            Dim reportpath As String = Application.StartupPath &amp;amp; &amp;quot;\Reports\Medical.rpt&amp;quot;&lt;br /&gt;            'cryRpt1.Load(reportpath)&lt;br /&gt;            cryRpt1.Load(reportpath)&lt;br /&gt;            cryRpt1.SetDataSource(ds.Tables(0))&lt;br /&gt;            CrystalReportViewer1.ReportSource = cryRpt1&lt;br /&gt;            CrystalReportViewer1.Refresh()&lt;br /&gt;        End If&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thats it, you have done finally, enjoy the report.&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Indianic Infotech Ltd (India)&lt;br /&gt;rajesh@indianic.com&lt;/span&gt;&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/8764046518411157827-7055860654322013528?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/7055860654322013528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=7055860654322013528&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7055860654322013528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7055860654322013528'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/03/steps-to-create-crystal-report-in-vbnet.html' title='Steps to Create Crystal Report in VB.NET'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-789994337453668740</id><published>2010-03-25T07:17:00.000+05:30</published><updated>2010-03-25T07:20:02.410+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='C# 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Programming'/><title type='text'>How to define Global Variable in Windows Forms with C#</title><content type='html'>Create one Static class and declare static member/property into that class.&lt;br /&gt;&lt;br /&gt;Now you can access that variable from any form in your windows application. Also you can able to set and get variable values.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;GlobalModule Class:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Linq;&lt;br /&gt;using System.Text;&lt;br /&gt;&lt;br /&gt;static class GlobalModule&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;private static string _GlobalVar = &amp;quot;&amp;quot;;&lt;br /&gt;public static string GlobalVar&lt;br /&gt;{&lt;br /&gt;get { return _GlobalVar; }&lt;br /&gt;set { _GlobalVar = value; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public static string FirstName = &amp;quot;Rajesh&amp;quot;;&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;How to use global variables in application:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;//Set the value to static variable&lt;br /&gt;GlobalModule.GlobalVar = &amp;quot;VB.Net C#&amp;quot;;&lt;br /&gt;&lt;br /&gt;//Get the value from static variable&lt;br /&gt;string CheckVal = GlobalModule.GlobalVar;&lt;br /&gt;string FirstName = GlobalModule.FirstName;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Indianic Infotech Ltd (India)&lt;br /&gt;rajesh@indianic.com&lt;/span&gt;&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/8764046518411157827-789994337453668740?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/789994337453668740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=789994337453668740&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/789994337453668740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/789994337453668740'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/03/how-to-define-global-variable-in.html' title='How to define Global Variable in Windows Forms with C#'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-1665136645766562420</id><published>2010-03-20T07:49:00.003+05:30</published><updated>2010-03-20T07:52:44.430+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS Access Database'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='programming tips'/><title type='text'>How to get @@Identity after insert operation in Access Database</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Solution :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I am going to explain this in Vb.Net.&lt;br /&gt;&lt;br /&gt;Create one vb.net project and add one from frmAddContact.vb in your project.&lt;br /&gt;and take one button and txtbox in that form.&lt;br /&gt;&lt;br /&gt;Create Dataaccesslayer class file with name, DAL.vb&lt;br /&gt;&lt;br /&gt;and add below code to respective files, please find the code below.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;frmAddContact.vb&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;Dim ObjDataAccess As New DAL()&lt;br /&gt;Public Class frmAddContact&lt;br /&gt;    Dim ObjDataAccess As New DAL()&lt;br /&gt;&lt;br /&gt;Private Sub btnsave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsave.Click&lt;br /&gt;&lt;br /&gt;Dim iRelationID As New Integer&lt;br /&gt;            iRelationID = ObjDataAccess.ExecuteNonQueryGetIdentity(&amp;quot;INSERT INTO PAM_Relationship ( tRelationshipName,dCreatedDate,dModifiedDate) VALUES ('&amp;quot; &amp;amp; _&lt;br /&gt;                                          cmbrelationship.Text.Trim() &amp;amp; &amp;quot;',#&amp;quot; &amp;amp; _&lt;br /&gt;                                          Date.Now &amp;amp; &amp;quot;#,#&amp;quot; &amp;amp; _&lt;br /&gt;                                          Date.Now &amp;amp; &amp;quot;# )&amp;quot;)&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;End Class&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;DAL.vb&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;Imports System.Data.SqlClient&lt;br /&gt;Imports System.Data&lt;br /&gt;Imports System.Data.OleDb&lt;br /&gt;&lt;br /&gt;Public Class DAL&lt;br /&gt;    Dim ConnStr As String = Configuration.ConfigurationSettings.AppSettings(&amp;quot;DBConn&amp;quot;).ToString()&lt;br /&gt;&lt;br /&gt;Public Function ExecuteNonQueryGetIdentity(ByVal Query As String) As Integer&lt;br /&gt;&lt;br /&gt;        Dim iResult As Integer&lt;br /&gt;        Try&lt;br /&gt;            Dim Conn As New OleDb.OleDbConnection(ConnStr)&lt;br /&gt;            Conn.Open()&lt;br /&gt;            Dim cmd As New OleDb.OleDbCommand(Query, Conn)&lt;br /&gt;&lt;br /&gt;            cmd.ExecuteNonQuery()&lt;br /&gt;            cmd.CommandText = &amp;quot;Select @@Identity&amp;quot;&lt;br /&gt;            iResult = cmd.ExecuteScalar()&lt;br /&gt;            Conn.Close()&lt;br /&gt;            cmd.Dispose()&lt;br /&gt;        Catch ex As Exception&lt;br /&gt;            ex = Nothing&lt;br /&gt;        End Try&lt;br /&gt;&lt;br /&gt;        Return iResult&lt;br /&gt;    End Function&lt;br /&gt;&lt;br /&gt;End Class&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;After insert operation, when you will check the value of return value of iRelationID, you will find the inserted row id.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Indianic Infotech Ltd (India)&lt;br /&gt;rajesh@indianic.com&lt;br /&gt;&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/8764046518411157827-1665136645766562420?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/1665136645766562420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=1665136645766562420&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1665136645766562420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1665136645766562420'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/03/how-to-get-identity-after-insert.html' title='How to get @@Identity after insert operation in Access Database'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-4492322099708096160</id><published>2010-03-19T07:11:00.000+05:30</published><updated>2010-03-19T07:12:34.905+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><title type='text'>Delete all image file from Perticular folder in C#</title><content type='html'>Hello DotNet Developer,&lt;br /&gt;&lt;br /&gt;Please find below code, which will help to find all file in perticular folder and delete all the file and make folder blank.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Explaination of the code : Delete all image file from Perticular folder in C#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here, i have find the folder path using Server.MapPath, then stored all the file in the array, i have named it imglist.&lt;br /&gt;&lt;br /&gt;Then i have used forloop to get all the files name one by one and delete it, &lt;br /&gt;Here i have taken DateTime.Now.AddMinutes, because if the file is added just before 3 minutes from the current time, then it should not be delete, you can change the time according to your need.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Code :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;protected void CleanImageFolder()&lt;br /&gt;{&lt;br /&gt;    string imgFolder = Server.MapPath(&amp;quot;~/lab/maskemail/img/&amp;quot;);&lt;br /&gt;    string[] imgList = Directory.GetFiles(imgFolder, &amp;quot;*.jpg&amp;quot;);&lt;br /&gt;    foreach (string img in imgList)&lt;br /&gt;    {&lt;br /&gt;        FileInfo imgInfo = new FileInfo(img);&lt;br /&gt;        if (imgInfo.LastWriteTime &amp;lt; DateTime.Now.AddMinutes(-3))&lt;br /&gt;        {&lt;br /&gt;            imgInfo.Delete();&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Indianic Infotech Ltd (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-4492322099708096160?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/4492322099708096160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=4492322099708096160&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/4492322099708096160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/4492322099708096160'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/03/delete-all-image-file-from-perticular.html' title='Delete all image file from Perticular folder in C#'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-890303880369239793</id><published>2010-02-11T21:57:00.005+05:30</published><updated>2010-02-11T22:05:17.001+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='iPod Touch'/><category scheme='http://www.blogger.com/atom/ns#' term='iTunes'/><category scheme='http://www.blogger.com/atom/ns#' term='iPhone'/><category scheme='http://www.blogger.com/atom/ns#' term='Mac'/><title type='text'>Steps to find  Device ID of your iPhone or iPod Touch</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Steps to find  Device ID of your iPhone or iPod Touch&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Please follow below steps to find Device ID of your iPhone or iPod Touch.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 1:&lt;/span&gt; Open iTunes&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2:&lt;/span&gt; Connect your iPhone with Mac.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_0AP8fBxcSdc/S3QwnWSIbsI/AAAAAAAAARw/BMK75GXc72c/s1600-h/Connect+Your+iphone+to+iTune.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 226px;" src="http://4.bp.blogspot.com/_0AP8fBxcSdc/S3QwnWSIbsI/AAAAAAAAARw/BMK75GXc72c/s400/Connect+Your+iphone+to+iTune.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5437024102697692866" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3:&lt;/span&gt; when you will get successfully connected to iTunes, At the right pane, You will see each and every information of your iPhone, &lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_0AP8fBxcSdc/S3QxEV8c4AI/AAAAAAAAAR4/SAGh1UV27qE/s1600-h/select+serial+number+from+the+itune.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 226px;" src="http://4.bp.blogspot.com/_0AP8fBxcSdc/S3QxEV8c4AI/AAAAAAAAAR4/SAGh1UV27qE/s400/select+serial+number+from+the+itune.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5437024600822964226" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Like &lt;br /&gt;Name, &lt;br /&gt;capacity, &lt;br /&gt;software version, &lt;br /&gt;serial number, and &lt;br /&gt;phone number. &lt;br /&gt;&lt;br /&gt;Then you can select that Serial Number and copy to your clipboard by selecting Edit → Copy.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_0AP8fBxcSdc/S3Qxb3sp3YI/AAAAAAAAASA/X3OskJCf2sk/s1600-h/Copy+Serial+Number+of+iphone.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 225px;" src="http://3.bp.blogspot.com/_0AP8fBxcSdc/S3Qxb3sp3YI/AAAAAAAAASA/X3OskJCf2sk/s400/Copy+Serial+Number+of+iphone.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5437025005020503426" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thus you can get your Device id by above steps.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Indianic Infotech Ltd (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-890303880369239793?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/890303880369239793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=890303880369239793&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/890303880369239793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/890303880369239793'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/02/steps-to-find-device-id-of-your-iphone.html' title='Steps to find  Device ID of your iPhone or iPod Touch'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_0AP8fBxcSdc/S3QwnWSIbsI/AAAAAAAAARw/BMK75GXc72c/s72-c/Connect+Your+iphone+to+iTune.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-2831534824152389850</id><published>2010-02-11T21:44:00.001+05:30</published><updated>2010-02-11T21:46:50.445+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='iPhone'/><title type='text'>How can I find current OS version of my iPhone ?</title><content type='html'>Steps to find Your iPhone or iPod Touch OS Version&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Question :&lt;/span&gt; How can I find current OS version of my iPhone ?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Answer:&lt;/span&gt; Follow the steps to find your iphone or ipod touch OS version. &lt;br /&gt;&lt;br /&gt;Step 1: Go to Settings of your Device&lt;br /&gt;&lt;br /&gt;Step 2: Click on General option in that, You will see About page.See image.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_0AP8fBxcSdc/S3QtGiEb5xI/AAAAAAAAARo/_9EUfUl11hM/s1600-h/Find+current+OS+version+of+your+device.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 275px; height: 400px;" src="http://4.bp.blogspot.com/_0AP8fBxcSdc/S3QtGiEb5xI/AAAAAAAAARo/_9EUfUl11hM/s400/Find+current+OS+version+of+your+device.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5437020240390907666" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Step 3: in that you can see the OS version of your Device. &lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Indianic Infotech Ltd (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-2831534824152389850?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/2831534824152389850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=2831534824152389850&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2831534824152389850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2831534824152389850'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/02/how-can-i-find-current-os-version-of-my.html' title='How can I find current OS version of my iPhone ?'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_0AP8fBxcSdc/S3QtGiEb5xI/AAAAAAAAARo/_9EUfUl11hM/s72-c/Find+current+OS+version+of+your+device.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-6357997210277310416</id><published>2010-02-11T20:57:00.007+05:30</published><updated>2010-02-11T22:11:29.632+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Services'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Steps to Create Web Services in C# and Sql Server</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Steps to Create Web Services in C# and Sql Server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 1:&lt;/span&gt; Create one website project in the visual studio&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2:&lt;/span&gt; Create one folder with name “WebServices” in the project.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3:&lt;/span&gt; Right click on the folder and click on add new item, then select “ web services” file from the list, as shown in image below&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_0AP8fBxcSdc/S3QjBxr8GNI/AAAAAAAAARI/9pL02BhD33U/s1600-h/Add+Web+services+file+in+visual+studio+project.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://2.bp.blogspot.com/_0AP8fBxcSdc/S3QjBxr8GNI/AAAAAAAAARI/9pL02BhD33U/s400/Add+Web+services+file+in+visual+studio+project.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5437009163567503570" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 4:&lt;/span&gt; After creating file in folder, Webservices.asmx file will be created in the folder and a default folder with name “App_Code” will be added the project and new file with the name “Webservices.cs” file will be added to it automatically.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 5:&lt;/span&gt; Then create three class file in App_Code folder with name :&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;a.&lt;/span&gt;WebService_Class.cs&lt;br /&gt;We will create all the function of database operation here. We will discuss this in detail below. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;b.&lt;/span&gt;Webservice_Main.cs&lt;br /&gt;In this class, we will store the generic  list of web services data. We will discuss this in detail below.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;c.&lt;/span&gt;WebServices_StoreLocalVariable.cs&lt;br /&gt;In this class we will store all the local variables, so that we can speed up web services. We will discuss this in detail below.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;WebService_Class.cs&lt;/h3&gt;&lt;br /&gt;You can add this code in this file&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;using System;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Configuration;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.Security;&lt;br /&gt;using System.Web.UI;&lt;br /&gt;using System.Web.UI.WebControls;&lt;br /&gt;using System.Web.UI.WebControls.WebParts;&lt;br /&gt;using System.Web.UI.HtmlControls;&lt;br /&gt;using commonlib.Common;&lt;br /&gt;&lt;br /&gt;/// &amp;lt;summary&amp;gt;&lt;br /&gt;/// Summary description for WebService_Class&lt;br /&gt;/// &amp;lt;/summary&amp;gt;&lt;br /&gt;&lt;br /&gt;namespace EuroCity&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;    public class GetAllCityClass&lt;br /&gt;    {&lt;br /&gt;        #region &amp;quot;Fields&amp;quot;&lt;br /&gt;&lt;br /&gt;        private int iCityID;&lt;br /&gt;        private string sCityName;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        DBManager DM = new DBManager(ConfigurationManager.ConnectionStrings[&amp;quot;ConnectionString&amp;quot;].ToString());&lt;br /&gt;        #endregion&lt;br /&gt;&lt;br /&gt;        #region &amp;quot;Properties&amp;quot;&lt;br /&gt;&lt;br /&gt;        public int ICityID&lt;br /&gt;        {&lt;br /&gt;            get { return iCityID; }&lt;br /&gt;            set { iCityID = value; }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public string SCityName&lt;br /&gt;        {&lt;br /&gt;            get { return sCityName; }&lt;br /&gt;            set { sCityName = value; }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        #endregion&lt;br /&gt;&lt;br /&gt;        #region &amp;quot;Function&amp;quot;&lt;br /&gt;&lt;br /&gt;        public DataSet GetAllCity()&lt;br /&gt;        {&lt;br /&gt;            DataSet DSCity = new DataSet();&lt;br /&gt;            string SQL = &amp;quot;SP_GetAllCity&amp;quot;;&lt;br /&gt;&lt;br /&gt;            try&lt;br /&gt;            {&lt;br /&gt;                DSCity = DM.ExecuteDataSet(CommandType.StoredProcedure, SQL);&lt;br /&gt;            }&lt;br /&gt;            catch (Exception ex)&lt;br /&gt;            {&lt;br /&gt;                ex = null;&lt;br /&gt;            }&lt;br /&gt;            finally&lt;br /&gt;            {&lt;br /&gt;                if (DSCity != null)&lt;br /&gt;                {&lt;br /&gt;                    DSCity.Dispose();&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;            return DSCity;&lt;br /&gt;        }&lt;br /&gt;        #endregion&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Webservice_Main.cs&lt;/h3&gt;&lt;br /&gt;You can add this below code in this file.&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;using System.Web;&lt;br /&gt;using System.Web.Security;&lt;br /&gt;using System.Web.UI;&lt;br /&gt;using System.Web.UI.WebControls;&lt;br /&gt;using System.Web.UI.WebControls.WebParts;&lt;br /&gt;using System.Web.UI.HtmlControls;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using EuroCity;&lt;br /&gt;/// &amp;lt;summary&amp;gt;&lt;br /&gt;/// Summary description for WebServices_Main&lt;br /&gt;/// &amp;lt;/summary&amp;gt;&lt;br /&gt;namespace EurocityCards_Classes&lt;br /&gt;{&lt;br /&gt;    public class WebServices_GetAllCity&lt;br /&gt;    {&lt;br /&gt;        public string ErrorMessage = &amp;quot;&amp;quot;;&lt;br /&gt;        public bool IsError = false;&lt;br /&gt;&lt;br /&gt;        public List&amp;lt;GetAllCityClass&amp;gt; CityList = new List&amp;lt;GetAllCityClass&amp;gt;();&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;WebServices_StoreLocalVariable.cs&lt;/h3&gt;&lt;br /&gt;You can add this below code in this file&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;using System;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Configuration;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.Security;&lt;br /&gt;using System.Web.UI;&lt;br /&gt;using System.Web.UI.WebControls;&lt;br /&gt;using System.Web.UI.WebControls.WebParts;&lt;br /&gt;using System.Web.UI.HtmlControls;&lt;br /&gt;&lt;br /&gt;/// &amp;lt;summary&amp;gt;&lt;br /&gt;/// Summary description for WS_EuroClass&lt;br /&gt;/// &amp;lt;/summary&amp;gt;&lt;br /&gt;public class GetAllCityClass&lt;br /&gt;{&lt;br /&gt;    #region Data Member&lt;br /&gt;    public string iCityID, sCityName;&lt;br /&gt;    #endregion&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;WebService.cs&lt;/h3&gt;&lt;br /&gt;Add Below code in the WebService.cs, that generated automatically in the App_Code file.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;using System;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Collections;&lt;br /&gt;using System.Web.Services;&lt;br /&gt;using System.Web.Services.Protocols;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Data.SqlClient;&lt;br /&gt;using EurocityCards_Classes;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Configuration;&lt;br /&gt;using EuroCity;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/// &amp;lt;summary&amp;gt;&lt;br /&gt;/// Summary description for WS_EurocityCards&lt;br /&gt;/// &amp;lt;/summary&amp;gt;&lt;br /&gt;[WebService(Namespace = &amp;quot;http://tempuri.org/&amp;quot;)]&lt;br /&gt;[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]&lt;br /&gt;public class WebService : System.Web.Services.WebService&lt;br /&gt;{&lt;br /&gt;    [WebMethod]&lt;br /&gt;    public WebServices_GetAllCity GetAllCity()&lt;br /&gt;    {&lt;br /&gt;        EuroCity.GetAllCityClass objcity = new EuroCity.GetAllCityClass();&lt;br /&gt;        DataSet dscity = new DataSet();&lt;br /&gt;        WebServices_GetAllCity WS_city = new EurocityCards_Classes.WebServices_GetAllCity();&lt;br /&gt;        dscity = objcity.GetAllCity();&lt;br /&gt;        objcity = null;&lt;br /&gt;        if (dscity != null &amp;amp;&amp;amp; dscity.Tables[0].Rows.Count &amp;gt; 0)&lt;br /&gt;        {&lt;br /&gt;            WS_city.IsError = false;&lt;br /&gt;&lt;br /&gt;            List&amp;lt;GetAllCityClass&amp;gt; stateList = new List&amp;lt;GetAllCityClass&amp;gt;();&lt;br /&gt;&lt;br /&gt;            foreach (DataRow dtRow in dscity.Tables[0].Rows)&lt;br /&gt;            {&lt;br /&gt;                GetAllCityClass objcityName = new GetAllCityClass();&lt;br /&gt;                objcityName.iCityID = dtRow[&amp;quot;catid&amp;quot;].ToString();&lt;br /&gt;                objcityName.sCityName = dtRow[&amp;quot;Catname&amp;quot;].ToString();&lt;br /&gt;                stateList.Add(objcityName);&lt;br /&gt;&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;            WS_city.CityList = stateList;&lt;br /&gt;        }&lt;br /&gt;        else&lt;br /&gt;        {&lt;br /&gt;            WS_city.ErrorMessage = &amp;quot;No record Found&amp;quot;;&lt;br /&gt;            WS_city.IsError = true;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        return WS_city;&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Add Below code in the web.config file for the connection to the database&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&amp;lt;connectionStrings&amp;gt;&lt;br /&gt;    &amp;lt;add name=&amp;quot;ConnectionString&amp;quot; connectionString=&amp;quot;Data Source=YOURSQLSERVERNAME;Initial Catalog=YOURDATABASENAME;user id=YOURDATABASEUSERNAME;password=YOURDATABASEPASSWORD;&amp;quot; providerName=&amp;quot;System.Data.SqlClient;Max Pool Size=7500;Connect Timeout=500;pooling=true&amp;quot;/&amp;gt;&lt;br /&gt;  &amp;lt;/connectionStrings&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To make database connection you need to create SP for that, please find code below&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Create one Database in your SQL Server, and create one table name “SiteCity”&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;-- For City  Details&lt;br /&gt;IF EXISTS (SELECT * FROM SYSOBJECTS WHERE ID = OBJECT_ID('SP_GetAllCity'))&lt;br /&gt;    DROP PROCEDURE SP_GetAllCity&lt;br /&gt;GO&lt;br /&gt;CREATE PROCEDURE [SP_GetAllCity]&lt;br /&gt;AS&lt;br /&gt;BEGIN&lt;br /&gt;    SELECT CityID,CityName&lt;br /&gt;    FROM SiteCity &lt;br /&gt;    ORDER BY CityName ASC&lt;br /&gt;END&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;After Creating the project, just build your application and run in brower.&lt;br /&gt;&lt;br /&gt;Follow the screen to get your output.&lt;br /&gt;&lt;br /&gt;Web Services First View&lt;br /&gt;You will see the web service name here, see below in the image,&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_0AP8fBxcSdc/S3QjqFEbmfI/AAAAAAAAARQ/TRblGF2fhDo/s1600-h/Web+Services+First+View.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://2.bp.blogspot.com/_0AP8fBxcSdc/S3QjqFEbmfI/AAAAAAAAARQ/TRblGF2fhDo/s400/Web+Services+First+View.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5437009855965272562" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After clicking to the web services name, you will see "Invoke button"&lt;br /&gt;This is the button used to run the web services.See in the screen below&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_0AP8fBxcSdc/S3Qj_yeXPjI/AAAAAAAAARY/0fqUp_aHBiY/s1600-h/Web+Services++Second+View.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://1.bp.blogspot.com/_0AP8fBxcSdc/S3Qj_yeXPjI/AAAAAAAAARY/0fqUp_aHBiY/s400/Web+Services++Second+View.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5437010228930887218" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then finally you will see the below screen as output, what you were in need of, just call this and make you application successfull.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_0AP8fBxcSdc/S3QkPrIzutI/AAAAAAAAARg/5llRxVRJLSM/s1600-h/Web+Services+out+put+screen.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://4.bp.blogspot.com/_0AP8fBxcSdc/S3QkPrIzutI/AAAAAAAAARg/5llRxVRJLSM/s400/Web+Services+out+put+screen.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5437010501839338194" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Indianic Infotech Ltd (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-6357997210277310416?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/6357997210277310416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=6357997210277310416&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/6357997210277310416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/6357997210277310416'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/02/steps-to-create-web-services-in-c-and.html' title='Steps to Create Web Services in C# and Sql Server'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_0AP8fBxcSdc/S3QjBxr8GNI/AAAAAAAAARI/9pL02BhD33U/s72-c/Add+Web+services+file+in+visual+studio+project.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-2026918635219580499</id><published>2010-02-10T22:03:00.000+05:30</published><updated>2010-02-10T22:04:12.024+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Twitter'/><category scheme='http://www.blogger.com/atom/ns#' term='Google Buzz'/><category scheme='http://www.blogger.com/atom/ns#' term='Gmail'/><title type='text'>What is Google Buzz ?</title><content type='html'>Even google follow twitter,&lt;br /&gt;&lt;br /&gt;This can be seen by this, that Google has implemented the twitter follow, as google buzz in google mail box.&lt;br /&gt;&lt;br /&gt;This shows google know, the popularity of twitter.com&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.induway.com"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 180px; height: 59px;" src="http://images.pcworld.com/news/graphics/188985-google_buzz_inline_original.jpg" border="0" alt="www.induway.com" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Google is just trying to make your inbox as your admin panal of everything, means you can handle everything like contacting your friends, sending scrap to them, intracting with them and sharing feeling and makeing them aware what you are doing.&lt;br /&gt;&lt;br /&gt;Google is just make your inbox social to internet.&lt;br /&gt;&lt;br /&gt;Google's latest social media experiment came to life on Tuesday in the form of Google Buzz: a social media sharing service built into your Gmail window. Buzz will let you share photos, links, videos, and status updates through your Gmail inbox or your mobile device's Web browser.&lt;br /&gt;&lt;br /&gt;Google is still rolling out the service to all Gmail users, but if you can't wait, we have a couple of ways that you can try out Buzz right now on your desktop or smartphone.&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Indianic Infotech Ltd (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-2026918635219580499?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/2026918635219580499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=2026918635219580499&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2026918635219580499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2026918635219580499'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/02/what-is-google-buzz.html' title='What is Google Buzz ?'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-8116386744706536517</id><published>2010-02-06T20:09:00.006+05:30</published><updated>2010-02-06T20:21:05.688+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='programming tips'/><title type='text'>Failed to retrieve data for this request Error in SQL Server</title><content type='html'>SomeTimes after formating your computer, when you install sql server 2008.&lt;br /&gt;&lt;br /&gt;When you try to connect your database and click on database menu to see the list of database, you will find windows alert showing you this below error.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.induway.com/"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://4.bp.blogspot.com/_0AP8fBxcSdc/S22AajQu14I/AAAAAAAAAQs/kg3q4gpqfR8/s400/failed+to+retrive+data+for+this+request.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5435141518936430466" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;Microsoft SQL Server Management Studio&lt;br /&gt;&lt;br /&gt;Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)&lt;br /&gt;&lt;br /&gt;Additional information:&lt;br /&gt;&lt;br /&gt;An exception occurred while executing a Transact-SQl statement or batch.(Microsoft.SqlServer.COnnectionInfo)&lt;br /&gt;&lt;br /&gt;The server principal &amp;quot;DatabaseName&amp;quot; is not able to access the database &amp;quot;Birdiethis&amp;quot; under the current security context. (Microsoft SQL Server, Error:916)&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Please read below to find, how to solve this problem,&lt;br /&gt;&lt;br /&gt;There is nothing to worry about, mostly user use to uninstall sqlserver software and install it again. then also they feel same problem.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Follow this steps :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 1:&lt;/span&gt; Open your sql server 2008,connect to database.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2:&lt;/span&gt; click on view option for the top menu panel,then click to Object Explorer Details,&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.induway.com/"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://1.bp.blogspot.com/_0AP8fBxcSdc/S22Aw4_yW4I/AAAAAAAAAQ0/cCglgXu2LHM/s400/Object+Explorer+details.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5435141902728059778" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3:&lt;/span&gt; You will see a panel will open at the right hand side,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 4:&lt;/span&gt; Right click on the header part of that panel, and unselect all option, as shown in the image,&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.induway.com"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://1.bp.blogspot.com/_0AP8fBxcSdc/S22A9fQouUI/AAAAAAAAAQ8/TOMnOaASgJg/s400/unselect+collation.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5435142119157709122" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 5:&lt;/span&gt; This will solve that issue, and you can use sql server 2008 without any error.&lt;br /&gt;&lt;br /&gt;That's it,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Indianic Infotech Ltd (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-8116386744706536517?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/8116386744706536517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=8116386744706536517&amp;isPopup=true' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/8116386744706536517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/8116386744706536517'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/02/exception-occurred-while-executing.html' title='Failed to retrieve data for this request Error in SQL Server'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_0AP8fBxcSdc/S22AajQu14I/AAAAAAAAAQs/kg3q4gpqfR8/s72-c/failed+to+retrive+data+for+this+request.JPG' height='72' width='72'/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-1345765718735528950</id><published>2010-02-03T10:29:00.002+05:30</published><updated>2010-02-03T10:35:01.504+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='FTP'/><category scheme='http://www.blogger.com/atom/ns#' term='Blogger'/><title type='text'>Important: Changes to Blogger FTP Service</title><content type='html'>Google Blogger is Going to Stop its services of allowing to host your blog on FTP.&lt;br /&gt;Please read the notice below i have received one from GOOGLE.COM&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.induway.com/"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 150px; height: 40px;" src="http://www.blogger.com/img/logo40.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:georgia, serif;"&gt;&lt;span style="color:#333333;"&gt;Dear FTP  user:&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:georgia, serif;"&gt;&lt;span style="color:#333333;"&gt;You are receiving this  e-mail because one or more of your blogs at Blogger.com are set up to publish  via FTP. We recently announced a planned shut-down of FTP support on Blogger  Buzz (the official Blogger blog),  and wanted to make sure you saw the  announcement. We will be following up with more information via e-mail in the  weeks ahead, and regularly updating a blog dedicated to this service shut-down  here: &lt;a onclick="return top.js.OpenExtLink(window,event,this)" href="http://blogger-ftp.blogspot.com/" target="_blank"&gt;http://blogger-ftp.blogspot.&lt;wbr&gt;com/&lt;/a&gt;.  &lt;/span&gt;&lt;/span&gt;  &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:georgia, serif;"&gt;&lt;span style="color:#333333;"&gt;The full text of the  announcement at Blogger Buzz follows.&lt;/span&gt;&lt;/span&gt; &lt;/div&gt; &lt;blockquote style="border: medium none ; margin: 0px 0px 0px 40px;"&gt;&lt;span style="font-family:georgia, serif;"&gt;&lt;span style="color:#333333;"&gt;Last May, &lt;a title="we talked at length about a number of challenges facing Blogger users" style="color: rgb(85, 26, 139); text-decoration: none;" onclick="return top.js.OpenExtLink(window,event,this)" href="http://buzz.blogger.com/2009/05/ftp-vs-custom-domains.html" target="_blank"&gt;we discussed a number of challenges facing&lt;/a&gt;[1] Blogger users  who relied on FTP to publish their blogs. FTP remains a significant drain on our  ability to improve Blogger: &lt;b&gt;only .5% of active blogs are published via  FTP &lt;/b&gt;— yet the percentage of our engineering resources devoted to supporting  FTP vastly exceeds that. On top of this, critical infrastructure that our FTP  support relies on at Google will soon become unavailable, which would require  that we completely rewrite the code that handles our FTP  processing.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia, serif;"&gt;&lt;span style="color:#333333;"&gt;&lt;br /&gt;Three years ago we &lt;a title="launched Custom Domains three years ago" style="color: rgb(85, 26, 139); text-decoration: none;" onclick="return top.js.OpenExtLink(window,event,this)" href="http://buzz.blogger.com/2007/01/blogger-custom-domains.html" target="_blank"&gt; &lt;script&gt;&lt;!-- D(["mb","launched Custom Domains\u003c/a\u003e[2] to give users the simplicity of Blogger, the scalability of Google hosting, and the flexibility of hosting your blog at your own URL. Last year\u0026#39;s post \u003ca href\u003d\"http://buzz.blogger.com/2009/05/ftp-vs-custom-domains.html\" style\u003d\"color:#551a8b;text-decoration:none\" title\u003d\"we discussed the reasons many users remain on FTP\" target\u003d\"_blank\" onclick\u003d\"return top.js.OpenExtLink(window,event,this)\"\u003ediscussed the advantages of custom domains over FTP\u003c/a\u003e[3] and addressed a number of reasons users have continued to use FTP publishing. (If you\u0026#39;re interested in reading more about Custom Domains, our Help Center has a \u003ca href\u003d\"http://www.google.com/support/blogger/bin/answer.py?hl\u003den\u0026amp;answer\u003d55373\" style\u003d\"color:#551a8b;text-decoration:none\" title\u003d\"good overview\" target\u003d\"_blank\" onclick\u003d\"return top.js.OpenExtLink(window,event,this)\"\u003egood overview\u003c/a\u003e[4] of how to use them on your blog.) In evaluating the investment needed to continue supporting FTP, we have decided that we could not justify diverting further engineering resources away from building new features for all users.\u003c/font\u003e\u003c/font\u003e\u003cbr\u003e\n  \u003cfont face\u003d\"georgia, serif\"\u003e\u003cfont color\u003d\"#333333\"\u003e\u003cbr\u003e\n  For that reason, \u003cb\u003ewe are announcing today that we will no longer support FTP publishing in Blogger after March 26, 2010\u003c/b\u003e. We realize that this will not necessarily be welcome news for some users, and we are committed to making the transition as seamless as possible. To that end:\u003cbr\u003e\n  \u003c/font\u003e\u003c/font\u003e\u003cbr\u003e\n\n\u003c/blockquote\u003e\n\u003cul\u003e\n  \u003cul\u003e\n    \u003cli\u003e\n      \u003cfont face\u003d\"georgia, serif\"\u003e\u003cfont color\u003d\"#333333\"\u003e\u003cb\u003eWe are building a migration tool\u003c/b\u003e\u003c/font\u003e\u003c/font\u003e that will walk users through a migration from their current URL to a Blogger-managed URL (either a Custom Domain or a Blogspot URL) \u003cb\u003ethat will be available to all users the week of February 22\u003c/b\u003e. This tool will handle redirecting traffic from the old URL to the new URL, and will handle the vast majority of situations.\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003cfont face\u003d\"georgia, serif\"\u003e\u003cfont color\u003d\"#333333\"\u003e",1] );  //--&gt;&lt;/script&gt; launched Custom Domains&lt;/a&gt;[2] to give users the simplicity of Blogger, the  scalability of Google hosting, and the flexibility of hosting your blog at your  own URL. Last year's post &lt;a title="we discussed the reasons many users remain on FTP" style="color: rgb(85, 26, 139); text-decoration: none;" onclick="return top.js.OpenExtLink(window,event,this)" href="http://buzz.blogger.com/2009/05/ftp-vs-custom-domains.html" target="_blank"&gt;discussed the advantages of custom domains over FTP&lt;/a&gt;[3] and  addressed a number of reasons users have continued to use FTP publishing. (If  you're interested in reading more about Custom Domains, our Help Center has a &lt;a title="good overview" style="color: rgb(85, 26, 139); text-decoration: none;" onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.google.com/support/blogger/bin/answer.py?hl=en&amp;amp;answer=55373" target="_blank"&gt;good overview&lt;/a&gt;[4] of how to use them on your blog.) In  evaluating the investment needed to continue supporting FTP, we have decided  that we could not justify diverting further engineering resources away from  building new features for all users.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia, serif;"&gt;&lt;span style="color:#333333;"&gt;&lt;br /&gt;For that reason, &lt;b&gt;we are  announcing today that we will no longer support FTP publishing in Blogger after  March 26, 2010&lt;/b&gt;. We realize that this will not necessarily be welcome news  for some users, and we are committed to making the transition as seamless as  possible. To that end:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt; &lt;ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:georgia, serif;"&gt;&lt;span style="color:#333333;"&gt;&lt;b&gt;We are building a  migration tool&lt;/b&gt;&lt;/span&gt;&lt;/span&gt; that will walk users through a migration from  their current URL to a Blogger-managed URL (either a Custom Domain or a Blogspot  URL) &lt;b&gt;that will be available to all users the week of February 22&lt;/b&gt;. This  tool will handle redirecting traffic from the old URL to the new URL, and will  handle the vast majority of situations.  &lt;/li&gt;&lt;li&gt;&lt;span style="font-family:georgia, serif;"&gt;&lt;span style="color:#333333;"&gt; &lt;script&gt;&lt;!-- D(["mb","\u003cb\u003eWe will be providing a \u003ca href\u003d\"http://blogger-ftp.blogspot.com/\" style\u003d\"color:#551a8b;text-decoration:none\" title\u003d\"dedicated blog\" target\u003d\"_blank\" onclick\u003d\"return top.js.OpenExtLink(window,event,this)\"\u003ededicated blog\u003c/a\u003e[5] and help documentation\u003c/b\u003e\u003c/font\u003e\u003c/font\u003e\n\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003cfont face\u003d\"georgia, serif\"\u003e\u003cfont color\u003d\"#333333\"\u003e\u003cb\u003eBlogger team members will also be available to answer questions on the forum, comments on the blog, and in a few scheduled conference calls once the tool is released\u003c/b\u003e\u003c/font\u003e\u003c/font\u003e.\n    \u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/ul\u003e\n\u003cblockquote style\u003d\"border:none;margin:0 0 0 40px\"\u003e\n  \u003cbr\u003e\n  \u003cfont face\u003d\"georgia, serif\"\u003e\u003cfont color\u003d\"#333333\"\u003eWe have a number of big releases planned in 2010. While we recognize that this decision will frustrate some users, we look forward to showing you the many great things on the way. Thanks for using Blogger.\u003c/font\u003e\u003c/font\u003e\n\n\u003c/blockquote\u003e\n\u003cdiv style\u003d\"text-align:auto\"\u003e\n  \u003cbr\u003e\n\u003c/div\u003e\n\u003cdiv style\u003d\"text-align:left\"\u003e\n  Regards,\n\u003c/div\u003e\n\u003cdiv style\u003d\"text-align:left\"\u003e\n  \u003cbr\u003e\n\u003c/div\u003e\n\u003cdiv style\u003d\"text-align:left\"\u003e\n  Rick Klau\n\u003c/div\u003e\n\n\u003cdiv style\u003d\"text-align:left\"\u003e\n  Blogger Product Manager\n\u003c/div\u003e\n\u003cdiv style\u003d\"text-align:left\"\u003e\n  Google\n\u003c/div\u003e\n\u003cdiv style\u003d\"text-align:left\"\u003e\n  1600 Amphitheatre Parkway\n\u003c/div\u003e\n\u003cdiv style\u003d\"text-align:left\"\u003e\n  Mountain View, CA 94043\n\u003c/div\u003e\n\u003cdiv style\u003d\"text-align:left\"\u003e\n\n  \u003cbr\u003e\n\u003c/div\u003e\n\u003cdiv style\u003d\"text-align:left\"\u003e\n  [1] \u003ca href\u003d\"http://buzz.blogger.com/2009/05/ftp-vs-custom-domains.html\" target\u003d\"_blank\" onclick\u003d\"return top.js.OpenExtLink(window,event,this)\"\u003ehttp://buzz.blogger.com/2009/\u003cWBR\u003e05/ftp-vs-custom-domains.html\u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv style\u003d\"text-align:left\"\u003e\n  [2] \u003ca href\u003d\"http://buzz.blogger.com/2007/01/blogger-custom-domains.html\" target\u003d\"_blank\" onclick\u003d\"return top.js.OpenExtLink(window,event,this)\"\u003ehttp://buzz.blogger.com/2007/\u003cWBR\u003e01/blogger-custom-domains.html\u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv style\u003d\"text-align:left\"\u003e\n  [3] \u003ca href\u003d\"http://buzz.blogger.com/2009/05/ftp-vs-custom-domains.html\" target\u003d\"_blank\" onclick\u003d\"return top.js.OpenExtLink(window,event,this)\"\u003e",1] );  //--&gt;&lt;/script&gt; &lt;b&gt;We will be providing a &lt;a title="dedicated blog" style="color: rgb(85, 26, 139); text-decoration: none;" onclick="return top.js.OpenExtLink(window,event,this)" href="http://blogger-ftp.blogspot.com/" target="_blank"&gt;dedicated blog&lt;/a&gt;[5] and  help documentation&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li&gt;&lt;span style="font-family:georgia, serif;"&gt;&lt;span style="color:#333333;"&gt;&lt;b&gt;Blogger team members will  also be available to answer questions on the forum, comments on the blog, and in  a few scheduled conference calls once the tool is released&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;.  &lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt; &lt;blockquote style="border: medium none ; margin: 0px 0px 0px 40px;"&gt;&lt;br /&gt;&lt;span style="font-family:georgia, serif;"&gt;&lt;span style="color:#333333;"&gt;We have a number of big releases  planned in 2010. While we recognize that this decision will frustrate some  users, we look forward to showing you the many great things on the way. Thanks  for using Blogger.&lt;/span&gt;&lt;/span&gt; &lt;/blockquote&gt; &lt;div&gt;&lt;br /&gt;&lt;/div&gt; &lt;div style="text-align: left;"&gt;Regards, &lt;/div&gt; &lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt; &lt;div style="text-align: left;"&gt;Rick Klau &lt;/div&gt; &lt;div style="text-align: left;"&gt;Blogger Product Manager &lt;/div&gt; &lt;div style="text-align: left;"&gt;Google &lt;/div&gt; &lt;div style="text-align: left;"&gt;1600 Amphitheatre Parkway &lt;/div&gt; &lt;div style="text-align: left;"&gt;Mountain View, CA 94043 &lt;/div&gt; &lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt; &lt;div style="text-align: left;"&gt;[1] &lt;a onclick="return top.js.OpenExtLink(window,event,this)" href="http://buzz.blogger.com/2009/05/ftp-vs-custom-domains.html" target="_blank"&gt;http://buzz.blogger.com/2009/&lt;wbr&gt;05/ftp-vs-custom-domains.html&lt;/a&gt;  &lt;/div&gt; &lt;div style="text-align: left;"&gt;[2] &lt;a onclick="return top.js.OpenExtLink(window,event,this)" href="http://buzz.blogger.com/2007/01/blogger-custom-domains.html" target="_blank"&gt;http://buzz.blogger.com/2007/&lt;wbr&gt;01/blogger-custom-domains.html&lt;/a&gt;  &lt;/div&gt; &lt;div style="text-align: left;"&gt;[3] &lt;a onclick="return top.js.OpenExtLink(window,event,this)" href="http://buzz.blogger.com/2009/05/ftp-vs-custom-domains.html" target="_blank"&gt; &lt;script&gt;&lt;!-- D(["mb","http://buzz.blogger.com/2009/\u003cWBR\u003e05/ftp-vs-custom-domains.html\u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv style\u003d\"text-align:left\"\u003e\n  [4] \u003ca href\u003d\"http://www.google.com/support/blogger/bin/answer.py?hl\u003den\u0026amp;answer\u003d55373\" target\u003d\"_blank\" onclick\u003d\"return top.js.OpenExtLink(window,event,this)\"\u003ehttp://www.google.com/support/\u003cWBR\u003eblogger/bin/answer.py?hl\u003den\u0026amp;\u003cWBR\u003eanswer\u003d55373\u003c/a\u003e\n\n\u003c/div\u003e\n\u003cdiv style\u003d\"text-align:left\"\u003e\n  [5] \u003ca href\u003d\"http://blogger-ftp.blogspot.com/\" target\u003d\"_blank\" onclick\u003d\"return top.js.OpenExtLink(window,event,this)\"\u003ehttp://blogger-ftp.blogspot.\u003cWBR\u003ecom/\u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv style\u003d\"text-align:left\"\u003e\n  \u003cbr\u003e\n\u003c/div\u003e\n\u003cdiv style\u003d\"text-align:left\"\u003e\n  ----\n\u003c/div\u003e\n\u003cdiv style\u003d\"text-align:left\"\u003e\n  This e-mail is being sent to notify you of important changes to your Blogger account.\n\u003c/div\u003e\n\n\u003cbr\u003e\u003c/div\u003e\n\u003c/span\u003e\u003c/div\u003e",0] ); D(["ce"]);  //--&gt;&lt;/script&gt; http://buzz.blogger.com/2009/&lt;wbr&gt;05/ftp-vs-custom-domains.html&lt;/a&gt; &lt;/div&gt; &lt;div style="text-align: left;"&gt;[4] &lt;a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.google.com/support/blogger/bin/answer.py?hl=en&amp;amp;answer=55373" target="_blank"&gt;http://www.google.com/support/&lt;wbr&gt;blogger/bin/answer.py?hl=en&amp;amp;&lt;wbr&gt;answer=55373&lt;/a&gt;  &lt;/div&gt; &lt;div style="text-align: left;"&gt;[5] &lt;a onclick="return top.js.OpenExtLink(window,event,this)" href="http://blogger-ftp.blogspot.com/" target="_blank"&gt;http://blogger-ftp.blogspot.&lt;wbr&gt;com/&lt;/a&gt; &lt;/div&gt; &lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt; &lt;div style="text-align: left;"&gt;---- &lt;/div&gt; &lt;div style="text-align: left;"&gt;This e-mail is being sent to notify you of  important changes to your Blogger account. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-1345765718735528950?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/1345765718735528950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=1345765718735528950&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1345765718735528950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1345765718735528950'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/02/important-changes-to-blogger-ftp.html' title='Important: Changes to Blogger FTP Service'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-8322138874040306798</id><published>2010-01-25T15:54:00.000+05:30</published><updated>2010-01-25T15:56:04.719+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='addons'/><category scheme='http://www.blogger.com/atom/ns#' term='Yahoo Toolbar'/><category scheme='http://www.blogger.com/atom/ns#' term='Browser'/><title type='text'>Solution of Mouse Right Click Not working in firefox</title><content type='html'>This offen happen, when you install Yahoo toolbar addon to firefox 3.5 version.&lt;br /&gt;&lt;br /&gt;The solution to this issue is &lt;br /&gt;&lt;br /&gt;1.Goto Tools option of firefox &lt;br /&gt;&lt;br /&gt;2.click on Add-ons&lt;br /&gt;&lt;br /&gt;3.Click on the extension section&lt;br /&gt;&lt;br /&gt;4.You will find Yahoo toolbar, Disable it or uninstall it.&lt;br /&gt;&lt;br /&gt;5.Then restart your firefox.&lt;br /&gt;&lt;br /&gt;You will find your mouse right click working fine,&lt;br /&gt;&lt;br /&gt;Enjoy saving image and opening lots of tabs using mouse right click in browser.&lt;br /&gt;&lt;br /&gt;This will solve your Mouse Right Click Not working in firefox issue.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;Indianic Infotech Ltd (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-8322138874040306798?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/8322138874040306798/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=8322138874040306798&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/8322138874040306798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/8322138874040306798'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2010/01/solution-of-mouse-right-click-not.html' title='Solution of Mouse Right Click Not working in firefox'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-1449636716853383597</id><published>2009-12-31T17:38:00.006+05:30</published><updated>2009-12-31T17:44:18.202+05:30</updated><title type='text'>Wish you Happy New Year 2010 from Asp.Net Developer's Group</title><content type='html'>&lt;div id="card_block" align="center"&gt;&lt;br /&gt;&lt;br /&gt;  &lt;object data="http://i.123g.us/flash/CardShell.swf" name="swf_cardswf" id="swf_cardswf" type="application/x-shockwave-flash" height="350" width="500"&gt;&lt;param value="false" name="menu"&gt;&lt;param value="always" name="allowscriptaccess"&gt;&lt;param value="transparent" name="wmode"&gt;&lt;param value="high" name="quality"&gt;&lt;param value="&amp;amp;ldrName=http://c.123g.us/flash/branded_loader.swf&amp;amp;crdName=http://i.123g.us/c/ejan_ny_fireworks/card/108440.swf" name="flashvars"&gt;&lt;/object&gt;&lt;br /&gt;  &lt;br /&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/8764046518411157827-1449636716853383597?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/1449636716853383597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=1449636716853383597&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1449636716853383597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1449636716853383597'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/12/wish-you-happy-new-year-2010-from.html' title='Wish you Happy New Year 2010 from Asp.Net Developer&apos;s Group'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-1942659646315926433</id><published>2009-12-16T16:50:00.002+05:30</published><updated>2009-12-16T16:52:43.236+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Demo'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Payment gateway'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><title type='text'>How to integrate Nochex Payment Gateway in C# ?</title><content type='html'>Solution : &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 1&lt;/span&gt; : Create one project in visual studio, and add below code in the HTML code of default.aspx page.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;table class=&amp;quot;productholder&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; cellspacing=&amp;quot;0&amp;quot; width=&amp;quot;600&amp;quot;&amp;gt;&lt;br /&gt;        &amp;lt;tbody&amp;gt;&lt;br /&gt;            &amp;lt;tr&amp;gt;&lt;br /&gt;                &amp;lt;td valign=&amp;quot;top&amp;quot;&amp;gt;&lt;br /&gt;                    &amp;lt;h1&amp;gt;&lt;br /&gt;                        Micro Helicopter&amp;lt;/h1&amp;gt;&lt;br /&gt;                    &amp;lt;h2&amp;gt;&lt;br /&gt;                        Super Cool remote control copter!&amp;lt;/h2&amp;gt;&lt;br /&gt;                    &amp;lt;p&amp;gt;&lt;br /&gt;                        An absolute must for all gadget heads - this amazing remote control copter is the&lt;br /&gt;                        business. Just like what Nochex does for your business &amp;#8211; this beauty will take you&lt;br /&gt;                        to another level. Be a chopper pilot!&lt;br /&gt;                    &amp;lt;/p&amp;gt;&lt;br /&gt;                &amp;lt;/td&amp;gt;&lt;br /&gt;                &amp;lt;td valign=&amp;quot;top&amp;quot;&amp;gt;&lt;br /&gt;                    &amp;lt;img src=&amp;quot;http://www.ukgadgetsrus.com/images/productimage-copter.gif&amp;quot; alt=&amp;quot;Helecopter&amp;quot;&lt;br /&gt;                        height=&amp;quot;138&amp;quot; width=&amp;quot;137&amp;quot; /&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;                &amp;lt;td valign=&amp;quot;top&amp;quot;&amp;gt;&lt;br /&gt;                    &amp;lt;span class=&amp;quot;stock&amp;quot;&amp;gt;In stock&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;                    &amp;lt;span class=&amp;quot;prices&amp;quot;&amp;gt;RRP &amp;#163;59.99&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;                    &amp;lt;span class=&amp;quot;prices2&amp;quot;&amp;gt;Our Price &amp;#163;39.99 &amp;lt;/span&amp;gt;&lt;br /&gt;                    &amp;lt;form action=&amp;quot;https://www.nochex.com/nochex.dll/checkout&amp;quot; method=&amp;quot;post&amp;quot;&amp;gt;&lt;br /&gt;                        &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;                            &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;email&amp;quot; size=&amp;quot;64&amp;quot; value=&amp;quot;xyz@xyz.com&amp;quot;&amp;gt;&lt;br /&gt;                            &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;amount&amp;quot; size=&amp;quot;8&amp;quot; value=&amp;quot;39.99&amp;quot;&amp;gt;&lt;br /&gt;                            &amp;lt;br&amp;gt;&lt;br /&gt;                            &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;logo&amp;quot; size=&amp;quot;64&amp;quot;&amp;gt;&lt;br /&gt;                            &amp;lt;br&amp;gt;&lt;br /&gt;                            &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;returnurl&amp;quot; value=&amp;quot;http://localhost:1856/Nochex%20Payment%20Gateway%20Example/default.aspx&amp;quot; /&amp;gt;&lt;br /&gt;                            &amp;lt;input name=&amp;quot;image&amp;quot; type=&amp;quot;image&amp;quot; src=&amp;quot;http://support.nochex.com/web/images/cardsboth2.gif&amp;quot;&lt;br /&gt;                                alt=&amp;quot;I accept payment using NOCHEX&amp;quot; /&amp;gt;&lt;br /&gt;                        &amp;lt;/div&amp;gt;&lt;br /&gt;                    &amp;lt;/form&amp;gt;&lt;br /&gt;                &amp;lt;/td&amp;gt;&lt;br /&gt;            &amp;lt;/tr&amp;gt;&lt;br /&gt;        &amp;lt;/tbody&amp;gt;&lt;br /&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2&lt;/span&gt; : In the code you need to change the email value to your account email id, please replace that.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3&lt;/span&gt; : Set value of amount, logo and returnurl according to your product details.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 4&lt;/span&gt; : thats it, you have done with payment integration.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 5&lt;/span&gt; : Just select visa option for example and carry on with this credit card : 4111111111111111 and set issue number to 12 and Security number to 123.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 6&lt;/span&gt; : Continue with the payment, after doing payment successfull, nochex website will return you to your return url.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 7&lt;/span&gt; : Such a simple way to integrate Nochex payment gateway.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 8&lt;/span&gt; : if you are satisfied with my explaination above, please put comment for me or if you feel any difficulties please put question as comment, i will reply to your question.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Please find Demo below&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Merchant Payment Demo&lt;br /&gt;http://www.ukgadgetsrus.com/merchant-payment-page.html&lt;br /&gt;&lt;br /&gt;Seller Payment Demo&lt;br /&gt;http://www.ukgadgetsrus.com/seller-payment-page.html&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://www.indianic.com"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-1942659646315926433?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/1942659646315926433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=1942659646315926433&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1942659646315926433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1942659646315926433'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/12/how-to-integrate-nochex-payment-gateway.html' title='How to integrate Nochex Payment Gateway in C# ?'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-211070833173672321</id><published>2009-12-14T14:51:00.000+05:30</published><updated>2009-12-14T14:52:45.637+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WWW'/><category scheme='http://www.blogger.com/atom/ns#' term='Meta Tags'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='Browser'/><category scheme='http://www.blogger.com/atom/ns#' term='How to'/><title type='text'>How to refresh a page at regular interval of time ?</title><content type='html'>Solution :&lt;br /&gt;&lt;br /&gt;It seems to be very tough task to do this, but acutaly it is not.&lt;br /&gt;&lt;br /&gt;you can do this by adding one line code in your HTML code.&lt;br /&gt;&lt;br /&gt;you just have to put meta tags in &amp;lt;head&amp;gt; part of your html code.&lt;br /&gt;&lt;br /&gt;Please find the code below showing, where you need to put the code to refresh a page at regular interval of time.&lt;br /&gt;&lt;br /&gt;To change the time interval, you just have to change the CONTENT value, currently i have placed 3, change accouring to your need.&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;head runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;title&amp;gt;Asp.Net Developer, Resource mall for developer&amp;lt;/title&amp;gt;&lt;br /&gt;    &amp;lt;META HTTP-EQUIV=&amp;quot;Refresh&amp;quot; CONTENT=&amp;quot;3;URL=http://www.rajeshssingh.blogspot.com/&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://www.indianic.com/"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-211070833173672321?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/211070833173672321/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=211070833173672321&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/211070833173672321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/211070833173672321'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/12/how-to-refresh-page-at-regular-interval.html' title='How to refresh a page at regular interval of time ?'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-4783689848752760463</id><published>2009-12-14T14:50:00.002+05:30</published><updated>2009-12-14T14:54:13.455+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WWW'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='Browser'/><category scheme='http://www.blogger.com/atom/ns#' term='How to'/><title type='text'>How to add www prefix to my domain name in address bar ?</title><content type='html'>Solution :&lt;br /&gt;&lt;br /&gt;Mostly User dont type "www" before our domain name, either they are searching in google or directly into address bar of browser.&lt;br /&gt;&lt;br /&gt;for example, user type "indianic.com" in address bar of browser.&lt;br /&gt;&lt;br /&gt;then the url of our website looks like this "http://indianic.com", this really looks odd.&lt;br /&gt;&lt;br /&gt;what if our URL automatically redirect to http://www.indianic.com, Yes now its look nice and seo friendly. &lt;br /&gt;&lt;br /&gt;This is possible, by adding just below code in your page load event in c#.&lt;br /&gt;&lt;br /&gt;For other languages developer, need not need to worry, this is simple "if condition", you can easlily covert it into your language.&lt;br /&gt;&lt;br /&gt;Please find below sample code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;    {&lt;br /&gt;        if (Request.ServerVariables[&amp;quot;SERVER_NAME&amp;quot;] != &amp;quot;localhost&amp;quot;)&lt;br /&gt;        {&lt;br /&gt;&lt;br /&gt;            if (sCheckUrl.IndexOf(&amp;quot;http://&amp;quot;) == 0)&lt;br /&gt;            {&lt;br /&gt;                if (sCheckUrl.IndexOf(&amp;quot;http://www.&amp;quot;) != 0)&lt;br /&gt;                {&lt;br /&gt;                    Response.Redirect(sCheckUrl.Replace(&amp;quot;http://indianic&amp;quot;, &amp;quot;http://www.indianic&amp;quot;));&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;            else if (sCheckUrl.IndexOf(&amp;quot;https://&amp;quot;) == 0)&lt;br /&gt;            {&lt;br /&gt;                if (sCheckUrl.IndexOf(&amp;quot;https://www.&amp;quot;) != 0)&lt;br /&gt;                {&lt;br /&gt;                    Response.Redirect(sCheckUrl.Replace(&amp;quot;http://indianic&amp;quot;, &amp;quot;http://www.indianic&amp;quot;));&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://www.indianic.com"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-4783689848752760463?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/4783689848752760463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=4783689848752760463&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/4783689848752760463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/4783689848752760463'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/12/how-to-add-www-prefix-to-my-domain-name.html' title='How to add www prefix to my domain name in address bar ?'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-7436859768468068371</id><published>2009-12-05T10:23:00.018+05:30</published><updated>2009-12-08T10:47:48.295+05:30</updated><title type='text'>Google running AdWords ads in Newspapers</title><content type='html'>&lt;br/&gt;&lt;table width="630px" align="left"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign="top" align="left" width="270px"&gt;&lt;div&gt;        Google running AdWords ads in newspapers&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;        Please see this picture to see at which column of newspaper show google ads.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;        &lt;/div&gt;&lt;div&gt;        Google has shown its ads in the Dec 12 sports section of the Sun-Times.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;        &lt;/div&gt;&lt;div&gt;        I dont know, how google is going to make track of Pay Per Click (PPC) or Pay Per View (PPV).&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;        &lt;/div&gt;&lt;div&gt;        I guess, Now the googles next step would be, how to show google search engine in Newspapers.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;        &lt;/div&gt;&lt;div&gt;        Imagine the day, you woke up in morning and you are getting late for the office and you just picked up the newspaper and typed your keyword in the search column of newspaper and you find your search without wasting time.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;         &lt;/div&gt;&lt;div&gt;         Imagine the day that would be, Hope the google get this feature soon in newspaper.&lt;/div&gt;&lt;div&gt;        &lt;/div&gt;&lt;/td&gt;&lt;td width="300px" align="left"&gt;&lt;div&gt;        &lt;img src="http://www.chicagobusiness.com/images/random/og010906m.gif" /&gt;&lt;/div&gt;&lt;div&gt;        &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span class="Apple-style-span"   style="  color: rgb(51, 51, 51); line-height: 16px; font-family:Verdana, Arial, sans-serif;font-size:13px;"&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://indianic.com/" style="color: rgb(51, 102, 153); "&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-7436859768468068371?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/7436859768468068371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=7436859768468068371&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7436859768468068371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7436859768468068371'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/12/google-running-adwords-ads-in.html' title='Google running AdWords ads in Newspapers'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-943332007584249400</id><published>2009-12-05T09:49:00.004+05:30</published><updated>2009-12-08T14:57:38.268+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='global.asax'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Web.config'/><title type='text'>Get variables from web.config and global.asax</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;There are two methods, you can assign variable at one place and call it from through out the website.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The first is, Declare the variable in web.config and call it in any aspx.cs page and the second is, Declare the variable in global.asax and call it in any aspx.cs page.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The first one is very usefull because you can edit it directly form the FTP editor.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Please find explanation and code of both method below,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#FF0000;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#FF0000;"&gt;&lt;b&gt;First Method:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;web.config&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;code&gt;&lt;div&gt;&amp;lt;appSettings&amp;gt;&lt;/div&gt;&lt;div&gt;  &amp;lt;add key="siteurl" value="www.indianic.com"/&amp;gt;&lt;/div&gt;&lt;div&gt;  &amp;lt;add key="TempDir" value="./uploads"/&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/appSettings&amp;gt;&lt;/div&gt;&lt;/code&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;Default.aspx.cs&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;code&gt;&lt;div&gt;ConfigurationSettings.AppSettings["siteurl"].ToString();&lt;/div&gt;&lt;div&gt;ConfigurationSettings.AppSettings["TempDir"].ToString();&lt;/div&gt;&lt;/code&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#FF0000;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#FF0000;"&gt;&lt;b&gt;Second Method:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;global.asax&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;code&gt;&lt;div&gt;void Session_Start(object sender, EventArgs e) &lt;/div&gt;&lt;div&gt;    {&lt;/div&gt;&lt;div&gt;       // Code that runs when a new session is started&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;       Application["siteurl"] = "www.indianic.com";&lt;/div&gt;&lt;div&gt;       Application["TempDir"] = "./uploads";&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;/code&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;Default.aspx.cs&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;code&gt;&lt;div&gt;string smtphost = Application["siteurl"].ToString();&lt;/div&gt;&lt;div&gt;string userid = Application["TempDir"].ToString();&lt;/div&gt;&lt;/code&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Please use any of the above method which is needed in your application.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; color: rgb(51, 51, 51); line-height: 16px; "&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://indianic.com/" style="color: rgb(51, 102, 153); "&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&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/8764046518411157827-943332007584249400?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/943332007584249400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=943332007584249400&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/943332007584249400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/943332007584249400'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/12/get-variables-from-webconfig-and.html' title='Get variables from web.config and global.asax'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-2996241228850650586</id><published>2009-12-01T12:37:00.002+05:30</published><updated>2009-12-08T14:57:44.931+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Design'/><title type='text'>How to align two div in same row ?</title><content type='html'>This is one of the Issue which make developer to pull His/Her Hair,&lt;br /&gt;&lt;br /&gt;To align two div in same row, is really very simple, after you know, how it is done.&lt;br /&gt;&lt;br /&gt;See the Demo below,&lt;br /&gt;&lt;br /&gt;Code :&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&amp;lt;div&amp;gt;Rajesh&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;Singh&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Output :&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;Rajesh&lt;br /&gt;Singh&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Solution to this Problem,&lt;br /&gt;&lt;br /&gt;Code :&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&amp;lt;div style=&amp;quot;float:left;&amp;quot;&amp;gt;Rajesh&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;Singh&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Output :&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;RajeshSingh&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://indianic.com/"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-2996241228850650586?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/2996241228850650586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=2996241228850650586&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2996241228850650586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/2996241228850650586'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/12/how-to-align-two-div-in-same-row.html' title='How to align two div in same row ?'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-1547072456115437070</id><published>2009-11-24T16:02:00.003+05:30</published><updated>2009-12-08T14:57:52.220+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>How to use Trim() Function in SQL server 2005 ?</title><content type='html'>There is no perticular function like Trim in SQL server but you can achieve Trim like functionality by doing Left Trim and Right Trim, to get complete trimed Text.&lt;br /&gt;&lt;br /&gt;LTRIM is used to : Trim Text form left hand side or in other word remove space form left hand side.&lt;br /&gt;RTRIM is used to : Trim Text from Right hand side or in other word remove space form Right hand side.&lt;br /&gt;&lt;br /&gt;Example :&lt;br /&gt;&lt;br /&gt;You can Use this query directly in SQL Server 2005&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;SELECT    *&lt;br /&gt;FROM    view_rapdata_full_member_pull&lt;br /&gt;WHERE    LTRIM(RTRIM(First_Name)) +' '+ LTRIM(RTRIM(Last_Name))&lt;br /&gt;       like '%Rajesh Singh%'&lt;br /&gt;       or&lt;br /&gt;       LTRIM(RTRIM(Last_Name)) +' '+ LTRIM(RTRIM(First_Name))&lt;br /&gt;       like '%&lt;/code&gt;&lt;code&gt;Rajesh Singh&lt;/code&gt;&lt;code&gt;%'&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can Use this query in C# code to make search.&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;SELECT    *&lt;br /&gt;FROM    view_rapdata_full_member_pull&lt;br /&gt;WHERE    LTRIM(RTRIM(First_Name)) +' '+ LTRIM(RTRIM(Last_Name))&lt;br /&gt;       like '%" + txtsearch.Text + "%'&lt;br /&gt;       or&lt;br /&gt;       LTRIM(RTRIM(Last_Name)) +' '+ LTRIM(RTRIM(First_Name))&lt;br /&gt;       like '%" + txtsearch.Text + "%'&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://indianic.com/"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-1547072456115437070?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/1547072456115437070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=1547072456115437070&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1547072456115437070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1547072456115437070'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/11/how-to-use-trim-function-in-sql-server.html' title='How to use Trim() Function in SQL server 2005 ?'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-3947984074764876969</id><published>2009-11-23T16:40:00.002+05:30</published><updated>2009-12-08T14:57:58.000+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='programming tips'/><title type='text'>How to stop right clicking of mouse on my web page ?</title><content type='html'>You can just put single line code in body tag, to stop copy your website content and copy your image.&lt;br /&gt;&lt;br /&gt;Here is the code&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;&amp;lt;BODY oncontextmenu="return false"&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://indianic.com/"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-3947984074764876969?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/3947984074764876969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=3947984074764876969&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/3947984074764876969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/3947984074764876969'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/11/how-to-stop-right-clicking-of-mouse-on.html' title='How to stop right clicking of mouse on my web page ?'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-3033007714251432758</id><published>2009-11-21T10:35:00.002+05:30</published><updated>2009-12-08T14:58:04.646+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google image swirl'/><title type='text'>How to make search in google image swirl ?</title><content type='html'>As the face of the world is changing, with respect to that, the technology is also changing and different technology are been found to cope up with this changing world. one of such change is in the world of image search.&lt;br /&gt;&lt;br /&gt;Once again google has strike the world with the new technique to make your image search, this is called google image swirl.&lt;br /&gt;&lt;br /&gt;Please try this, it will give you different experience to search image in google.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://erictric.com/wp-content/uploads/2009/11/Google-Image-Swirl-Boston-Skyline.jpg" alt="make image search in google image swirl" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have tried this and Please follow steps to find, how to make search in google image swirl search.&lt;br /&gt;&lt;br /&gt;The main logic of this google swirl search is, there is only one parent and this parent has so many child.&lt;br /&gt;&lt;br /&gt;Try out demo of google image swirl.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here i have made image search for keyword "india" and i got this page&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://image-swirl.googlelabs.com/html?query=india#"&gt;Parent images&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;then i have clicked on one of the image in the  above list.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://image-swirl.googlelabs.com/html?query=india#360"&gt;Child 1 images&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;like wise i have clicked on one of the child of the parent.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://image-swirl.googlelabs.com/html?query=india#394"&gt;Child 1.1 images&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://image-swirl.googlelabs.com/html?query=india#415"&gt;Child 1.1.1 images&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://image-swirl.googlelabs.com/html?query=india#420"&gt;Child 1.1.1.1 images&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To return back to parent, click on the parent images shown back to the search page.then you will return back to&lt;br /&gt;&lt;br /&gt;parent.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://image-swirl.googlelabs.com/html?query=india#"&gt;Parent images&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://indianic.com/"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-3033007714251432758?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/3033007714251432758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=3033007714251432758&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/3033007714251432758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/3033007714251432758'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/11/how-to-make-search-in-google-image.html' title='How to make search in google image swirl ?'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-7308537638411047653</id><published>2009-11-12T14:20:00.004+05:30</published><updated>2009-12-08T14:58:10.435+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google Ad manager'/><category scheme='http://www.blogger.com/atom/ns#' term='Google Adsense'/><title type='text'>Open Google Adsense ads in new Window safely</title><content type='html'>&lt;p&gt;I read on many forums about how we can open Google Adsense Ads in new window. This is not possible directly through Adsense but if you use Google Ad manager you can easily achieve to Open Google Adsense in new Window safely.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Import your Adsense Code into Google Ad manager and have the option in Google Ad manager to open urls in new Window. Now replace your existing Adsense code with the Google Ad Manager code and you would see that your Adsense Ads now Open in a new Window. Do not try seeing it on your own ads units but you can verify it. If you see a special icon near the bottom left of your ad units they would open in new window like in the figure below.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;img class="aligncenter size-full wp-image-896" title="adsense-new-window" src="http://www.codeitwell.com/wp-content/uploads/2009/01/adsense-new-window.gif" alt="Open Google Adsense in new Window safely" height="100" width="569" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;This should be pretty safe as both AdManager and Adsense are Google product and well integrated with each other.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;To view demo of such site on which this techique is used, Please visit &lt;a target="_blank" href="http://www.nytimes.com/"&gt;Demo&lt;/a&gt; and click on the ads on this website.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-7308537638411047653?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/7308537638411047653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=7308537638411047653&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7308537638411047653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/7308537638411047653'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/11/open-google-adsense-in-new-window.html' title='Open Google Adsense ads in new Window safely'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-4730847761063345492</id><published>2009-11-09T13:11:00.001+05:30</published><updated>2009-12-08T14:58:15.777+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ROBOTS'/><category scheme='http://www.blogger.com/atom/ns#' term='MasterPage'/><category scheme='http://www.blogger.com/atom/ns#' term='Keywords'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='SEO'/><category scheme='http://www.blogger.com/atom/ns#' term='child Page'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='Description'/><title type='text'>Simple way to add title, Meta and description tags in child page of masterpage in C#</title><content type='html'>Create visual studio project and Add two Masterpage.aspx and test.aspx in it.&lt;br /&gt;&lt;br /&gt;Open Masterpage.aspx and add this below code in Head tags.&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&amp;lt;head id=&amp;quot;head1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;title&amp;gt;Master Title&amp;lt;/title&amp;gt;&lt;br /&gt;    &amp;lt;meta id=&amp;quot;Keywords&amp;quot; runat=&amp;quot;server&amp;quot; content=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;    &amp;lt;meta id=&amp;quot;Description&amp;quot; runat=&amp;quot;server&amp;quot; content=&amp;quot;&amp;quot; /&amp;gt;&lt;br /&gt;    &amp;lt;meta name=&amp;quot;language&amp;quot; content=&amp;quot;english, EN&amp;quot; /&amp;gt;&lt;br /&gt;    &amp;lt;meta name=&amp;quot;revisit-after&amp;quot; content=&amp;quot;3 Days&amp;quot; /&amp;gt;&lt;br /&gt;    &amp;lt;meta name=&amp;quot;ROBOTS&amp;quot; content=&amp;quot;all&amp;quot; /&amp;gt;&lt;br /&gt;    &amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=iso-8859-1&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;then open test.aspx page and add below code in code behind in page load&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;    {&lt;br /&gt;        HtmlHead masterhead = (HtmlHead)Master.FindControl(&amp;quot;head1&amp;quot;);&lt;br /&gt;        masterhead.Title = &amp;quot;test title&amp;quot;;&lt;br /&gt;&lt;br /&gt;        HtmlMeta Keywords = (HtmlMeta)Master.FindControl(&amp;quot;Keywords&amp;quot;);&lt;br /&gt;        Keywords.Name = &amp;quot;keywords&amp;quot;;&lt;br /&gt;        Keywords.Content = &amp;quot;test keywords,welcome to test keywords&amp;quot;;&lt;br /&gt;&lt;br /&gt;        HtmlMeta description = (HtmlMeta)Master.FindControl(&amp;quot;Description&amp;quot;);&lt;br /&gt;        description.Name = &amp;quot;Description&amp;quot;;&lt;br /&gt;        description.Content = &amp;quot;This is the test page description&amp;quot;;&lt;br /&gt;    }&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;by using above method, you can easily add title, Meta and description tags in child page of masterpage in C#.&lt;br /&gt;&lt;br /&gt;Output of test.aspx, you can right click on browser and view the source, you will find all the meta keyword added in this page&lt;br /&gt;&lt;br /&gt;test.aspx&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;head id=&amp;quot;ctl00_head1&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;title&amp;gt;test title &amp;lt;/title&amp;gt;&lt;br /&gt;    &amp;lt;meta id=&amp;quot;ctl00_Keywords&amp;quot; name=&amp;quot;keywords&amp;quot; content=&amp;quot;test keywords,welcome to test keywords&amp;quot; /&amp;gt;&lt;br /&gt;    &amp;lt;meta id=&amp;quot;ctl00_Description&amp;quot; name=&amp;quot;Description&amp;quot; content=&amp;quot;This is the test page description&amp;quot; /&amp;gt;&lt;br /&gt;    &amp;lt;meta name=&amp;quot;language&amp;quot; content=&amp;quot;english, EN&amp;quot; /&amp;gt;&lt;br /&gt;    &amp;lt;meta name=&amp;quot;revisit-after&amp;quot; content=&amp;quot;3 Days&amp;quot; /&amp;gt;&lt;br /&gt;    &amp;lt;meta name=&amp;quot;ROBOTS&amp;quot; content=&amp;quot;all&amp;quot; /&amp;gt;&lt;br /&gt;    &amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=iso-8859-1&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;    &amp;lt;form name=&amp;quot;aspnetForm&amp;quot; method=&amp;quot;post&amp;quot; action=&amp;quot;test.aspx&amp;quot; id=&amp;quot;aspnetForm&amp;quot;&amp;gt;&lt;br /&gt;        &amp;lt;div&amp;gt;&lt;br /&gt;            &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;__VIEWSTATE&amp;quot; id=&amp;quot;__VIEWSTATE&amp;quot; value=&amp;quot;/wEPDwULLTEwMDUyNjYzMjgPZBYCZg9kFgICAQ9kFgQCAQ8WBB4EbmFtZQUIa2V5d29yZHMeB2NvbnRlbnQFJnRlc3Qga2V5d29yZHMsd2VsY29tZSB0byB0ZXN0IGtleXdvcmRzZAICDxYEHwAFC0Rlc2NyaXB0aW9uHwEFIVRoaXMgaXMgdGhlIHRlc3QgcGFnZSBkZXNjcmlwdGlvbmRkrw2tXR7g0Lii+IR8lS9SlJoCF/Y=&amp;quot; /&amp;gt;&lt;br /&gt;        &amp;lt;/div&amp;gt;&lt;br /&gt;        &amp;lt;div&amp;gt;&lt;br /&gt;           &lt;br /&gt;        &amp;lt;/div&amp;gt;&lt;br /&gt;    &amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://indianic.com/"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-4730847761063345492?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/4730847761063345492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=4730847761063345492&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/4730847761063345492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/4730847761063345492'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/11/simple-way-to-add-title-meta-and.html' title='Simple way to add title, Meta and description tags in child page of masterpage in C#'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-6856285956587531460</id><published>2009-11-03T11:12:00.003+05:30</published><updated>2009-12-08T14:58:21.281+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='VS2010'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2010 Features'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net 3.5'/><title type='text'>A First Look at Visual Studio 2010</title><content type='html'>&lt;p&gt;&lt;br /&gt;After a long wait, Microsoft has released Visual Studio 2010 this month. Microsoft also sets the stage for the RTM("release to manufacturing" or "release to marketing") release on March 22, 2010.&lt;br /&gt;I and my friend downloaded one copy of VS2010 and we have installed it on windows 7.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;       &lt;img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="VS2010 SplashScreen" alt="VS 2010 SplashScreen" src="http://tech.wowkhmer.com/wp-content/uploads/2009/10/VS2010SplashScreen.png" border="0" height="388" width="541" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;    &lt;img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="VS2010 Start Page" alt="VS 2010 Start Page" src="http://tech.wowkhmer.com/wp-content/uploads/2009/10/VS2010StartPage_thumb1.png" border="0" height="326" width="540" /&gt;This page shows you start page of VS2010.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;       &lt;img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="New Project Teamplate" alt="New Project Teamplate" src="http://tech.wowkhmer.com/wp-content/uploads/2009/10/NewProjectTeamplate_thumb1.png" border="0" height="351" width="540" /&gt;In this image you can find, multiple target frameworks and ASP.NET MVC 2 project template.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;   &lt;img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="Dynamic Type" alt="Dynamic Type" src="http://tech.wowkhmer.com/wp-content/uploads/2009/10/DynamicType.png" border="0" height="113" width="420" /&gt;see dynamic type in C#&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="Generate Class" alt="Generate Class" src="http://tech.wowkhmer.com/wp-content/uploads/2009/10/GenerateClass.png" border="0" height="364" width="540" /&gt;VS2010 offers a new feature to generate class&lt;br /&gt;from calling code.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;There are lot more features in VS2010 and .Net Framework 4 to play with, this is just a trailer, Full movie will be shown soon on this blogspot, so keep reading this blog for updates. I really fun&lt;br /&gt;with the powerful features that they provide.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;   &lt;strong&gt;You can download your copy form here&lt;/strong&gt;: &lt;a href="http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx"&gt;&lt;br /&gt;    Visual Studio 2010&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://indianic.com/"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-6856285956587531460?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/6856285956587531460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=6856285956587531460&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/6856285956587531460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/6856285956587531460'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/11/first-look-at-visual-studio-2010.html' title='A First Look at Visual Studio 2010'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-1101188119488011747</id><published>2009-11-02T16:35:00.008+05:30</published><updated>2009-12-08T14:58:26.705+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wordpress'/><category scheme='http://www.blogger.com/atom/ns#' term='Beginner'/><category scheme='http://www.blogger.com/atom/ns#' term='Marketing'/><category scheme='http://www.blogger.com/atom/ns#' term='WebForms'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='Blogspot'/><title type='text'>Get cloud tag for your website or blogspot</title><content type='html'>&lt;p&gt;&lt;br /&gt;  &lt;embed type="application/x-shockwave-flash" src="http://halotemplates.s3.amazonaws.com/wp-cumulus-example/tagcloud.swf" id="tagcloud" name="tagcloud" bgcolor="#333333" quality="high" flashvars="tcolor=0xffffff&amp;amp;mode=tags&amp;amp;distr=true&amp;amp;tspeed=100&amp;amp;tagcloud=&amp;lt;tags&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/Announcements' style='12'&amp;gt;Announcements&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/Blogger%20News%20and%20Issues' style='12'&amp;gt;Blogger News and Issues&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/Blogger%20Template%20Design%20Series' style='12'&amp;gt;Blogger Template Design Series&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/Blogger%20Templates' style='12'&amp;gt;Blogger Templates&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/Custom%20Domains' style='12'&amp;gt;Custom Domains&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/Customize%20your%20Blogger%20Template' style='12'&amp;gt;Customize your Blogger Template&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/Feeds%20and%20Syndication' style='12'&amp;gt;Feeds and Syndication&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/Free%20Blogger%20Templates' style='12'&amp;gt;Free Blogger Templates&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/General' style='12'&amp;gt;General&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/Images%20Icons%20and%20Badges' style='12'&amp;gt;Images Icons and Badges&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/Labels%20Categories%20and%20Tags' style='12'&amp;gt;Labels Categories and Tags&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/Monetize%20Your%20Blog' style='12'&amp;gt;Monetize Your Blog&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/Readers%20Questions' style='12'&amp;gt;Readers Questions&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/Resources' style='12'&amp;gt;Resources&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/SEO%20and%20Blog%20Traffic' style='12'&amp;gt;SEO and Blog Traffic&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/Showcase' style='12'&amp;gt;Showcase&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/Tools' style='12'&amp;gt;Tools&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/Weekly%20Review' style='12'&amp;gt;Weekly Review&amp;lt;/a&amp;gt;&amp;lt;a href='http://www.bloggerbuster.com/search/label/Widgets%20and%20Add-ons' style='12'&amp;gt;Widgets and Add-ons&amp;lt;/a&amp;gt;&amp;lt;/tags&amp;gt;" allowscriptaccess="always" height="200" width="580"&gt;&lt;/embed&gt;&lt;/p&gt;&lt;br /&gt;To get this above flash tags cloud for you website or blogger just follow this below steps&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Go to Layout&gt;Edit HTML in your Blogger dashboard,&lt;br /&gt;and search for the following line (or similar):&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;&amp;lt;b:section class='sidebar' id='sidebar' preferred='yes'&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Immediatly after this line, paste the following section of code:&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;&amp;lt;b:widget id='Label99' locked='false' title='Labels' type='Label'&amp;gt;&lt;br /&gt;&amp;lt;b:includable id='main'&amp;gt;&lt;br /&gt;&amp;lt;b:if cond='data:title'&amp;gt;&lt;br /&gt;&amp;lt;h2&amp;gt;&amp;lt;data:title/&amp;gt;&amp;lt;/h2&amp;gt;&lt;br /&gt;&amp;lt;/b:if&amp;gt;&lt;br /&gt;&amp;lt;div class='widget-content'&amp;gt;&lt;br /&gt;&amp;lt;script src='http://halotemplates.s3.amazonaws.com/wp-cumulus-example/swfobject.js' type='text/javascript'/&amp;gt;&lt;br /&gt;&amp;lt;div id='flashcontent'&amp;gt;Blogumulus by &amp;lt;a href='http://www.roytanck.com/'&amp;gt;Roy Tanck&amp;lt;/a&amp;gt; and &amp;lt;a href='http://www.rajeshssingh.blogspot.com'&amp;gt;Amanda Fazani&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;script type='text/javascript'&amp;gt;&lt;br /&gt;var so = new SWFObject(&amp;amp;quot;http://halotemplates.s3.amazonaws.com/wp-cumulus-example/tagcloud.swf&amp;amp;quot;, &amp;amp;quot;tagcloud&amp;amp;quot;, &amp;amp;quot;240&amp;amp;quot;, &amp;amp;quot;300&amp;amp;quot;, &amp;amp;quot;7&amp;amp;quot;, &amp;amp;quot;#ffffff&amp;amp;quot;);&lt;br /&gt;// uncomment next line to enable transparency&lt;br /&gt;//so.addParam(&amp;amp;quot;wmode&amp;amp;quot;, &amp;amp;quot;transparent&amp;amp;quot;);&lt;br /&gt;so.addVariable(&amp;amp;quot;tcolor&amp;amp;quot;, &amp;amp;quot;0x333333&amp;amp;quot;);&lt;br /&gt;so.addVariable(&amp;amp;quot;mode&amp;amp;quot;, &amp;amp;quot;tags&amp;amp;quot;);&lt;br /&gt;so.addVariable(&amp;amp;quot;distr&amp;amp;quot;, &amp;amp;quot;true&amp;amp;quot;);&lt;br /&gt;so.addVariable(&amp;amp;quot;tspeed&amp;amp;quot;, &amp;amp;quot;100&amp;amp;quot;);&lt;br /&gt;so.addVariable(&amp;amp;quot;tagcloud&amp;amp;quot;, &amp;amp;quot;&amp;lt;tags&amp;gt;&amp;lt;b:loop values='data:labels' var='label'&amp;gt;&amp;lt;a expr:href='data:label.url' style='12'&amp;gt;&amp;lt;data:label.name/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/b:loop&amp;gt;&amp;lt;/tags&amp;gt;&amp;amp;quot;);&lt;br /&gt;so.addParam(&amp;amp;quot;allowScriptAccess&amp;amp;quot;, &amp;amp;quot;always&amp;amp;quot;);&lt;br /&gt;so.write(&amp;amp;quot;flashcontent&amp;amp;quot;);&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;b:include name='quickedit'/&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/b:includable&amp;gt;&lt;br /&gt;&amp;lt;/b:widget&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://indianic.com/"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-1101188119488011747?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/1101188119488011747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=1101188119488011747&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1101188119488011747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1101188119488011747'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/11/get-cloud-tag-for-your-website-or.html' title='Get cloud tag for your website or blogspot'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-1258679850122655794</id><published>2009-10-26T10:53:00.005+05:30</published><updated>2009-10-26T11:24:35.139+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mobile Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Marketing'/><category scheme='http://www.blogger.com/atom/ns#' term='C# 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Design'/><category scheme='http://www.blogger.com/atom/ns#' term='C++ Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Developer'/><title type='text'>How to upload zip file on blogger ?</title><content type='html'>Answer :&lt;br /&gt;&lt;br /&gt;you can't upload any file directly to your blog.but you can achive this by indirectly, Please&lt;br /&gt;&lt;br /&gt;read to find simple and free method to upload zip file on blogger.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Create account in this site :&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;http://www.4shared.com/signup.jsp&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Just enter your email address and click on signup with FREE account&lt;br /&gt;&lt;br /&gt;Then a virtual directory will be appered in front of you&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;http://www.4shared.com/account/dir/22327988/fd9c2607/sharing.html?rnd=46&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Below you can see, upload file option, you can use that and upload your zip,image or any file&lt;br /&gt;which you wanted, the user should download from your blog.&lt;br /&gt;&lt;br /&gt;After uploading that file, you will see that file will appeared in the virtual directory.&lt;br /&gt;then to get download link, you just click on download icon shown at the end of your file in&lt;br /&gt;&lt;br /&gt;that virtual directory.&lt;br /&gt;&lt;br /&gt;After clicking on that link, you will find this page&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;http://www.4shared.com/file/143676923/93c0c852/paypal_credit_card_processing_payment_gateway.html?signout=1&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;click on download, dont worry, the download will not start, this is to get download link.&lt;br /&gt;&lt;br /&gt;after clicking on download button, you will see this page, counting download time in&lt;br /&gt;&lt;br /&gt;decremently..&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;http://www.4shared.com/get/143676923/93c0c852/paypal_credit_card_processing_payment_gateway.html&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;then right click on this link "Click here to download this file" and click on "copy link&lt;br /&gt;&lt;br /&gt;location".&lt;br /&gt;&lt;br /&gt;open notepad and paste copied link.&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;i.e copied link -&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://dc170.4shared.com/download/143676923/93c0c852/paypal_credit_card_processing_payment_gateway.zip?tsid=20091026-010849-1eccccca&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How to use this download link in your blog&lt;br /&gt;&lt;br /&gt;use this HTML code in your blog&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;&amp;amp;lt;a id="downloadid" src="http://dc170.4shared.com/download/143676923/93c0c852/paypal_credit_card_processing_payment_gateway.zip?tsid=20091026-010849-1eccccca" &amp;amp;gt;Download Source Code&amp;amp;lt;/a&amp;amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;when the user will click on this download link, the download will start from your blog without&lt;br /&gt;&lt;br /&gt;visiting to other site.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://dc170.4shared.com/download/143676923/93c0c852/paypal_credit_card_processing_payment_gateway.zip?tsid=20091026-013808-b3708aad"&gt;Click here to see Demo&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://indianic.com/"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-1258679850122655794?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1258679850122655794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/1258679850122655794'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/10/how-to-upload-zip-file-on-blogger.html' title='How to upload zip file on blogger ?'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-5181385067043025854</id><published>2009-10-22T18:11:00.006+05:30</published><updated>2009-12-08T15:09:12.579+05:30</updated><title type='text'>Drawing Line graph in Asp.Net</title><content type='html'>&lt;div style="text-align:left;"&gt;&lt;br /&gt;&lt;table id="Table1" border="0" cellpadding="3" cellspacing="3" align="left" width="620"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign="top" align="left"&gt;&lt;b&gt;1) Run VS.NET&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Click on "Start-&amp;gt;Programs-&amp;gt;VS.NET-&amp;gt;VS.NET".&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;b&gt;2) Create a new ASP.NET WebSite&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Click the menu "File-&amp;gt;New-&amp;gt;Project"&lt;br /&gt;&lt;br /&gt;In the "New Project" Dialog select the language of your choice.&lt;br /&gt;&lt;br /&gt;For now lets just select "Visual C# Projects" in the Project Types treeview and select "ASP.NET Web Application" in the Templates list.&lt;br /&gt;&lt;br /&gt;Specify a name for it. The dialog should look like the following image.&lt;br /&gt;&lt;br /&gt;Click OK.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.carlosag.net/Articles/WebChartTutorial/tutorial01.jpg" height="222" width="317" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top" width="50%"&gt;&lt;b&gt;3) Add the WebChart control to the toolbox&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NOTE :&lt;/strong&gt; Before moving ahead, you will need to download WebChart.dll. &lt;a href="http://l0gg3r.googlecode.com/files/WebChart.dll"&gt;Download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is an optional step, but it makes life easier if you plan on using the control on more than one project, since it will no longer require you to add references, nor copy the control, etc.&lt;br /&gt;While in the WebForms Designer. Select the option menu "View-&amp;gt;Toolbox".&lt;br /&gt;&lt;br /&gt;Right click on it and select the option Customize Toolbox.&lt;br /&gt;&lt;br /&gt;Once in the "Customize Toolbox" Dialog, select the “.NET Framework Components” Tab. Click the Browse button.&lt;img src="http://www.carlosag.net/Articles/WebChartTutorial/tutorial02.jpg" height="105" width="69" /&gt;&lt;br /&gt;&lt;br /&gt;And look for the file WebChart.dll. Click Ok. The dialog should look as follows. Click Ok.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.carlosag.net/Articles/WebChartTutorial/tutorial03.jpg" height="229" width="325" /&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;    &lt;tr&gt;&lt;td valign="top"&gt;&lt;br /&gt;&lt;b&gt;4) Add a Chart to the WebForm&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;To Add a Chart to the WebForm, you can just Drag a Chart control (added in the previous step to the toolbox, look for the small chart glyph) &lt;img src="http://www.carlosag.net/Articles/WebChartTutorial/tutorial04.gif" height="18" width="86" /&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.carlosag.net/Articles/WebChartTutorial/tutorial05.jpg" height="288" width="325" /&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;  &lt;tr&gt;&lt;td valign="top"&gt;&lt;b&gt;5) Add some formatting to the chart&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;You can add easily formatting to your chart by right clicking on it and&lt;br /&gt;selecting the option “Auto format…” or from the Property Grid.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.carlosag.net/Articles/WebChartTutorial/tutorial06.gif" height="241" width="325" /&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;  &lt;tr&gt;&lt;td valign="top"&gt;&lt;b&gt;6) Add a Chart to the control&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;You can add the charts either from code or from design time. It is easier to do in design time, since&lt;br /&gt;doing this way, you can actually get a WYSIWYG version of the control without even having to run it.&lt;br /&gt;&lt;br /&gt;To add a chart in Design Time, just double click the Charts… Property in the Property Window.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.carlosag.net/Articles/WebChartTutorial/tutorial07.jpg" height="101" width="174" /&gt;&lt;br /&gt;&lt;br /&gt;This will launch the Chart Editor, where you can add any type of Chart (LineChart, ColumnChart, etc)&lt;br /&gt;by choosing the drop down button at the bottom of the dialog and configure all their properties.&lt;br /&gt;&lt;br /&gt;So for now, Add a LineChart and assign it a Name of “MyChart”, and click Ok.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.carlosag.net/Articles/WebChartTutorial/tutorial08.jpg" height="329" width="325" /&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;  &lt;tr&gt;&lt;td colspan="2" valign="top"&gt;&lt;b&gt;7) Add code to add points and render the chart&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Double click on the Designer to take you to the Page_Load event of your page.&lt;br /&gt;&lt;br /&gt;Add a using statement at the top of the page code to avoid writing the namespace in all your declarations.&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;using System;&lt;br /&gt;using System.Collections;&lt;br /&gt;// Other namespaces...&lt;br /&gt;using WebChart;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;b&gt;Now add some code to add the points to the chart.&lt;/b&gt;&lt;br /&gt;All points in the Chart are represented with the &lt;b&gt;ChartPoint&lt;/b&gt;class. So in the code below we first grab a reference to the Chart already in the control (since it was added in design time), and then use its Data property to add the Points.&lt;br /&gt;&lt;br /&gt;Note that you need to cast the chart to the correct type of chart, since it returns a Chart class that is the base class for all charts.&lt;br /&gt;&lt;br /&gt;At the end we call &lt;b&gt;RedrawChart&lt;/b&gt; method that creates the file.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;THIS IS REALLY IMPORTANT,&lt;/b&gt; every time you want the control to redraw the chart, you need to explicitly call this method, if you fail to do so, it will not create the image file.&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;private void Page_Load(object sender, System.EventArgs e) {&lt;br /&gt;&lt;br /&gt;  LineChart chart =(LineChart)ChartControl1.Charts.FindChart("MyChart");&lt;br /&gt;  chart.Data.Add( new ChartPoint("Jan",10) );&lt;br /&gt;  chart.Data.Add( new ChartPoint("Feb", 20) );&lt;br /&gt;  chart.Data.Add( new ChartPoint("Mar",30) );&lt;br /&gt;&lt;br /&gt;  ChartControl1.RedrawChart();&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;If you don’t add the charts in design time you can also add them by code like this:&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;private void Page_Load(object sender, System.EventArgs e) {&lt;br /&gt;&lt;br /&gt;  LineChart chart = new LineChart();&lt;br /&gt;  chart.Data.Add( new ChartPoint("Jan", 10) );&lt;br /&gt;  chart.Data.Add( new ChartPoint("Feb", 20) );&lt;br /&gt;  chart.Data.Add( new ChartPoint("Mar", 30) );&lt;br /&gt;  ChartControl1.Charts.Add(chart);&lt;br /&gt;&lt;br /&gt;  ChartControl1.RedrawChart();&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Notice that you will need to add it to the Charts collection of the control.&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;  &lt;tr&gt;&lt;td colspan="2" valign="top" width="50%"&gt;&lt;b&gt;8) Compile and Run the page.&lt;/b&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://indianic.com/"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-5181385067043025854?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/5181385067043025854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=5181385067043025854&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/5181385067043025854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/5181385067043025854'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/10/drawing-line-graph-in-aspnet.html' title='Drawing Line graph in Asp.Net'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-4452571859435532459</id><published>2009-10-22T14:47:00.026+05:30</published><updated>2009-12-08T12:48:06.016+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mobile Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='LAMP Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 7'/><category scheme='http://www.blogger.com/atom/ns#' term='Architech'/><category scheme='http://www.blogger.com/atom/ns#' term='VB.NET Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='C++ Developer'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Developer'/><title type='text'>List of Test Credit Card Numbers</title><content type='html'>&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;div style="vertical-align: top;text-align:left; position: inherit;"&gt;&lt;table style="width: 600px; height: 760px;" border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td colspan="2" align="left"&gt;&lt;a href="http://rajeshssingh.blogspot.com/"&gt;                        &lt;img style="border: 0px none ;" src="http://www.infomerchant.net/creditcardprocessing/credit_cards.gif" alt="credit cards images" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p style="font-weight: bold;"&gt;                        Card Type&lt;/p&gt;                &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p style="font-weight: bold;"&gt;                        Card Number&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        American Express&lt;/p&gt;               &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        378282246310005&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        American Express&lt;/p&gt;                &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        371449635398431&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        American Express Corporate&lt;/p&gt;                &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        378734493671000&lt;/p&gt;               &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        Australian BankCard&lt;/p&gt;              &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        5610591081018250&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        Diners Club&lt;/p&gt;              &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        30569309025904&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        Diners Club&lt;/p&gt;                &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        38520000023237&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        Discover&lt;/p&gt;                &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        6011111111111117&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        Discover&lt;/p&gt;                &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        6011000990139424&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        JCB&lt;/p&gt;                &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        3530111333300000&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        JCB&lt;/p&gt;                &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        3566002020360505&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        MasterCard&lt;/p&gt;                &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        5555555555554444&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        MasterCard&lt;/p&gt;                &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        5105105105105100&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        Visa&lt;/p&gt;                &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        4111111111111111&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        Visa&lt;/p&gt;                &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        4012888888881881&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        Visa&lt;/p&gt;                &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        4222222222222&lt;/p&gt;                    &lt;p&gt;                        &lt;em class="Bold"&gt;&lt;span style="font-style: normal; font-weight: bold;"&gt;&lt;b&gt;Note&lt;/b&gt;&lt;/span&gt;&lt;/em&gt;&lt;b&gt;                            :&lt;/b&gt; Even though this number has a different character count than the other                        test numbers, it is the correct and functional number.&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan="2" align="center"&gt;                    &lt;a href="http://rajeshssingh.blogspot.com/"&gt;                        &lt;img src="http://www.nochex.com/images/content-images/merchant-services.jpg" style="border: 0px none ;" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1" colspan="2" class="whs6" width="611"&gt;                    &lt;p style="font-weight: bold;"&gt;                        Processor-specific Cards&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        Dankort (PBS)&lt;/p&gt;                &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        76009244561&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        Dankort (PBS)&lt;/p&gt;                &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        5019717010103742&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="30%"&gt;                    &lt;p&gt;                        Switch/Solo (Paymentech)&lt;/p&gt;                &lt;/td&gt;&lt;td width="70%"&gt;                    &lt;p&gt;                        6331101999990016&lt;/p&gt;                &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://indianic.com/"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-4452571859435532459?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/4452571859435532459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/4452571859435532459'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/10/list-of-test-credit-card-numbers.html' title='List of Test Credit Card Numbers'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-5113142256703517560</id><published>2009-10-15T13:04:00.002+05:30</published><updated>2009-12-08T14:58:32.151+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net UserControl'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Web.config'/><title type='text'>Register User Controls and Custom Controls in Web.config</title><content type='html'>&lt;span style="font-style: italic; font-weight: bold;"&gt;Problem with declaring usercontrols in all page&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;&amp;lt;%@ Register TagPrefix="rajesh" TagName="Header" Src="UserControls/Header.ascx" %&amp;gt;&lt;br /&gt;&amp;lt;%@ Register TagPrefix="rajesh" TagName="Footer" Src="UserControls/Footer.ascx" %&amp;gt;&lt;br /&gt;&amp;lt;%@ Register TagPrefix="Control1" Assembly="Control1" %&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;   &amp;lt;form id="form1" runat="server"&amp;gt;&lt;br /&gt;       &amp;lt;rajesh:Header ID="rajeshHeader" runat="server" /&amp;gt;&lt;br /&gt;   &amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This works fine, but suppose you have so many user control and you are using them in all pages by simply dragging and dropping .&lt;br /&gt;&lt;br /&gt;so if at some time ,you have changed the path of user control .&lt;br /&gt;&lt;br /&gt;then you need to change the path of user control in all pages in which you have used user control.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;Solution to the problem discussed above&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The above situation might not have occurred if you have registered the user control in web.congif file.&lt;br /&gt;&lt;br /&gt;Instead of declaring and duplicating in all pages, its better to declare once in web.config file and use as many time  you want to use in your page.&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;configuration&amp;gt;&lt;br /&gt;&lt;br /&gt; &amp;lt;system.web&amp;gt;&lt;br /&gt; &lt;br /&gt;   &amp;lt;pages&amp;gt;&lt;br /&gt;     &amp;lt;controls&amp;gt;&lt;br /&gt;       &amp;lt;add tagPrefix="rajesh" src="~/UserControls/Header.ascx" tagName="header"/&amp;gt;&lt;br /&gt;       &amp;lt;add tagPrefix="rajesh" src="~/UserControls/Footer.ascx" tagName="footer"/&amp;gt;&lt;br /&gt;       &amp;lt;add tagPrefix="Control1" assembly="Control1"/&amp;gt;&lt;br /&gt;     &amp;lt;/controls&amp;gt;&lt;br /&gt;   &amp;lt;/pages&amp;gt;&lt;br /&gt;&lt;br /&gt; &amp;lt;/system.web&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/configuration&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Once you declare the UserControls within the web.config file, you can then just use the controls on any page.&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;   &amp;lt;form id="form1" runat="server"&amp;gt;&lt;br /&gt;       &amp;lt;rajesh:header ID="rajeshHeader" runat="server" /&amp;gt;&lt;br /&gt;   &amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://indianic.com/"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-5113142256703517560?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/5113142256703517560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=5113142256703517560&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/5113142256703517560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/5113142256703517560'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/10/register-user-controls-and-custom.html' title='Register User Controls and Custom Controls in Web.config'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-8366509536521471966</id><published>2009-10-15T13:03:00.001+05:30</published><updated>2009-12-08T14:58:37.054+05:30</updated><title type='text'>Differenc between "And" and "AndAlso" Operator in Asp.Net</title><content type='html'>The 'And' operator evaluate both side, where 'AndAlso' only evaluate the right side if the left side is true.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;See below examples to find difference between And and AndAlso.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Example 1:&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;&lt;br /&gt;If mystring IsNot Nothing And mystring.Contains(&amp;quot;Rajesh&amp;quot;) Then&lt;br /&gt;  ' And operator evaluate both side&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;This throws an exception if mystring = Nothing&lt;br /&gt;&lt;br /&gt;If mystring IsNot Nothing AndAlso mystring.Contains(&amp;quot;Rajesh&amp;quot;) Then&lt;br /&gt;  ' AndAlso only evaluate the right side if the left side is true&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;This will not throws an exception.&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;Please see second example to make you more clear to find difference between And and AndAlso,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The "And" operator will check all conditions in the statement before continuing, whereas the Andalso operator will stop if it knows the condition is false.&lt;br /&gt;&lt;br /&gt;Example 2:&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%"&gt;&lt;code&gt;if x = 8 And y = 9&lt;br /&gt;&lt;br /&gt;Checks if x is equal to 8, and if y is equal to 9, then continues if both are true.&lt;br /&gt;&lt;br /&gt;if x = 8 Andalso y = 9&lt;br /&gt;&lt;br /&gt;Checks if x is equal to 8. If it's not, it doesn't check if y is 9, because it knows that the condition is false already.&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://indianic.com/"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-8366509536521471966?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/8366509536521471966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=8366509536521471966&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/8366509536521471966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/8366509536521471966'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/10/differenc-between-and-and-andalso.html' title='Differenc between &quot;And&quot; and &quot;AndAlso&quot; Operator in Asp.Net'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-3618811487173606836</id><published>2009-10-14T16:35:00.010+05:30</published><updated>2009-12-08T14:58:42.096+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Active Server Pages'/><category scheme='http://www.blogger.com/atom/ns#' term='Payment gateway'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='user control'/><category scheme='http://www.blogger.com/atom/ns#' term='Authorize.Net Payment gateway'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net 3.5'/><category scheme='http://www.blogger.com/atom/ns#' term='C# Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='programming tips'/><title type='text'>Explaination of flow of Authorize.net Payment Gateway</title><content type='html'>&lt;p&gt;In this post, I have explained you step by step implementation of authorize.net payment  gateway integration in your website and explained you what happen behind the screen in payment gateway processing.&lt;/p&gt;&lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;&lt;br /&gt;                 &lt;/a&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;&lt;img id="img2" style="border: medium none ; text-align: center;" src="http://www.authorize.net/resources/images/howitworks/diag1.gif" alt="Explanation of Step 1" /&gt;&lt;/a&gt;&lt;br /&gt;             &lt;/div&gt;&lt;p&gt;&lt;br /&gt;                 &lt;b&gt;Step 1&lt;/b&gt;: The merchant submits a credit card transaction to the Authorize.Net Payment&lt;br /&gt;                 Gateway on behalf of a customer via secure Web site connection, retail store, MOTO&lt;br /&gt;                 center or wireless device.&lt;/p&gt;&lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;&lt;br /&gt;                 &lt;/a&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;&lt;img id="img1" style="border: medium none ; text-align: center;" src="http://www.authorize.net/resources/images/howitworks/diag2.gif" alt="Explanation of Step 2" /&gt;&lt;/a&gt;&lt;br /&gt;             &lt;/div&gt;&lt;p&gt;&lt;br /&gt;                 &lt;b&gt;Step 2&lt;/b&gt;: Authorize.Net receives the secure transaction information and passes it via a secure connection to the Merchant Bank's Processor.&lt;/p&gt;&lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;&lt;br /&gt;                 &lt;/a&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;&lt;img id="img3" style="border: medium none ; text-align: center;" src="http://www.authorize.net/resources/images/howitworks/diag3.gif" alt="Explanation of Step 3" /&gt;&lt;/a&gt;&lt;br /&gt;             &lt;/div&gt;&lt;p&gt;&lt;br /&gt;                 &lt;b&gt;Step 3&lt;/b&gt;: The Merchant Bank's Processor submits the transaction to the Credit Card Network (a system of financial entities that communicate to manage the processing, clearing, and settlement of credit card transactions).&lt;/p&gt;               &lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;&lt;br /&gt;                 &lt;/a&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;&lt;img id="img4" style="border: medium none ; text-align: center;" src="http://www.authorize.net/resources/images/howitworks/diag4.gif" alt="Explanation of Step 4" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;        &lt;br /&gt;  &lt;br /&gt;        &lt;b&gt;Step 4&lt;/b&gt;: The Credit Card Network routes the transaction to the Customer's Credit Card Issuing Bank&lt;br /&gt;        &lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;&lt;br /&gt;                 &lt;/a&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;&lt;img id="img5" style="border: medium none ; text-align: center;" src="http://www.authorize.net/resources/images/howitworks/diag5.gif" alt="Explanation of Step 5" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;Step 5&lt;/b&gt;: The Customer's Credit Card Issuing Bank approves or declines the transaction based on the customer's available funds and passes the transaction results back to the Credit Card Network.&lt;/p&gt;               &lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;&lt;br /&gt;                 &lt;/a&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;&lt;img id="img6" style="border: medium none ; text-align: center;" src="http://www.authorize.net/resources/images/howitworks/diag6.gif" alt="Explanation of Step 6" /&gt;&lt;/a&gt;&lt;br /&gt;             &lt;/div&gt;&lt;p&gt;&lt;br /&gt;                 &lt;b&gt;Step 6&lt;/b&gt;: The Credit Card Network relays the transaction results to the Merchant Bank's Processor.&lt;/p&gt;&lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;                   &lt;/a&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;&lt;img id="img7" style="border: medium none ; text-align: center;" src="http://www.authorize.net/resources/images/howitworks/diag7.gif" alt="Explanation of Step 7" /&gt;&lt;/a&gt;&lt;br /&gt;             &lt;/div&gt;&lt;p&gt;&lt;br /&gt;                 &lt;b&gt;Step 7&lt;/b&gt;: The Merchant Bank's Processor relays the transaction results to Authorize.Net.&lt;/p&gt;               &lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;&lt;br /&gt;                 &lt;/a&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;&lt;img id="img8" style="border: medium none ; text-align: center;" src="http://www.authorize.net/resources/images/howitworks/diag8.gif" alt="Explanation of Step 8" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;        &lt;br /&gt;             &lt;p&gt;&lt;br /&gt;                 &lt;b&gt;Step 8&lt;/b&gt;: Authorize.Net stores the transaction results and sends them to the customer and/or the merchant. This step completes the authorization process – all in about three seconds or less!&lt;/p&gt;&lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;&lt;br /&gt;                 &lt;/a&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://rajeshssingh.blogspot.com/" style="text-align: center;"&gt;&lt;img id="img9" style="border: medium none ; text-align: center;" src="http://www.authorize.net/resources/images/howitworks/diag9.gif" alt="Explanation of Step 9" /&gt;&lt;/a&gt;&lt;br /&gt;             &lt;/div&gt;&lt;p&gt;&lt;br /&gt;                 &lt;b&gt;Step 9&lt;/b&gt;: The Customer's Credit Card Issuing Bank sends the appropriate funds for the transaction to the Credit Card Network, which passes the funds to the Merchant's Bank. The bank then deposits the funds into the merchant's bank account. This step is known as the settlement process and typically the transaction funds are deposited into your primary bank account within two to four business days.&lt;/p&gt;&lt;br /&gt;      &lt;br /&gt;&lt;br /&gt;             &lt;b&gt;Hope this post has helped you,&lt;/b&gt;&lt;br /&gt;If yes, Please put a comment below to encourage us.&lt;br /&gt;Thank you&lt;br /&gt;          &lt;br /&gt;Rajesh Singh,&lt;br /&gt;&lt;a href="http://www.blogger.com/www.Indianic.com"&gt;Indianic Infotech Ltd&lt;/a&gt;&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-3618811487173606836?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/3618811487173606836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=3618811487173606836&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/3618811487173606836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/3618811487173606836'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/10/explaination-of-flow-of-authorizenet.html' title='Explaination of flow of Authorize.net Payment Gateway'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-8764245024777831023</id><published>2009-10-10T12:17:00.006+05:30</published><updated>2009-12-08T14:58:47.890+05:30</updated><title type='text'>Count Number Of Stored Procedures, Views, Tables and Functions using Query</title><content type='html'>Hi friends ,&lt;br /&gt;&lt;br /&gt;Sometimes you may need to count number of table in your database and if your database have hundreds of table then it is almost impossible to count tables in your database.&lt;br /&gt;&lt;br /&gt;So here is the small query, using which you can count Stored procedure you have used ,table you have made, views you may have created.&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;/* Count Number Of Tables In A Database */&lt;br /&gt;SELECT COUNT(*) AS TABLE_COUNT FROM INFORMATION_SCHEMA.TABLES&lt;br /&gt;WHERE TABLE_TYPE=‘BASE TABLE’&lt;br /&gt;&lt;br /&gt;/* Count Number Of Views In A Database */&lt;br /&gt;SELECT COUNT(*) AS VIEW_COUNT FROM INFORMATION_SCHEMA.VIEWS&lt;br /&gt;&lt;br /&gt;/* Count Number Of Stored Procedures In A Database */&lt;br /&gt;SELECT COUNT(*) AS PROCEDURE_COUNT FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_TYPE = ‘PROCEDURE’&lt;br /&gt;&lt;br /&gt;/* Count Number Of Functions In A Database */&lt;br /&gt;SELECT COUNT(*) AS FUNCTION_COUNT FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_TYPE = ‘FUNCTION’&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The same methodology can be used to query for information :&lt;br /&gt;&lt;br /&gt;&lt;pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;"&gt;&lt;code&gt;/* Select Table Information For A Database */&lt;br /&gt;SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE=‘BASE TABLE’&lt;br /&gt;&lt;br /&gt;/* Select View Information For A Database */&lt;br /&gt;SELECT * FROM INFORMATION_SCHEMA.VIEWS&lt;br /&gt;&lt;br /&gt;/* Select Stored Procedure Information For A Database */&lt;br /&gt;SELECT * FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_TYPE = ‘PROCEDURE’&lt;br /&gt;&lt;br /&gt;/* Select Function Information For A Database */&lt;br /&gt;SELECT * FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_TYPE = ‘FUNCTION’&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://indianic.com/"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-8764245024777831023?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/8764245024777831023/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=8764245024777831023&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/8764245024777831023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/8764245024777831023'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/10/count-number-of-stored-procedures-views.html' title='Count Number Of Stored Procedures, Views, Tables and Functions using Query'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-106294366943809661</id><published>2009-10-08T17:48:00.002+05:30</published><updated>2009-12-08T14:58:53.943+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net'/><title type='text'>Retrive data from database using Stored procedure and class file in Asp.Net</title><content type='html'>&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="--"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face  {font-family:Wingdings;  panose-1:5 0 0 0 0 0 0 0 0 0;  mso-font-charset:2;  mso-generic-font-family:auto;  mso-font-pitch:variable;  mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face  {font-family:"Cambria Math";  panose-1:2 4 5 3 5 4 6 3 2 4;  mso-font-charset:0;  mso-generic-font-family:roman;  mso-font-pitch:variable;  mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face  {font-family:Calibri;  panose-1:2 15 5 2 2 2 4 3 2 4;  mso-font-charset:0;  mso-generic-font-family:swiss;  mso-font-pitch:variable;  mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal  {mso-style-unhide:no;  mso-style-qformat:yes;  mso-style-parent:"";  margin-top:0in;  margin-right:0in;  margin-bottom:10.0pt;  margin-left:0in;  line-height:115%;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:"Calibri","sans-serif";  mso-fareast-font-family:"Times New Roman";  mso-bidi-font-family:"Times New Roman";} .MsoChpDefault  {mso-style-type:export-only;  mso-default-props:yes;  font-size:10.0pt;  mso-ansi-font-size:10.0pt;  mso-bidi-font-size:10.0pt;  mso-ascii-font-family:Calibri;  mso-hansi-font-family:Calibri;} @page Section1  {size:8.5in 11.0in;  margin:1.0in 1.0in 1.0in 1.0in;  mso-header-margin:.5in;  mso-footer-margin:.5in;  mso-paper-source:0;} div.Section1  {page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:"Table Normal";  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-qformat:yes;  mso-style-parent:"";  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:"Calibri","sans-serif";  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:"Times New Roman";  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:"Times New Roman";  mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="font-size: 18pt; line-height: 115%;"&gt;Step1:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 18pt; line-height: 115%;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Create SP in database&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt;-- =============================================&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt;-- Author:&lt;span style=""&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color: green;"&gt;rajesh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt;-- Create date: &lt;span style=""&gt;  &lt;/span&gt;6th Nov 2008&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt;-- Description:&lt;span style=""&gt;   &lt;/span&gt;this SP is to find the keyword used to do search.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt;-- =============================================&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;IF EXISTS &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;(&lt;span style="color: blue;"&gt;SELECT &lt;/span&gt;* &lt;span style="color: blue;"&gt;FROM &lt;/span&gt;sysobjects &lt;span style="color: blue;"&gt;WHERE &lt;/span&gt;id = &lt;span style="color: blue;"&gt;object_id&lt;/span&gt;(&lt;span style="color: maroon;"&gt;'JAU_SP_Getkeyword'&lt;/span&gt;))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color: blue;"&gt;DROP PROCEDURE &lt;/span&gt;&lt;span style=""&gt; &lt;/span&gt;JAU_SP_Getkeyword&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;GO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;CREATE PROCEDURE &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;JAU_SP_Getkeyword&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;(&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;      &lt;/span&gt;@piMemberID &lt;span style="color: blue;"&gt;INT&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;)&lt;span style=""&gt;     &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;AS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;BEGIN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style="color: blue;"&gt;select &lt;/span&gt;sTitle &lt;span style="color: blue;"&gt;from &lt;/span&gt;JAU_Favouritesearch &lt;span style="color: blue;"&gt;Group by &lt;/span&gt;sTitle&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;END&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;;"&gt;GO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="font-size: 18pt; line-height: 115%;"&gt;Step2:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 18pt; line-height: 115%;"&gt;&lt;span style=""&gt;  &lt;/span&gt;call SP from class file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;(1)&lt;/b&gt;&lt;b style=""&gt;&lt;span style="font-family: Wingdings;"&gt;&lt;span style=""&gt;à&lt;/span&gt;&lt;/span&gt; Create function in class file&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="color: red;"&gt;ASP.net Code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt;'function made by rajesh for search&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;Public&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt; &lt;span style="color: blue;"&gt;Function&lt;/span&gt; findkeyword() &lt;span style="color: blue;"&gt;As&lt;/span&gt; DataSet&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 0.0001pt 5.25pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;Dim&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt; objDBManager &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;New&lt;/span&gt; &lt;span style=""&gt;     &lt;/span&gt;commonlib.Common.DBManager(ConfigurationManager.ConnectionStrings(&lt;span style="color: maroon;"&gt;"ConnectionString"&lt;/span&gt;).ConnectionString)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color: blue;"&gt;Dim&lt;/span&gt; keywordresult &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;New&lt;/span&gt; DataSet&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color: blue;"&gt;Dim&lt;/span&gt; sSQL &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;String&lt;/span&gt; = &lt;span style="color: maroon;"&gt;"JAU_SP_Getkeyword"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color: blue;"&gt;Dim&lt;/span&gt; p(0) &lt;span style="color: blue;"&gt;As&lt;/span&gt; SqlParameter&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color: blue;"&gt;Try&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;            &lt;/span&gt;p(0) = &lt;span style="color: blue;"&gt;New&lt;/span&gt; SqlParameter(&lt;span style="color: maroon;"&gt;"@piMemberID"&lt;/span&gt;, _iMemberID)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;            &lt;/span&gt;keywordresult = &lt;span style=""&gt;   &lt;/span&gt;Objdbmanager.ExecuteDataSet(CommandType.StoredProcedure, sSQL, p)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color: blue;"&gt;Dim&lt;/span&gt; str &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;String&lt;/span&gt; = Objdbmanager.ErrorMessage&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color: blue;"&gt;Return&lt;/span&gt; keywordresult&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color: blue;"&gt;Catch&lt;/span&gt; ex &lt;span style="color: blue;"&gt;As&lt;/span&gt; Exception&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;            &lt;/span&gt;ex = &lt;span style="color: blue;"&gt;Nothing&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color: blue;"&gt;End&lt;/span&gt; &lt;span style="color: blue;"&gt;Try&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;End&lt;/span&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;;"&gt; &lt;span style="color: blue;"&gt;Function&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;(2)&lt;/b&gt;&lt;b style=""&gt;&lt;span style="font-family: Wingdings;"&gt;&lt;span style=""&gt;à&lt;/span&gt;&lt;/span&gt; Create property in class file&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;Public&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt; &lt;span style="color: blue;"&gt;Property&lt;/span&gt; memberID() &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;Integer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color: blue;"&gt;Get&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color: blue;"&gt;Return&lt;/span&gt; _iMemberID&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color: blue;"&gt;End&lt;/span&gt; &lt;span style="color: blue;"&gt;Get&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color: blue;"&gt;Set&lt;/span&gt;(&lt;span style="color: blue;"&gt;ByVal&lt;/span&gt; value &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;Integer&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;            &lt;/span&gt;_iMemberID = value&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color: blue;"&gt;End&lt;/span&gt; &lt;span style="color: blue;"&gt;Set&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style="color: blue;"&gt;End&lt;/span&gt; &lt;span style="color: blue;"&gt;Property&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;(3)&lt;/b&gt;&lt;b style=""&gt;&lt;span style="font-family: Wingdings;"&gt;&lt;span style=""&gt;à&lt;/span&gt;&lt;/span&gt; Declare _MemberID as protected in class file&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;Protected&lt;/span&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;;"&gt; _iMemberID &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;Integer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="font-size: 18pt; line-height: 115%;"&gt;Step3:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 18pt; line-height: 115%;"&gt;&lt;span style=""&gt;  &lt;/span&gt;call function &lt;span style=""&gt; &lt;/span&gt;defined in class file in aspx file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;Dim&lt;/span&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;;"&gt; objsearch &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;New&lt;/span&gt; Search&lt;span style=""&gt;    &lt;/span&gt;/*Search here is class file name*/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;/* By Below code you can use the data form the database */&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt;'code done by rajesh to find keyword&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;       &lt;/span&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;span style="color: blue;"&gt;Dim&lt;/span&gt; dskeyword &lt;span style="color: blue;"&gt;As&lt;/span&gt; DataSet&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;        &lt;/span&gt;dskeyword = objsearch.findkeyword()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color: blue;"&gt;Dim&lt;/span&gt; keywordtitle &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;String&lt;/span&gt; = Trim(Request.QueryString(&lt;span style="color: maroon;"&gt;"Text"&lt;/span&gt;))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color: blue;"&gt;For&lt;/span&gt; i &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;Integer&lt;/span&gt; = 0 &lt;span style="color: blue;"&gt;To&lt;/span&gt; dskeyword.Tables(0).Rows.Count - 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color: blue;"&gt;Dim&lt;/span&gt; str &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;String&lt;/span&gt; = Trim(dskeyword.Tables(0).Rows(i).Item(0))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color: blue;"&gt;If&lt;/span&gt; str = keywordtitle &lt;span style="color: blue;"&gt;Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;                &lt;/span&gt;linkfav.Visible = &lt;span style="color: blue;"&gt;False&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color: blue;"&gt;End&lt;/span&gt; &lt;span style="color: blue;"&gt;If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color: blue;"&gt;Next&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color: green;"&gt;'&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://indianic.com/"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;br /&gt;&lt;span style="font-size: 10pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style="color: green;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 18pt; line-height: 115%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8764046518411157827-106294366943809661?l=rajeshssingh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rajeshssingh.blogspot.com/feeds/106294366943809661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8764046518411157827&amp;postID=106294366943809661&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/106294366943809661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8764046518411157827/posts/default/106294366943809661'/><link rel='alternate' type='text/html' href='http://rajeshssingh.blogspot.com/2009/10/retrive-data-from-database-using-stored.html' title='Retrive data from database using Stored procedure and class file in Asp.Net'/><author><name>rajesh Singh</name><uri>http://www.blogger.com/profile/12427818898607173731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://4.bp.blogspot.com/_0AP8fBxcSdc/Syn6Z365rEI/AAAAAAAAAOQ/ooFvY3OAgPw/S220/single+R.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8764046518411157827.post-2002886615028527992</id><published>2009-10-08T15:30:00.004+05:30</published><updated>2009-12-08T14:58:59.803+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Website Development'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Development Company'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Development tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Development'/><category scheme='http://www.blogger.com/atom/ns#' term='Tips and Tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Site Template'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>Remove gap between marquee tags</title><content type='html'>Question: How to remove gap or space between marquee tags ?&lt;br /&gt;&lt;br /&gt;Answer :&lt;br /&gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;style type="text/css"&amp;gt;&lt;br /&gt;img {&lt;br /&gt; width: 200px;&lt;br /&gt; height: 75px;&lt;br /&gt;}&lt;br /&gt;#marqueecontainer&lt;br /&gt;{&lt;br /&gt;position: relative;&lt;br /&gt;width: 200px; /*marquee width */&lt;br /&gt;height: 200px; /*marquee height */&lt;br /&gt;background-color: white;&lt;br /&gt;overflow: hidden;&lt;br /&gt;border: 3px solid black;&lt;br /&gt;padding: 2px;&lt;br /&gt;padding-left: 4px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;var delayTime=5&lt;br /&gt;var marqueeSpeed=2&lt;br /&gt;var pauseTime=1&lt;br /&gt;var copySpeed=marqueeSpeed&lt;br /&gt;var pauseSpeed=(pauseTime==0)? copySpeed: 0&lt;br /&gt;var actualHeight=''&lt;br /&gt;&lt;br /&gt;function ScrollMarquee()&lt;br /&gt;{&lt;br /&gt;if (parseInt(crossMarquee.style.top)&amp;gt;((actualHeight / 2)*(-1)+8))&lt;br /&gt;crossMarquee.style.top=parseInt(crossMarquee.style.top)-copySpeed+"px"&lt;br /&gt;else&lt;br /&gt;crossMarquee.style.top=parseInt((marqueeheight - (actualHeight / 2)) / 2)+8 +"px"&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function InitializeMarquee()&lt;br /&gt;{&lt;br /&gt;crossMarquee=document.getElementById("vmarquee")&lt;br /&gt;crossMarquee.style.top=0&lt;br /&gt;marqueeheight=document.getElementById("marqueecontainer").offsetHeight&lt;br /&gt;actualHeight=crossMarquee.offsetHeight;&lt;br /&gt;if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1)&lt;br /&gt;{&lt;br /&gt;crossMarquee.style.height=marqueeheight+"px"&lt;br /&gt;crossMarquee.style.overflow="scroll"&lt;br /&gt;return&lt;br /&gt;}&lt;br /&gt;setTimeout('lefttime=setInterval("ScrollMarquee()",30)', delayTime)&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if (window.addEventListener)&lt;br /&gt;window.addEventListener("load", InitializeMarquee, false)&lt;br /&gt;else if (window.attachEvent)&lt;br /&gt;window.attachEvent("onload", InitializeMarquee)&lt;br /&gt;else if (document.getElementById)&lt;br /&gt;window.onload=InitializeMarquee&lt;br /&gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;div id="marqueecontainer" onMouseover="copySpeed=pauseSpeed" onMouseout="copySpeed=marqueeSpeed"&amp;gt;&lt;br /&gt;&amp;lt;div id="vmarquee" style="position: absolute; width: 98%;"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;div id="copy1" style="background: red;"&amp;gt;&lt;br /&gt;&amp;lt;div&amp;gt;&amp;lt;img src="http://www.activemax.com/wp/wp-content/uploads/2008/10/google_sitemap.gif"&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div&amp;gt;&amp;lt;img src="http://ebinture.files.wordpress.com/2008/07/google-mobile-logo-copy.jpg"&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div&amp;gt;&amp;lt;img src="http://images4.pocket-lint.com/images/2Mlt/google-chrome-internet-browser-review-0.jpg"&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div&amp;gt;&amp;lt;img src="http://images.pcworld.com/news/graphics/165679-google_wave_logo_take2_180.jpg"&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div&amp;gt;&amp;lt;img src="http://www.coffeecup.com/images/software/icons/google-sitemapper_4.7.1_win_en.png"&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;div id="copy2" style="background: blue;"&amp;gt;&lt;br /&gt;&amp;lt;div&amp;gt;&amp;lt;img src="http://www.activemax.com/wp/wp-content/uploads/2008/10/google_sitemap.gif"&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div&amp;gt;&amp;lt;img src="http://ebinture.files.wordpress.com/2008/07/google-mobile-logo-copy.jpg"&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div&amp;gt;&amp;lt;img src="http://images4.pocket-lint.com/images/2Mlt/google-chrome-internet-browser-review-0.jpg"&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div&amp;gt;&amp;lt;img src="http://images.pcworld.com/news/graphics/165679-google_wave_logo_take2_180.jpg"&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div&amp;gt;&amp;lt;img src="http://www.coffeecup.com/images/software/icons/google-sitemapper_4.7.1_win_en.png"&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this post will help you,&lt;br /&gt;if yes please put comment below of this page,&lt;br /&gt;Rajesh Singh,&lt;br /&gt;Asp.Net Developer&lt;br /&gt;&lt;a href="http://indianic.com/"&gt;Indianic Infotech Ltd&lt;/a&gt; (India)&lt;br /&gt;rajesh@indianic.com&lt;div class="blogger-post-foot
