2
Answers

How to access Abstract Class Method

Jagjit Saini

Jagjit Saini

13y
1.4k
1
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 (2)