protected void Login(object sender, EventArgs e)
{
// connection database
SqlConnection sqlcon = new SqlConnection(ConfigurationManager.ConnectionStrings["DataBaseConnectionString"].ToString());
string str_username = username.Text.Trim();
string str_password = password.Text.Trim();
UserDao ud = new UserDao();
if (ud.checkUser(str_username, str_password))
{
Response.Redirect("Default2.aspx");
}
else
Response.Write("");
}