How do I
Welcome to How do I section of C# Corner. Learn how to do things related to C#, .Net, ASP.NET, Visual Studio.


  • Nipun Tomar

    Change SQL Server 2005 SA Password

    This Article shows how to change the password of any account in SQL Server.
    Nipun Tomar Mar 28, 2007
  • Yogesh Verma

    Maintain Scroll Position on Postback in ASP.NET 2.0

    This article shows how to allows pages to automatically maintain the current scroll position across postbacks.
    Yogesh Verma Dec 29, 2006
  • Mahesh Chand

    How do I Generate Random Number in C#?

    This code snippet shows how to you generate a random number between a range in C#.
    Mahesh Chand Dec 27, 2006
  • Joshy George

    Simple Password Encryption Program

    This article shows you how to make a simple password encryption program.
    Joshy George Oct 31, 2006
  • Pankaj Gupta

    How to create Themes in ASP.NET 2.0?

    This small tip shows you how to create and use simple themes in ASP.NET 2.0.
    Pankaj Gupta Oct 30, 2006
  • Dipal Choksi

    Calculating Date Difference in C#

    This article introduces the various options for calculating the date difference in C#.
    Dipal Choksi Oct 19, 2006
  • Anil Tripathi

    Tip: Disable Validation Controls in ASP.NET

    This tip shows how to enable and disable validation control if controltovalidate is visible or invisible?
    Anil Tripathi Sep 27, 2006
  • Shafiq Ahmed

    PDF Search in SharePoint

    This is a small article that tells users about the PDF search in SharePoint. I have not included the exact steps that need to be taken because that has already been published before on many sites i...
    Shafiq Ahmed Sep 11, 2006
  • Mahesh Chand

    Update and Delete Rows in a DataTable

    This how do I shows how to update and delete rows when looping through a DataTable.
    Mahesh Chand Aug 24, 2006
  • Matthew Cochran

    The C# Value Type and Boxing

    Even though with the .NET framework we don't have to actively worry about memory management and garbage collection (GC), we still have to keep memory management and GC in mind in order to optimize ...
    Matthew Cochran May 21, 2006
  • Ashish Singhal

    Create Meta Tags Programmatically in ASP.NET 2.0

    In ASP.NET, we had an option to add head tags in HTML where we could define our Meta tags like keyword and description but in ASP.NET 2.0 if we use master page inheritated page then there is proble...
    Ashish Singhal Apr 06, 2006
  • Sushmita Kumari

    Magic of Regex using C#.Net

    This article is all about Regex which shows different functionalities of the RegularExpression Class with sample code.
    Sushmita Kumari Mar 31, 2006
  • Mahesh Chand

    Access Command Line Arguments in C#

    This article shows how to access command line arguments in C#.
    Mahesh Chand Mar 25, 2006
  • Rajesh Charagandla

    Convert Long to Short File Names in C#

    Here in this article is very simple code for short to long and long to short file names conversion.
    Rajesh Charagandla Mar 17, 2006
  • Jaish Mathews

    Use Customized Indexers

    Many of you are aware of indexers and its properties. For those unaware of it want to know that indexers are used to represent objects using indexes or even using keys. I.e. we can represent an obj...
    Jaish Mathews Mar 17, 2006
  • Chandra Vedantham

    Access a Form Control in Code Behind

    The code given in article will serve as a BasePage which can be used in the ASPX pages where HtmlForm controls needs to be accessed
    Chandra Vedantham Mar 15, 2006
  • Patrick Smacchia

    Attributes in C#

    In this artilcle, we will see what the attributes are and why should we use the attributes in our applications?
    Patrick Smacchia Mar 09, 2006
  • Ashish Singhal

    Using Dispose method in C#

    This artice will explain about Finalize and Dispose method implementation in C#.
    Ashish Singhal Feb 17, 2006
  • Ashish Singhal

    Generics in C# 2.0

    In this article we will see how we can use generics in C#, we have read this concept as templates in C++.
    Ashish Singhal Feb 02, 2006
  • Matthew Cochran

    Types of Variables

    In this article we'll cover the behaviors of variables to Reference Types.
    Matthew Cochran Feb 01, 2006
  • Ashish Singhal

    Fetching Data from a Database in XML Format

    In this article we will see how to fetch data from database in XML format.
    Ashish Singhal Jan 28, 2006