Click here to Skip to main content
15,917,928 members

Comments by chunty (Top 2 by date)

chunty 13-Jul-14 9:41am View    
thank you sir
chunty 12-Jul-14 2:50am View    
protected void Button3_Click(object sender, EventArgs e)
{
str = "select [password] from logins where [user]='" + TextBox1.Text + "'";
conn.Open();
cmd.Connection = conn;
cmd.CommandText = str;
dr = cmd.ExecuteReader();
if (dr.Read())
{
find = true;
}
conn.Close();

if (find == true)
{
Label1.Text = Request.QueryString["password"].ToString();
//Response.Redirect("Default.aspx");
return;
}

Label1.Text = "You enter wrong username"; ican'access output plz giving a another solution