<?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-1843004773770863778</id><updated>2011-11-27T16:30:10.429-08:00</updated><category term='Asp.net Textbox'/><category term='Asp.net Label'/><category term='URL Rewriting'/><category term='CSS'/><category term='SQL Injection'/><category term='GridView'/><category term='SQL Cursors'/><category term='Stored Procedures'/><category term='XML'/><category term='MS SQL'/><category term='GDI'/><category term='Registry'/><category term='Google'/><category term='DataBase'/><category term='godaddy'/><category term='Asp.Net Controls'/><category term='C#'/><category term='Google Toolbar'/><category term='Regex'/><category term='.Net Data Types'/><category term='RSS'/><category term='Validation Controls'/><category term='HTML'/><category term='Web Browsers'/><category term='Software'/><category term='email'/><category term='Ado.Net'/><category term='VB.Net'/><category term='Master Pages'/><category term='Asp.net Errors'/><category term='ASP.Net'/><category term='JavaScript'/><category term='Java Script'/><category term='Windows Application'/><category term='.Net Framework'/><category term='Excel'/><title type='text'>The .NET Code Room</title><subtitle type='html'>ASP.Net, VB.Net, C#, Microsoft Visual Studio .Net, Quick Tutorials, .Net Tips and Tricks, asp.Net Tips and Tricks, Ajay Sharma's Blog, Java Script, javascript, HTML, .Net Sample Codes</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>38</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-4485481808346931102</id><published>2011-06-12T23:49:00.001-07:00</published><updated>2011-06-12T23:50:32.456-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='GDI'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net Errors'/><title type='text'>Parameter is not valid. Asp.net GDI exception</title><summary type='text'>I was getting this exception while working with the GDI images in asp.net.My requirement was to upload the image from client then resize it and display.The code was working fine on local development machine, but on production server it was throwing “Parameter is not valid” exception.The general cause of this is that non-availability of resources required to generate a valid image file.In my case </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/4485481808346931102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=4485481808346931102' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/4485481808346931102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/4485481808346931102'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2011/06/parameter-is-not-valid-aspnet-gdi.html' title='Parameter is not valid. Asp.net GDI exception'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-4086110258393797072</id><published>2011-06-12T23:47:00.000-07:00</published><updated>2011-06-12T23:49:07.848-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net Controls'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Generic function to display images on webpage asp.net</title><summary type='text'>Hi fellas,I am writing this post after a long time. This new year I am back at blogging to help the software developers in writing better code .Ever need of a generic/common function to display the images on website?In normal practice, whenever we need to show an image, we used to directly writeImage.Src= “/userfiles/abc.jpg”;This can be painful sometimes if your folder path gets changed,  in </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/4086110258393797072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=4086110258393797072' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/4086110258393797072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/4086110258393797072'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2011/06/generic-function-to-display-images-on.html' title='Generic function to display images on webpage asp.net'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-7856757364984513489</id><published>2010-05-23T00:28:00.000-07:00</published><updated>2010-05-23T00:59:22.460-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='email'/><category scheme='http://www.blogger.com/atom/ns#' term='godaddy'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>goDaddy hosting, send emails using asp.net</title><summary type='text'>I had very hard time in sending emails using asp.net on go daddy shared hosting.I tried many options like ssl, default credentials, smtp, ports etc.Finally below settings worked:1) Setting From Email (abc@domainHostedOnGoDaddy.com)2) SmtpClient as relay-hosting.secureserver.net3) Disabling the SSL4) Settings Credentials with username and passwordCode                  System.Net.Mail.MailMessage </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/7856757364984513489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=7856757364984513489' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/7856757364984513489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/7856757364984513489'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2010/05/godaddy-hosting-send-emails-using.html' title='goDaddy hosting, send emails using asp.net'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-9114175845233970942</id><published>2010-02-10T01:38:00.000-08:00</published><updated>2010-02-10T02:00:47.905-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>Disable text selection and right click in html / asp.net pages</title><summary type='text'>If you want that your html page's content (text/images) should not be copied then you need to disable the right click and the text selection.Most of the scripts are available on internet to do this but most of them are not cross browser compatible.Disabling the right click works on all browsers, but the text selection blocking javascript code in mozilla prevents click on the textboxes. Means if </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/9114175845233970942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=9114175845233970942' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/9114175845233970942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/9114175845233970942'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2010/02/disable-text-selection-and-right-click.html' title='Disable text selection and right click in html / asp.net pages'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-1863707682680222506</id><published>2009-10-04T01:58:00.001-07:00</published><updated>2009-10-04T05:43:05.724-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net Errors'/><title type='text'>this._form is null or not an object, JavaScript Error</title><summary type='text'>I was getting below javascript error everytime i run my visual studio asp.net web pages:this._form is null or not an objectBecause of this error all my AJAX controls and page postback stopped working.As the error clearly states that it is a JavaScript error so i started checking all my Javascript code.Finally searching on the internet i found the cause and cure of this problem.Cause:If you are </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/1863707682680222506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=1863707682680222506' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/1863707682680222506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/1863707682680222506'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2009/10/thisform-is-null-or-not-object.html' title='this._form is null or not an object, JavaScript Error'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-1529653755240968474</id><published>2009-06-24T02:49:00.000-07:00</published><updated>2009-06-24T03:12:34.684-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Application'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel'/><category scheme='http://www.blogger.com/atom/ns#' term='Ado.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Read Excel files using C-Sharp windows application</title><summary type='text'>This article explains how to read excel files using c sharp in windows applications.using System.Data.OleDb;private void btnRead_Click(object sender, EventArgs e)     {         try         {                              string connStr = connStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Application.StartupPath + @"\Courier.xls;Extended Properties=ImportMixedTypes=Text;Excel 8.0;HDR=Yes;</summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/1529653755240968474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=1529653755240968474' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/1529653755240968474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/1529653755240968474'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2009/06/read-excel-files-using-c-sharp-windows.html' title='Read Excel files using C-Sharp windows application'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-5615664574103555937</id><published>2009-06-23T06:06:00.000-07:00</published><updated>2009-06-23T06:26:48.872-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='URL Rewriting'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>URL rewriting using Global.asax, Error: The resource cannot be found.</title><summary type='text'>Today I implemented my first application having URL rewriting enabled.The application is created in Asp.net, C# and MS Sql 2005.The url rewriting logic was working on the my localhost but it didn't worked on production server.I was getting an error: The resource cannot be found. while accessing the newly created URL pages.I searched on Google about this and read lot, but nothing worked.Finally I </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/5615664574103555937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=5615664574103555937' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/5615664574103555937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/5615664574103555937'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2009/06/url-rewriting-using-globalasax-error.html' title='URL rewriting using Global.asax, Error: The resource cannot be found.'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-6449916530111479147</id><published>2009-03-24T05:26:00.000-07:00</published><updated>2009-03-24T05:28:20.895-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net Controls'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Traverse / Loop through all form controls in asp.net</title><summary type='text'>This post explains that how to traverse (loop through) all form controls in asp.net page.foreach (System.Web.UI.Control ctrl in this.form1.Controls){//here your code}Further if you want to get the state or data or manipulate the control, use the below code:Here I am checking that at least one DropDownList item is selected out of all DropDownLists in the current webform.bool isSelected = false;</summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/6449916530111479147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=6449916530111479147' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/6449916530111479147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/6449916530111479147'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2009/03/traverse-loop-through-all-form-controls.html' title='Traverse / Loop through all form controls in asp.net'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-3033464058866849017</id><published>2009-01-09T05:07:00.000-08:00</published><updated>2009-01-09T05:10:27.053-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Access your Asp.Net application over LAN</title><summary type='text'>This post explains how to access some Asp.Net Application residing on another machine on network.First of all you computer must be in the same workgroup as of the target computer. Then enter the following URL in the internet browser:http://192.168.1.84/myWebsiteTest/default.aspxorhttp://ajay/myWebsiteTest/default.aspxHere instead of ajay/192.168.1.84 you have to enter either the IP Address or the</summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/3033464058866849017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=3033464058866849017' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/3033464058866849017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/3033464058866849017'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2009/01/access-your-aspnet-application-over-lan.html' title='Access your Asp.Net application over LAN'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-1839747698110713286</id><published>2009-01-09T04:39:00.001-08:00</published><updated>2009-01-09T04:39:34.487-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>MyBase in VB.Net is equal to base in C#</title><summary type='text'>The Mybase object of VB.Net is similar to the base in C#.So while using C# use "base" instead of "MyBase".Happy Programing.</summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/1839747698110713286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=1839747698110713286' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/1839747698110713286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/1839747698110713286'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2009/01/mybase-in-vbnet-is-equal-to-base-in-c.html' title='MyBase in VB.Net is equal to base in C#'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-4555553064832927082</id><published>2008-11-15T04:44:00.000-08:00</published><updated>2009-01-09T04:48:47.143-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS SQL'/><title type='text'>Microsoft SQL Server DTS (Data Transformation Services) Import/Export Wizard Error</title><summary type='text'>If you are facing problems in “Choose a destination” option while importing and exporting data using Microsoft SQL Server DTS (Data Transformation Services) Import/Export Wizard, specifically the error mentioned below then this post may be helpful for you to get it solved.Error:DTS Import/Export ErrorError Source: Microsoft OLD DB Provider for SQL ServerError Description: [DBNETLIB][</summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/4555553064832927082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=4555553064832927082' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/4555553064832927082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/4555553064832927082'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2009/01/microsoft-sql-server-dts-data.html' title='Microsoft SQL Server DTS (Data Transformation Services) Import/Export Wizard Error'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SWdG7d7fxUI/AAAAAAAAAIM/51LIDNz3wi0/s72-c/SQLDataTransformationServiceError.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-2681018656010697500</id><published>2008-11-06T22:59:00.000-08:00</published><updated>2009-01-09T04:50:03.849-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net Errors'/><title type='text'>Unable to validate data, ASP.net error</title><summary type='text'>Error:Unable to validate data, ASP.net error at System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32&amp; dataLength) at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)Information:This is an View state decoding error.Cause:The basic reason of this is the difference of key while encrypting and decrypting the </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/2681018656010697500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=2681018656010697500' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/2681018656010697500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/2681018656010697500'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/11/unable-to-validate-data-aspnet-error.html' title='Unable to validate data, ASP.net error'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-5691485885912279296</id><published>2008-10-15T06:40:00.000-07:00</published><updated>2008-10-15T07:04:06.703-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Regex'/><title type='text'>Username Regex Validation</title><summary type='text'>While accepting values from user you must  validate the values because wrong values (like XSS attacks) can cause  harm to your database and website.The validation can be done on server side and can also be done on client side.Here I am explaining server side as this is the most secure way.Althrough the client side validation is included in the source codeClick here to download visual studio </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/5691485885912279296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=5691485885912279296' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/5691485885912279296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/5691485885912279296'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/10/username-regex-validation.html' title='Username Regex Validation'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-601804203898559567</id><published>2008-10-10T06:07:00.000-07:00</published><updated>2008-10-10T06:12:48.481-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Registry'/><title type='text'>Read &amp; Write to System Registry data, keys using C#</title><summary type='text'>In this post i am going to explain that how to access the System Registry and how to read and write data to registry. Step 1: First you need to import the below namespaces:using Microsoft.Win32; Step 2: Now create an object of Registry class:RegistryKey regkey; Step 3: Now access the registry and get the value of a key   regkey = Registry.CurrentUser.CreateSubKey(@”Software\Microsoft\FTP”);   if </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/601804203898559567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=601804203898559567' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/601804203898559567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/601804203898559567'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/10/read-write-to-system-registry-data-keys.html' title='Read &amp; Write to System Registry data, keys using C#'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-5714542419294829348</id><published>2008-10-06T05:39:00.000-07:00</published><updated>2008-10-06T05:40:52.070-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>Website Design Guidelines / Checklist</title><summary type='text'>1) Keep the raw file (e.g. psd, ai, cdr) in RGB format. Create the site design with the original dimensions (e.g. for 800x600=780, for 1024, 768=970).2) Try to keep text and images separate. Avoid overlapping of separate elements.3) Keep text content more than image.4) Always use web fonts like: Arial, Helvetica, Times New Roman, Courier New / Courier so that design at execution won’t look </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/5714542419294829348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=5714542419294829348' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/5714542419294829348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/5714542419294829348'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/10/website-design-guidelines-checklist.html' title='Website Design Guidelines / Checklist'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-666396963394212408</id><published>2008-10-03T04:01:00.001-07:00</published><updated>2008-10-03T04:02:48.758-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>How to get user’s IP address using asp.net</title><summary type='text'>Many times we need to get the current user’s / visitor’s IP address. Sometimes this is essential for security reasons.We must leg the user’s IP address in the following situations: 1) where you accept data from user, like guestbook newsletter, search page etc. This gives a plus point to the security of website, as you can get the user’s identity by his IP if he do something wrong with your </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/666396963394212408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=666396963394212408' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/666396963394212408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/666396963394212408'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/10/how-to-get-users-ip-address-using.html' title='How to get user’s IP address using asp.net'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-829700052105778765</id><published>2008-09-29T05:20:00.000-07:00</published><updated>2008-09-29T05:26:56.772-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>Preload images in HTML using JavaScript</title><summary type='text'>Preloading means loading an object (graphics, text, movie) before showing it to output. A good example is of  preloading in flash files, when you see a  loader before displaying the content, and after loading site shows a  smooth experience of flow of data.This is mostly used when there is an mouser over images to be  loaded. If user mouse overs an image and then you loads the new  mouse-over </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/829700052105778765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=829700052105778765' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/829700052105778765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/829700052105778765'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/09/preload-images-in-html-using-javascript.html' title='Preload images in HTML using JavaScript'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-2318744638327742888</id><published>2008-09-29T02:22:00.000-07:00</published><updated>2009-03-18T23:05:08.484-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Validation Controls'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.Net Controls'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Using RequiredFieldValidator with DropdownList Asp.Net</title><summary type='text'>You may have used RequiredFieldValidator  with Text controls, but if you wnat to use it with DropDownList  controls, you need to do some little extra work. Here is the trick.Step 1: Create an DropDownListStep 2: Drag and RequiredFieldValidator. Set it’s ControlToValidate property to the DropDownLis’s object.Step 3: Fill some items in the DropDownList. Add a first item as “Select”. This will </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/2318744638327742888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=2318744638327742888' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/2318744638327742888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/2318744638327742888'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/09/using-requiredfieldvalidator-with.html' title='Using RequiredFieldValidator with DropdownList Asp.Net'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-780016775065959557</id><published>2008-09-24T03:56:00.000-07:00</published><updated>2008-09-24T04:09:06.205-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DataBase'/><category scheme='http://www.blogger.com/atom/ns#' term='MS SQL'/><title type='text'>Change MS SQL 2005 login password using sql query</title><summary type='text'>If you want to change the MS Sql 2005 ’s password then just run the following sql query after logging into query anlyzersp_password ‘oldPassword’ , newPassword’NoteAlways use strong SQL passwords (i.e. having uppercase characters , lowercase characters, numeric values, special characters) for security purpose, this way it will be difficult to hack, hard to guess, hard to crack by brute force </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/780016775065959557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=780016775065959557' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/780016775065959557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/780016775065959557'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/09/change-ms-sql-2005-login-password-using.html' title='Change MS SQL 2005 login password using sql query'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-1254248921502181327</id><published>2008-09-17T03:22:00.001-07:00</published><updated>2009-10-04T05:46:24.136-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net Label'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net Textbox'/><title type='text'>Show line breakes in Asp.net Label</title><summary type='text'>To show line breaks in a server side asp.net label, you can either use a HTML formatted text or a plain text.HTML formatted text contains “” tags so while rendering the control .net framework handles the task to show the proper html formatted text into a Label.Example:lblDescription.Text=”namedescription”;The above code will display a line gap between name and description.But in case if user </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/1254248921502181327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=1254248921502181327' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/1254248921502181327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/1254248921502181327'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/09/show-line-breakes-in-aspnet-label.html' title='Show line breakes in Asp.net Label'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-5792731800449046237</id><published>2008-09-12T00:34:00.000-07:00</published><updated>2008-09-12T00:41:52.233-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RSS'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>What is RSS feed</title><summary type='text'>Really Simple Syndication (RSS) feeds are XML files which are provided by websites so you can view their contents on other website rather than browsing their site. Basically it’s an information sharing process having some specifiedcontent format of text and related links.Example:I have a blog and you want to show the my Blog’s content on your website.So what i have to do is to create a RSS of my </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/5792731800449046237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=5792731800449046237' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/5792731800449046237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/5792731800449046237'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/09/what-is-rss-feed.html' title='What is RSS feed'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-3403011304385167037</id><published>2008-09-09T01:47:00.000-07:00</published><updated>2008-09-09T01:50:14.849-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net Data Types'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Operator + cannot be applied to operands of type string and method group, C# error</title><summary type='text'>CauseThis error comes up when you tries to append two strings with the “+” sign. As the + sign in C# is a arithmetical operator so you cannot use this too append two string type values. To use “+” the values or variables must be if numeric type.As C# uses doesn’t supports implicit typecasting, for string concatenation use “&amp;” sign.Examplestring varTest = "";string str1 = "abc";int str2=21;varTest</summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/3403011304385167037/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=3403011304385167037' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/3403011304385167037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/3403011304385167037'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/09/operator-cannot-be-applied-to-operands.html' title='Operator + cannot be applied to operands of type string and method group, C# error'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-4062514702654590772</id><published>2008-09-06T03:27:00.001-07:00</published><updated>2008-09-08T01:21:59.148-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Send e-mail in ASp.Net 2.0 and onwards in C#</title><summary type='text'>The following code example can be used to send email using Asp.Net in 2.0 and higher versions version.The Namespace of email class is changed to System.Net.Mail from System.Web.Mail.Import the System.Net.Mail Namespaceusing System.Net.Mail;Code:MailMessage mail = new MailMessage();mail.From = new MailAddress(”info@yourDomain.com”,”Alert”);mail.To.Add(”you@yourdomain.com”);mail.Subject = “mail </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/4062514702654590772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=4062514702654590772' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/4062514702654590772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/4062514702654590772'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/09/send-e-mail-in-aspnet-20-and-onwards.html' title='Send e-mail in ASp.Net 2.0 and onwards in C#'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-7758528393371791968</id><published>2008-09-06T03:13:00.000-07:00</published><updated>2008-09-06T03:14:39.505-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Send e-mail using Asp.Net 1.1</title><summary type='text'>The following code example can be used to send email using Asp.Net in 1.1 version.First import Web.Mail namespace.using System.Web.Mail;Now add this code to your button click event:MailMessage mail = new MailMessage();String msgText = string.Empty;msgText = “Message here, you can also use Html tags for Rich Text Formatting.Hi.”;mail.To = “you@yourdomain.com”;mail.CC = “anyEmailAddress, its </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/7758528393371791968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=7758528393371791968' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/7758528393371791968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/7758528393371791968'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/09/send-e-mail-using-aspnet-11.html' title='Send e-mail using Asp.Net 1.1'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-4008993804718960902</id><published>2008-09-03T23:09:00.000-07:00</published><updated>2008-09-03T23:12:31.352-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Browsers'/><category scheme='http://www.blogger.com/atom/ns#' term='Google'/><title type='text'>Google’s Web Browser called Google Chrome is launched</title><summary type='text'>Yapee.Google has launched it’s own web browser named Google Chrome.Google Chrome is a very simple and sophisticated browser and very easy yo use.Google Chrome Features:~ Multiple tabs can be opened in same instance window.~ Thumbnails of most visited pages.~ Automatic bookmarks and history search reaults when you type any URL.~ Import settings and bookmarks from other web browsers.~ Application </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/4008993804718960902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=4008993804718960902' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/4008993804718960902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/4008993804718960902'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/09/googles-web-browser-called-google.html' title='Google’s Web Browser called Google Chrome is launched'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-6823482074054160621</id><published>2008-09-01T22:59:00.000-07:00</published><updated>2008-09-01T23:16:28.097-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DataBase'/><category scheme='http://www.blogger.com/atom/ns#' term='MS SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Stored Procedures'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Cursors'/><title type='text'>Rename a table Column in MS SQL</title><summary type='text'>How to rename a MS SQL server database table column name after the table creation??You can rename a column regardless of it is null or contains any data.We need to use a System stored procedure to rename. Any command with alter keywords won’t work.CodeEXEC sp_rename ‘tableName.[oldColumnName]‘, ‘newColumnName’, ‘COLUMN’Example:EXEC sp_rename ‘Ultra_tblPressRelease.[uShowStatus]‘, ‘uShowInA2B’, ‘</summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/6823482074054160621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=6823482074054160621' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/6823482074054160621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/6823482074054160621'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/09/rename-table-column-in-ms-sql.html' title='Rename a table Column in MS SQL'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-1690270214810174887</id><published>2008-08-30T03:22:00.000-07:00</published><updated>2008-10-01T06:42:07.308-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DataBase'/><category scheme='http://www.blogger.com/atom/ns#' term='MS SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Ado.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='GridView'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>ASp.Net 2.0 GridView Delete Button Confirmation pop-up</title><summary type='text'>While using GridView in asp.net pages wants to confirm the deletion form user. To do this we can take him to another page having GUI to confirm and then delete the record on that page.Instead of doing so much hardwork you can achieve this on the same page with a little bit of extra code.WorkaroundAdd a client alert script to the delete button of every row.In the delete event of GridView delete </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/1690270214810174887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=1690270214810174887' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/1690270214810174887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/1690270214810174887'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/08/aspnet-20-gridview-delete-button.html' title='ASp.Net 2.0 GridView Delete Button Confirmation pop-up'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/ajay.contact/SON9vAcOuxI/AAAAAAAAAGY/0J8wPMUbhuM/s72-c/dlNowGrn.gif' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-8331486997348316146</id><published>2008-08-25T03:27:00.000-07:00</published><updated>2008-08-25T03:29:04.143-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='VB.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>Show Message Box in Asp.net</title><summary type='text'>It’s not possible to show an alert message box in asp.net using server side code (like vb.net windows apps, msgbox).But this can be achieved by generating a client side Java Script code in a server-side event.CodePrivate Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.ClickshowMsg(”hey there”, Me)End SubPublic Sub showMsg(ByVal sMsg As String, ByVal frm</summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/8331486997348316146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=8331486997348316146' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/8331486997348316146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/8331486997348316146'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/08/show-message-box-in-aspnet.html' title='Show Message Box in Asp.net'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-4539054147357253120</id><published>2008-08-25T00:39:00.000-07:00</published><updated>2008-08-25T00:44:32.028-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net Textbox'/><category scheme='http://www.blogger.com/atom/ns#' term='Google Toolbar'/><title type='text'>Remove yellow autocomplete textbox background caused by Google Toolbar in Internet Explorer</title><summary type='text'>Hey guys,Recently i ran into this problem, some users of my client’s website complaint that in some web forms the name and email fields comes have a yellow background which hinders the readability of the field.After getting into depth details of the problem I came to knew that it happens only in Internet Explorer having Google Toolbar installed. In Firefox, Opera, Netscape it works fine.This is a</summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/4539054147357253120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=4539054147357253120' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/4539054147357253120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/4539054147357253120'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/08/remove-yellow-autocomplete-textbox.html' title='Remove yellow autocomplete textbox background caused by Google Toolbar in Internet Explorer'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-6546877691319315175</id><published>2008-08-22T00:27:00.000-07:00</published><updated>2008-08-22T00:31:12.447-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DataBase'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Injection'/><category scheme='http://www.blogger.com/atom/ns#' term='MS SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Ado.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Cursors'/><title type='text'>Update database data using SQL Cursors based on conditions</title><summary type='text'>Recently one of my MSSQL database got SQL Injection attacks.Hacker put some JavaScript code in all row data to get hits on his website (which is apparently blocked, and soon my site will also be got banned if it keep happening for a long time).Because the database has a huge amount of data, i can’t update table data using ExecuteNonQuery commands as it will result in a great overload on database </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/6546877691319315175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=6546877691319315175' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/6546877691319315175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/6546877691319315175'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/08/update-database-data-using-sql-cursors.html' title='Update database data using SQL Cursors based on conditions'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-7240367194790112254</id><published>2008-08-12T00:01:00.000-07:00</published><updated>2008-08-12T00:08:35.713-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>Change fore color of control using Java Script</title><summary type='text'>Many times we need to set the fore color or back color of controls (e.g. label, button etc).This can be achieved using CSS (supposing all of you know that) also but we can also do it using Java Script.This is a simple java script trick so you can use it with html controls as well as asp.net server controls.Here is an example for doing this :Code:&lt;a href=”contact.aspx” class=”mainMenuNormalStyle” </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/7240367194790112254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=7240367194790112254' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/7240367194790112254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/7240367194790112254'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/08/change-fore-color-of-control-using-java.html' title='Change fore color of control using Java Script'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-2759052147752576872</id><published>2008-07-30T08:19:00.000-07:00</published><updated>2008-08-05T23:46:06.629-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='VB.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>XML Serialization in .Net Framework (Write Xml from Dataset)</title><summary type='text'>WHAT IS SERIALIZATION ?Serialization is converting an object to a format in which it can be saved (exported) as file or a physical medium. A simple and basic example would be, if we create an XML from a Dataset it is called Serialization.CODE:    try      {      DataSet ds = new DataSet();      SqlDataAdapter da;      SqlConnection myConnection;      String connStr = </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/2759052147752576872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=2759052147752576872' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/2759052147752576872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/2759052147752576872'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/07/xml-serialization-in-net-framework.html' title='XML Serialization in .Net Framework (Write Xml from Dataset)'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-7704865147431370886</id><published>2008-06-21T01:23:00.000-07:00</published><updated>2008-07-30T09:32:01.604-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='Master Pages'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Add meta tags to master page from content page Asp.Net</title><summary type='text'>This post describes adding a meta tag in an dynamic page with dynamically generated content. This code can be used if you want to add meta tag to a page which is using Master pages.Step1  Put one content place holder in your master page in HEAD section, like::&lt;head id="Head1" runat="server"&gt;    &lt;asp:ContentPlaceHolder runat="server" id="ContentHeaders"&gt;&lt;/asp:ContentPlaceHolder&gt;&lt;/head&gt;Step2Now in </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/7704865147431370886/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=7704865147431370886' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/7704865147431370886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/7704865147431370886'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/06/add-meta-tags-to-master-page-from.html' title='Add meta tags to master page from content page Asp.Net'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-841167895133847739</id><published>2008-06-21T00:30:00.000-07:00</published><updated>2008-08-30T03:30:40.582-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>Disable the right click on a web page</title><summary type='text'>Some website has right-click disabled so that user cant copy paste using mouse, or cant save images contained into webpage.Copy paste this code&lt;body oncontextmenu=”return false;”&gt;  Html page content here  &lt;/body&gt;**End of article**</summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/841167895133847739/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=841167895133847739' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/841167895133847739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/841167895133847739'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/06/disable-right-click-on-web-page.html' title='Disable the right click on a web page'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-1755952946856257165</id><published>2008-06-18T05:52:00.000-07:00</published><updated>2008-06-18T06:08:37.039-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>Rotate a Label Text</title><summary type='text'>Display Vertically rotated text on a server side label ASP.NET or in a HTML control&lt;asp:Label id="lblTotate" style="writing-mode:tb-rl" runat="server"&gt;your text here&lt;/asp:Label&gt;For more reference:http://www.w3.org/TR/2001/WD-css3-text-20010517/http://msdn.microsoft.com/en-us/library/ms531187.aspx</summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/1755952946856257165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=1755952946856257165' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/1755952946856257165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/1755952946856257165'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/06/rotate-label-text.html' title='Rotate a Label Text'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-6033955704877077691</id><published>2008-01-18T01:09:00.000-08:00</published><updated>2008-01-18T01:12:17.296-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB.Net'/><title type='text'>Read CSV into an Array</title><summary type='text'>CODE:::Dim reader As Microsoft.VisualBasic.FileIO.TextFieldParserreader = My.Computer.FileSystem.OpenTextFieldParser _                ("C:\Temp\test.csv")reader.TextFieldType = Microsoft.VisualBasic.FileIO.FieldType.Delimitedreader.Delimiters = New String() {","}Dim currentRow As String()While Not reader.EndOfData    Try       currentRow = reader.ReadFields()       Dim currentField As String</summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/6033955704877077691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=6033955704877077691' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/6033955704877077691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/6033955704877077691'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/01/read-csv-into-array.html' title='Read CSV into an Array'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-4148158912234667455</id><published>2008-01-15T01:42:00.001-08:00</published><updated>2008-08-04T06:21:44.150-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.Net Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='VB.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Update dataset data back to database</title><summary type='text'>This post explains how to insert, update, and delete data in a Database using Dataset.The DataSet can be considered an in-memory cache of data retrieved from a database. The DataSet consists of a collection of tables, relationships, and constraints. Firstly, we have to fill data into a DataSet from Database.Secondly, when the DataSet is loaded, you can modify the data, and the DataSet will keep </summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/4148158912234667455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=4148158912234667455' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/4148158912234667455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/4148158912234667455'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/01/update-dataset-data-to-database.html' title='Update dataset data back to database'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1843004773770863778.post-201113412607706309</id><published>2008-01-14T02:43:00.000-08:00</published><updated>2008-07-30T08:18:09.551-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><title type='text'>Show default Text in Email Field</title><summary type='text'>Details::Show default Text in Email Field.Like on form load show "enter email id" in email field.On click clear this text.on mouse out with nothing entered show again this into textbox.Demo:CODE::Code:&lt;body&gt;&lt;input type="text" name="email" value="Your e-mail  adress" onfocus="if(this.value=='Your e-mail adress') this.value=''"  onblur="if(this.value==''  ) this.value='Your e-mail adress';" /&gt;</summary><link rel='replies' type='application/atom+xml' href='http://www.dotnetcoderoom.com/feeds/201113412607706309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1843004773770863778&amp;postID=201113412607706309' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/201113412607706309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1843004773770863778/posts/default/201113412607706309'/><link rel='alternate' type='text/html' href='http://www.dotnetcoderoom.com/2008/01/show-default-text-in-email-field.html' title='Show default Text in Email Field'/><author><name>Ajay Sharma</name><uri>http://www.blogger.com/profile/04773708163099605764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_OUtc6ybYpGQ/SiY4zx-yq5I/AAAAAAAAAME/5rFGzu9mYME/S220/5n0WL.jpeg'/></author><thr:total>0</thr:total></entry></feed>
