Click here to Skip to main content
15,886,816 members
Articles / Web Development / ASP.NET

A Handy Code to Get Your Project Connected to Any Database by ADO.NET

Rate me:
Please Sign up or sign in to vote.
3.78/5 (10 votes)
16 Jul 2009CPOL5 min read 48.1K   340   62  
Purely object oriented ADO code component to get your project running, no matter what database you are using at the backend. Specialised for SQL Server.
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for UnsupportedFactoryException
/// </summary>
public class UnsupportedFactoryException : _Exception
{
    public UnsupportedFactoryException(string errorMessage)
        : base(errorMessage)
    {
    }

    public UnsupportedFactoryException(string errorMessage, Exception innerEx)
        : base(errorMessage, innerEx)
    {
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer HCL Technologies Limited
India India
Rahul has worked on several technologies in Microsoft's technology stack. He has been in field of software developemnt for two years. He started with ASP.net and graduated to Windows application develeopment. His technology experience includes C#, LINQ, T-SQL,T-SQL, XML, PL\SQL, C, C++, VB, WebServices..

Apart from all these he is working on some of the most recent technology offerings such as Windows Azure, SQL Azure, SQL Azure Sync framework, MS Dallas, Powershell etc.

His goal of knowledge is to possess knowledge that is sky high and earth deep.

Comments and Discussions