protected void lbLogin_Click(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(connstr.Connectionstr()); SqlDataAdapter da = new SqlDataAdapter("SELECT Role FROM Login WHERE Username ='******' AND Password ='******' ", conn); }