I am writing a code for my website to have a security login so that when you login if you are admin or super admin the appropriate options would become available. However I am getting an error (picture of it will be below). I was wondering if you can look
at my error and code and tell me if I did something wrong or where I can improve as I only just started learning Sessions, so I could have made a mistake somewhere.
----------part 1----------
DAL dal = new DAL("Data Source=localhost;Initial Catalog=dbMagazine;Integrated Security=SSPI");
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnLogin_Click(object sender, EventArgs e)
{
dal.AddParam("@Username", txtUsername.Text);
dal.AddParam("@Passwords", txtPassword.Text);
DataSet ds = dal.ExecuteProcedure("spLogin");
if(ds.Tables[0].Rows ...
Go to the complete details ...