Jagjit Saini

Jagjit Saini

  • NA
  • 166
  • 0

How to access Abstract Class Method

Jun 9 2011 12:03 AM
Hi

namespace nsDal
{
    public abstract class clscon
    {
        protected SqlConnection con = new SqlConnection();
        public clscon()
        {
            con.ConnectionString = ConfigurationManager.ConnectionStrings["cn"].ConnectionString;
        }
    }
}

Now i want to open connection in Web Page . How it shoul be done.

Thanks

Answers (3)