Expand|Select|Wrap|Line Numbers
- if (TextBox2.Text.Equals(dr["member_name"].ToString()))
- {
- if (DropDownList1.Text == "Customer")
- type = 1;
- }
- else
- {
- // Unauthorized
- Error.Visible = true;
- Error.Text = "Wrong username or password!";
- }
But i need a pop up screen for alerting user for wrong logins. I search but couldnt find a proper way for throwing alerts by pop-up's in asp. By the way I wanna learn how can implement this pop-up window in aspx file by a script and how or in aspx.cs file which valid user check is made by a C# code.I am newbie
ın asp and thx for understanding and patience about my question...