Coding is Fun, Coding is Boring, Coding is Love!

Tutorials and Snippets for easy life.

  • HTTP Error 500.52 – URL Rewrite Module Error – Class not registered IIS 7

    Well this is a small hint, that worked for me. I was trying to convert an application with SEO URL using IIS 7 URL REWRITE MODULE 2. I downloaded the the module and successfully installed. Using IIS MANAGER recreated the seo url rules using URL…

  • Asp.net Month DropDownlist

    It is boring to type month dropdownlist. I will just keep it here handy.  

  • Catching SqlDataSource Exception in asp.net C#

    All right, here is a simple tip to catch sqldatasource exception for delete, update, insert, select when using with gridview, dataview, formview, detailsview. If we were coding using 3-tier architecture, the exception can be caught easily using try catch and finally. The exception can arise…

  • Delete confirmation in Gridview in asp.net

    Hi all, Just thought to keep this snippet handy. When you create a gridview from a table and you add delete command in it. Whenever you click the delete command or link , the record gets deleted immediately. If there is a javascript popup confirmation…

  • Iterating through CheckBoxList Control and obtaining values in ASP.NET

    In this tutorial, I will show you how to iterate through the selected items of CheckBoxList Control and obtaining the values. The checkboxlist control has more than one check box and more than one check box can be selected. All these selected values are stored…

  • Adding Page Title, Meta Tags dynamically in ASP.NET 3.5 C#

    For Search Engine Optimization you have to add the page title and the meta tags in the all the pages. If it is a static page you can just add in the head section of the page. But in a dynamic asp.net page you have…

  • IE 6 upgrade warning in your asp.net pages using C#

    IF IE6 does not deliver your pages as designed. you can force a small warning box to IE6 users to upgrade their browsers. The demo shown here is for one aspx page, you can include this in your master page to show throughout the site.…

  • Using FileUpload Control to upload files in ASP.NET and C#

    Learn how to use FileUpload Control to upload files in ASP.NET and C# with this simple tutorial. For this tutorial you have to add a fileupload control to upload file, a label control to display the result and an image control to display the uploaded…

  • Sending E-Mail in ASP.NET and C#

    Sending e-mail in asp.net is a simple two step process. First you have to add the mail settings in the web.config file. Adding this will enable your site to send mail. Next, Create a aspx page to send mail using this settings. This code can…

  • Converting Virtual Directory into an Application to run ASP.NET in IIS

    Whenever you created an asp.net website using VWD or Visual studio (Which worked perfectly) and then tried run the same site through IIS (Internet Information Server) you may encounter the following error:- Server Error in ‘/’ Application. Configuration Error Description: An error occurred during the…