<?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-8617750324093825780</id><updated>2012-02-02T16:50:10.245+05:30</updated><category term='Asp.net'/><category term='General'/><category term='dotnet'/><category term='Sql'/><title type='text'>Quadtechindia</title><subtitle type='html'>Quadtechindia is your ultimate guide to free and open source code for  Software developers.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8617750324093825780.post-7794666578302032272</id><published>2012-02-02T16:50:00.000+05:30</published><updated>2012-02-02T16:50:10.251+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Could not load file or assembly 'CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies</title><content type='html'>It can be solved   by installing the crystal run time package that can be found on your local computer (I believe it is installed with visual studio 2008).  It is located in: &lt;br /&gt;&lt;br /&gt;\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5&lt;br /&gt;&lt;br /&gt; I found this information in the Local Help:  ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/crystlmn/html/topic409.htm&lt;br /&gt;&lt;br /&gt; Running the MSI on the production server installed the version 10.5.3700.0 files there and cleared the error.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8617750324093825780-7794666578302032272?l=quadtechindia.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/7794666578302032272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8617750324093825780&amp;postID=7794666578302032272&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/7794666578302032272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/7794666578302032272'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/2012/02/could-not-load-file-or-assembly.html' title='Could not load file or assembly &apos;CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304&apos; or one of its dependencies'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8617750324093825780.post-6428354158312204208</id><published>2012-01-04T12:08:00.003+05:30</published><updated>2012-01-04T12:12:26.130+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql'/><title type='text'>Difference between Triggers and Stored Procedure</title><content type='html'>1. SP may Return a value but Trigger Not,&lt;br /&gt;2. In SP you can pass parameter But in trigger you can't&lt;br /&gt;3. we explicitly call the Sp when Trigger are implicitly &lt;br /&gt;fired&lt;br /&gt;4. you can write a sp in Trigger but in a Trigger you cant &lt;br /&gt;write SP.&lt;br /&gt;5. Trigger written on an individual Table or View where SP &lt;br /&gt;is written for an Database&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8617750324093825780-6428354158312204208?l=quadtechindia.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/6428354158312204208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8617750324093825780&amp;postID=6428354158312204208&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/6428354158312204208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/6428354158312204208'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/2012/01/difference-between-triggers-and-stored.html' title='Difference between Triggers and Stored Procedure'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8617750324093825780.post-8795391859296548722</id><published>2011-12-25T17:42:00.001+05:30</published><updated>2012-01-04T12:12:48.564+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>USB Flash drive automatic back up</title><content type='html'>Automatically backup USB flash drives with help of an application available on www . usbflashcopy . com , a free utility..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8617750324093825780-8795391859296548722?l=quadtechindia.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/8795391859296548722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8617750324093825780&amp;postID=8795391859296548722&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/8795391859296548722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/8795391859296548722'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/2011/12/usb-flash-drive-automatic-back-up.html' title='USB Flash drive automatic back up'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8617750324093825780.post-2122694330886154155</id><published>2011-12-25T16:07:00.001+05:30</published><updated>2012-01-04T12:12:59.730+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>THINGS Your WEBCAM Can Do</title><content type='html'>&lt;b&gt;1. HOME SECURITY SYSTEM : -&lt;/b&gt;&lt;br /&gt;Free Softwares are available over internet for download, which you can use to turn a webcam into a remote security system.&lt;br /&gt;Check out www.yawcam. com (For Windows)or  www. vitamindinc.com (Windows and MAC).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. Gaming : -&lt;/b&gt;&lt;br /&gt;Try www.newgrounds. com, which have plenty of games which uses web cam as an input like keyboard and mouse. Check it out!!&lt;br /&gt;&lt;br /&gt;&lt;b&gt;3. Unlock your laptop / desktop using face recognition&lt;/b&gt;&lt;br /&gt;Visit http://bananascreen.en.softonic.com and download the free software.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;4. Funny Effects on Photo&lt;/b&gt;&lt;br /&gt;Check out www.cameroid.com or www.seenly.com and have fun.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;5. BAR CODE READER &lt;/b&gt;&lt;br /&gt;Shocked but its true. Download the software from www.bcwebcam. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;6. MAKE A FONT OF YOUR HANDWRITING&lt;/b&gt;&lt;br /&gt;Head over to www.pilothandwriting.com and create one and show your friends your  handwriting is one of fonts which systems supports&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8617750324093825780-2122694330886154155?l=quadtechindia.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/2122694330886154155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8617750324093825780&amp;postID=2122694330886154155&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/2122694330886154155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/2122694330886154155'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/2011/12/things-your-webcam-can-do.html' title='THINGS Your WEBCAM Can Do'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8617750324093825780.post-6110111605124995608</id><published>2010-09-01T13:37:00.000+05:30</published><updated>2010-09-01T13:37:45.245+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='dotnet'/><title type='text'>Difference between website and web application : ASP.NET</title><content type='html'>A "web site" has its code in a special App_Code directory and it's compiled into several DLLs at runtime. A "web application" is precompiled into one single DLL that is built and copied in the Bin directory. &lt;br /&gt;&lt;br /&gt;A web site  is just a group of all files in a folder and sub folders. There is no project file. All files under the specific folder - including your word documents, text files, images etc are part of the web site.&lt;br /&gt;&lt;br /&gt;You have to deploy all files including source files (unless you pre compile them) to the server. Files are compiled dynamically during run time.&lt;br /&gt;&lt;br /&gt;In website since there is no project file, there is nothing that you can double click to open the web site in Visual Studio for editing. You have to open Visual Studio first and then open the site from Visual Studio&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8617750324093825780-6110111605124995608?l=quadtechindia.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/6110111605124995608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8617750324093825780&amp;postID=6110111605124995608&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/6110111605124995608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/6110111605124995608'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/2010/09/difference-between-website-and-web.html' title='Difference between website and web application : ASP.NET'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8617750324093825780.post-4717899788891105579</id><published>2010-08-30T16:17:00.003+05:30</published><updated>2010-08-30T16:18:21.646+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='dotnet'/><title type='text'>Terminate a process in task manager</title><content type='html'>public void terminate()&lt;br /&gt;{&lt;br /&gt;Process[] plist = Process.GetProcesses();&lt;br /&gt;foreach (Process p in plist)&lt;br /&gt;{&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;if (p.MainModule.ModuleName.ToUpper() == "WEBDEV.WEBSERVER.EXE")&lt;br /&gt;{&lt;br /&gt;//p.Kill();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if (p.MainModule.ModuleName.ToUpper() == "IEXPLORE.EXE")&lt;br /&gt;{&lt;br /&gt;p.Kill();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;catch&lt;br /&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/8617750324093825780-4717899788891105579?l=quadtechindia.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/4717899788891105579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8617750324093825780&amp;postID=4717899788891105579&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/4717899788891105579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/4717899788891105579'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/2010/08/terminate-process-in-task-manager.html' title='Terminate a process in task manager'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8617750324093825780.post-8212754292939835228</id><published>2010-06-10T11:14:00.000+05:30</published><updated>2010-06-10T11:14:58.385+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Code to export data to excel in asp.net using c#</title><content type='html'>if (GridView1.Rows.Count &gt; 0)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;Response.ContentType = "application/vnd.ms-excel";&lt;br /&gt;Response.Charset = "";&lt;br /&gt;this.EnableViewState = false;&lt;br /&gt;&lt;br /&gt;Response.Write("&lt;h4&gt;");&lt;br /&gt;Response.Write("&lt;table width='100%' height='100%' border='0' cellpadding='0' cellspacing='0'&gt;&lt;tr&gt;&lt;td&gt;&lt;table width='100%' border='0' cellpadding='0' cellspacing='0'  &gt;&lt;tr&gt;&lt;td width='100%' &gt;logo image&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td &gt;Title&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/table&gt;");&lt;br /&gt;Response.Write("&lt;/h4&gt;");&lt;br /&gt;Response.Write("&lt;br /&gt;");&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;gvRes.HeaderStyle.Font.Bold = true;&lt;br /&gt;gvRes.HeaderStyle.BackColor = System.Drawing.Color.Black;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;System.IO.StringWriter tw = new System.IO.StringWriter();&lt;br /&gt;System.Web.UI.HtmlTextWriter hw = new System.Web.UI.HtmlTextWriter(tw);&lt;br /&gt;HtmlForm frm = new HtmlForm();&lt;br /&gt;this.Controls.Add(frm);&lt;br /&gt;&lt;br /&gt;frm.Controls.Add(gvRes);&lt;br /&gt;frm.RenderControl(hw);&lt;br /&gt;Response.Write(tw.ToString());&lt;br /&gt;Response.End();&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/8617750324093825780-8212754292939835228?l=quadtechindia.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/8212754292939835228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8617750324093825780&amp;postID=8212754292939835228&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/8212754292939835228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/8212754292939835228'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/2010/06/code-to-export-data-to-excel-in-aspnet.html' title='Code to export data to excel in asp.net using c#'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8617750324093825780.post-2401408898250329127</id><published>2010-05-25T18:06:00.001+05:30</published><updated>2010-06-10T11:04:33.404+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql'/><title type='text'>How to Enable saving of changes in SQL server 2008</title><content type='html'>you can get the details by clicking on ? on the dialog box that shows this error&lt;br /&gt;&lt;br /&gt;or the flow is&lt;br /&gt;&lt;br /&gt;Open the following&lt;br /&gt;Tools &gt; Options &gt; Designers &gt; Table and Database Designers &gt; Prevent saving changes that require table re-creation. Just Turn this option off and you will be able to save the tables again.&lt;br /&gt;&lt;br /&gt;and now you can save changes to all tables of any database.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8617750324093825780-2401408898250329127?l=quadtechindia.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/2401408898250329127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8617750324093825780&amp;postID=2401408898250329127&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/2401408898250329127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/2401408898250329127'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/2010/05/how-to-enable-saving-of-changes-in-sql.html' title='How to Enable saving of changes in SQL server 2008'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8617750324093825780.post-894799785590156715</id><published>2010-04-07T15:10:00.001+05:30</published><updated>2010-06-10T11:09:18.133+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Function to Encrypt-Decrypt Connection String in Web.Config File</title><content type='html'>Code to Encrypt Connection String in Web.Config File&lt;br /&gt;&lt;br /&gt;using System.Configuration;&lt;br /&gt;using System.Web.Configuration;&lt;br /&gt;using System.Web.Security;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public void EncryptConnectionString()&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;Configuration config = WebConfigurationManager.OpenWebConfiguration(Request.ApplicationPath);&lt;br /&gt;ConfigurationSection section = config.GetSection("connectionStrings");&lt;br /&gt;if (!section.SectionInformation.IsProtected)&lt;br /&gt;{&lt;br /&gt;section.SectionInformation.ProtectSection("RsaProtectedConfigurationProvider");&lt;br /&gt;config.Save();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public void DecryptConnectionString()&lt;br /&gt;{&lt;br /&gt;Configuration config = WebConfigurationManager.OpenWebConfiguration(Request.ApplicationPath);&lt;br /&gt;ConfigurationSection section = config.GetSection("connectionStrings");&lt;br /&gt;if (section.SectionInformation.IsProtected)&lt;br /&gt;{&lt;br /&gt;section.SectionInformation.UnprotectSection();&lt;br /&gt;config.Save();&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8617750324093825780-894799785590156715?l=quadtechindia.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/894799785590156715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8617750324093825780&amp;postID=894799785590156715&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/894799785590156715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/894799785590156715'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/2010/04/function-to-encrypt-decrypt-connection.html' title='Function to Encrypt-Decrypt Connection String in Web.Config File'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8617750324093825780.post-890993929731734875</id><published>2010-02-19T05:12:00.001+05:30</published><updated>2010-06-10T11:10:06.325+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='dotnet'/><title type='text'>A potentially dangerous Request.Form value was detected from the client side</title><content type='html'>If you face such above mentioned error on inserting a value then that value might be containing anchor tags(&lt; or &gt;). If you want to insert these values you have to write&lt;br /&gt;&lt;br /&gt;ValidateRequest="false" in page directive (first line of .aspx file)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="xyx.aspx.cs" Inherits="xyz" ValidateRequest="false" %&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8617750324093825780-890993929731734875?l=quadtechindia.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/890993929731734875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8617750324093825780&amp;postID=890993929731734875&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/890993929731734875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/890993929731734875'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/2010/02/potentially-dangerous-requestform-value.html' title='A potentially dangerous Request.Form value was detected from the client side'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8617750324093825780.post-389430756440525514</id><published>2010-02-01T23:31:00.001+05:30</published><updated>2010-06-10T11:11:29.926+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql'/><title type='text'>Code to identify sql server version and edition</title><content type='html'>Write following statement in Query Window&lt;br /&gt;&lt;br /&gt;SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;* The product version (10.0.1600.24)&lt;br /&gt;* The product level (RTM)&lt;br /&gt;* The edition (Enterprise)&lt;br /&gt;&lt;br /&gt;Inorder to find out version of sql server write the following statements in query window&lt;br /&gt;&lt;br /&gt;SELECT @@VERSION&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8617750324093825780-389430756440525514?l=quadtechindia.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/389430756440525514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8617750324093825780&amp;postID=389430756440525514&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/389430756440525514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/389430756440525514'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/2010/02/code-to-identify-sql-server-version-and.html' title='Code to identify sql server version and edition'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8617750324093825780.post-5365445877189454687</id><published>2010-01-20T02:25:00.004+05:30</published><updated>2010-06-10T11:11:47.464+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Code to export data to excel via asp.net</title><content type='html'>if (GridView1.Rows.Count &gt; 0)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;Response.ContentType = "application/vnd.ms-excel";&lt;br /&gt;Response.Charset = "";&lt;br /&gt;this.EnableViewState = false;&lt;br /&gt;&lt;br /&gt;Response.Write("Add anything (tag or text) as per requirement");&lt;br /&gt;&lt;br /&gt;GridView1.HeaderStyle.Font.Bold = true;&lt;br /&gt;GridView1.HeaderStyle.BackColor = System.Drawing.Color.Black;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;System.IO.StringWriter tw = new System.IO.StringWriter();&lt;br /&gt;System.Web.UI.HtmlTextWriter hw = new System.Web.UI.HtmlTextWriter(tw);&lt;br /&gt;HtmlForm frm = new HtmlForm();&lt;br /&gt;this.Controls.Add(frm);&lt;br /&gt;&lt;br /&gt;frm.Controls.Add(GridView1);&lt;br /&gt;frm.RenderControl(hw);&lt;br /&gt;Response.Write(tw.ToString());&lt;br /&gt;Response.End();&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/8617750324093825780-5365445877189454687?l=quadtechindia.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/5365445877189454687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8617750324093825780&amp;postID=5365445877189454687&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/5365445877189454687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/5365445877189454687'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/2010/01/code-to-export-data-to-excel-via-aspnet.html' title='Code to export data to excel via asp.net'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8617750324093825780.post-3346463900208411120</id><published>2010-01-19T02:17:00.001+05:30</published><updated>2010-06-10T11:15:31.550+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='dotnet'/><title type='text'>What is Literal ?</title><content type='html'>A Literal Web Server control doesn't have any visual appearance on a Web Form but is used to insert literal text into a Web Form. This control makes it possible to add HTML code directly in the code designer window without switching to design view and clicking the HTML button to edit the HTML. &lt;br /&gt;The notable property of this control is the text property which is the text that is inserted into the Web Form.&lt;br /&gt;&lt;br /&gt;Example&lt;br /&gt;&lt;br /&gt;The following line of code demonstrates that. &lt;br /&gt;&lt;br /&gt;Literal1.Text = "&lt;b&gt;&lt;u&gt;Literal Demo&lt;/b&gt;&lt;/u&gt;"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8617750324093825780-3346463900208411120?l=quadtechindia.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/3346463900208411120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8617750324093825780&amp;postID=3346463900208411120&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/3346463900208411120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/3346463900208411120'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/2010/01/what-is-literal.html' title='What is Literal ?'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8617750324093825780.post-7698396492206046771</id><published>2009-11-04T14:10:00.003+05:30</published><updated>2010-06-10T11:15:50.519+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql'/><title type='text'>Sql data adapter  in C#</title><content type='html'>using System.Data;&lt;br /&gt;using System.Data.SqlClient;&lt;br /&gt;using System.Windows.Forms;&lt;br /&gt;&lt;br /&gt;namespace WindowsFormsApplication9&lt;br /&gt;{&lt;br /&gt;public partial class Form1 : Form&lt;br /&gt;{&lt;br /&gt;public Form1()&lt;br /&gt;{&lt;br /&gt;InitializeComponent();&lt;br /&gt;FillData();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void FillData()&lt;br /&gt;{&lt;br /&gt;// 1&lt;br /&gt;// Open connection&lt;br /&gt;using (SqlConnection c = new SqlConnection(&lt;br /&gt;Properties.Settings.Default.DataConnectionString))&lt;br /&gt;{&lt;br /&gt;c.Open();&lt;br /&gt;// 2&lt;br /&gt;// Create new DataAdapter&lt;br /&gt;using (SqlDataAdapter a = new SqlDataAdapter("SELECT * FROM EmployeeIDs", c))&lt;br /&gt;{&lt;br /&gt;// 3&lt;br /&gt;// Use DataAdapter to fill DataTable&lt;br /&gt;DataTable t = new DataTable();&lt;br /&gt;a.Fill(t);&lt;br /&gt;&lt;br /&gt;// 4&lt;br /&gt;// Render data onto the screen&lt;br /&gt;dataGridView1.DataSource = t; // &lt;-- From your designer&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Part 1. This creates a new SqlConnection instance. Note that you must include the System.Data.SqlClient namespace in your program. [See top of code]&lt;br /&gt;&lt;br /&gt;Part 2. After calling Open() on the SqlConnection, we use another using block for the SqlDataAdapters. The using statements are ideal for disposing of resources, making your programs more efficient and reliable. [C# SqlClient Tutorial - dotnetperls.com]&lt;br /&gt;&lt;br /&gt;Part 3. Here we instantiate and Fill a new DataTable. Note that the Fill method on DataTable will populate the internal rows and columns of the DataTable to match the SQL result.&lt;br /&gt;&lt;br /&gt;Part 4. This part is commented out because it won't compile unless you have a DataGridView. We see the DataSource being assigned to the DataTable. The result will be a filled DataGridView with data from SQL Server.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8617750324093825780-7698396492206046771?l=quadtechindia.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/7698396492206046771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8617750324093825780&amp;postID=7698396492206046771&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/7698396492206046771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/7698396492206046771'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/2009/11/sql-data-adapter-in-c.html' title='Sql data adapter  in C#'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8617750324093825780.post-2078733989008776632</id><published>2009-11-04T14:00:00.004+05:30</published><updated>2010-06-10T11:16:07.885+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Culture and UI Culture for ASP.NET Web Page Globalization</title><content type='html'>In an ASP.NET Web page, you can set to two culture values, the Culture and UICulture properties. The Culture value determines the results of culture-dependent functions, such as the date, number, and currency formatting, and so on. The UICulture value determines which resources are loaded for the page.&lt;br /&gt;The two culture settings do not have to have the same value. Depending on your application, it might be important to set them separately. An example is a Web auction site. The UICulture property might change for each Web browser, whereas the Culture stays constant. Therefore, prices are always displayed in the same currency and formatting.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;%@ Page Language="C#" uiculture="auto" %&gt;&lt;br /&gt;&lt;%@ Import Namespace="System.Threading" %&gt;&lt;br /&gt;&lt;%@ Import Namespace="System.Globalization" %&gt;&lt;br /&gt;script runat="server"&lt;br /&gt;protected override void InitializeCulture()&lt;br /&gt;{&lt;br /&gt;if (Request.Form["ListBox1"] != null)&lt;br /&gt;{&lt;br /&gt;String selectedLanguage = Request.Form["ListBox1"];&lt;br /&gt;UICulture = selectedLanguage ;&lt;br /&gt;Culture = selectedLanguage ;&lt;br /&gt;&lt;br /&gt;Thread.CurrentThread.CurrentCulture =&lt;br /&gt;CultureInfo.CreateSpecificCulture(selectedLanguage);&lt;br /&gt;Thread.CurrentThread.CurrentUICulture = new&lt;br /&gt;CultureInfo(selectedLanguage);&lt;br /&gt;}&lt;br /&gt;base.InitializeCulture();&lt;br /&gt;}&lt;br /&gt;/script&lt;br /&gt;html&lt;br /&gt;body&lt;br /&gt;form id="form1" runat="server"&lt;br /&gt;div&lt;br /&gt;asp:ListBox ID="ListBox1" runat="server"&lt;br /&gt;asp:ListItem Value="en-US"&lt;br /&gt;Selected="True"English /asp:ListItem&lt;br /&gt;asp:ListItem Value="es-MX"&gt;Español /asp:ListItem&lt;br /&gt;asp:ListItem Value="de-DE"&gt;Deutsch /asp:ListItem&lt;br /&gt;/asp:ListBox &lt;br /&gt;br /&lt;br /&gt;asp:Button ID="Button1" runat="server"&lt;br /&gt;Text="Set Language"&lt;br /&gt;meta:resourcekey="Button1" /&lt;br /&gt;br /&lt;br /&gt;asp:Label ID="Label1" runat="server"&lt;br /&gt;Text=""&lt;br /&gt;meta:resourcekey="Label1" /&lt;br /&gt;/div&lt;br /&gt;/form&lt;br /&gt;/body&lt;br /&gt;/html&lt;br /&gt;&lt;br /&gt;tags cannot be posted so please add angels brackets&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8617750324093825780-2078733989008776632?l=quadtechindia.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/2078733989008776632/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8617750324093825780&amp;postID=2078733989008776632&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/2078733989008776632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/2078733989008776632'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/2009/11/culture-and-ui-culture-for-aspnet-web.html' title='Culture and UI Culture for ASP.NET Web Page Globalization'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8617750324093825780.post-7408878381474798849</id><published>2009-10-08T09:54:00.001+05:30</published><updated>2010-06-10T11:16:24.918+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql'/><title type='text'>Example to Insert and Update Trigger in Sql-Server</title><content type='html'>Insert Trigger&lt;br /&gt;CREATE TRIGGER trig_addAuthor&amp;nbsp; ON [dbo].[Emp] &lt;br /&gt;FOR INSERT&lt;br /&gt;AS&lt;br /&gt;DECLARE @newName VARCHAR(100) &lt;br /&gt;SELECT @newName = (SELECT ename FROM Inserted)&lt;br /&gt;-- Print the name of the new author &lt;br /&gt;PRINT 'New author "' + @newName + '" added.'&lt;br /&gt;&lt;br /&gt;Update Trigger&lt;br /&gt;CREATE TRIGGER trig_updateemp&lt;br /&gt;ON emp&lt;br /&gt;FOR UPDATE &lt;br /&gt;AS&lt;br /&gt;DECLARE @oldName VARCHAR(100) &lt;br /&gt;DECLARE @newName VARCHAR(100)&lt;br /&gt;IF NOT UPDATE(ename)&amp;nbsp; &lt;br /&gt;BEGIN &lt;br /&gt;RETURN &lt;br /&gt;END&lt;br /&gt;SELECT @oldName = (SELECT ename FROM Deleted) &lt;br /&gt;SELECT @newName = (SELECT ename FROM Inserted)&lt;br /&gt;PRINT 'Name changed from "' + @oldName + '" to "' + @newName + '"'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8617750324093825780-7408878381474798849?l=quadtechindia.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/7408878381474798849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8617750324093825780&amp;postID=7408878381474798849&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/7408878381474798849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/7408878381474798849'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/2009/10/example-to-insert-and-update-trigger-in.html' title='Example to Insert and Update Trigger in Sql-Server'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8617750324093825780.post-8641078779530943735</id><published>2009-09-24T09:00:00.002+05:30</published><updated>2010-06-10T11:16:42.581+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Code to clear cache in asp.net</title><content type='html'>Response.Cache.SetNoStore();&lt;br /&gt;Response.Cache.SetCacheability(HttpCacheability.NoCache);&lt;br /&gt;&lt;br /&gt;write this code in page load &lt;br /&gt;add using System.Web;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8617750324093825780-8641078779530943735?l=quadtechindia.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quadtechindia.blogspot.com/feeds/8641078779530943735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8617750324093825780&amp;postID=8641078779530943735&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/8641078779530943735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8617750324093825780/posts/default/8641078779530943735'/><link rel='alternate' type='text/html' href='http://quadtechindia.blogspot.com/2009/09/code-to-clear-cache-in-aspnet.html' title='Code to clear cache in asp.net'/><author><name>Quadtechindia</name><uri>http://www.blogger.com/profile/12119999442781656125</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
