if(tbusername.text!="username") { messageBox.show("Worng Username and Password"); } else { messageBox.show("Correct"); }
if(tbusername.text!="username") { myLabel.Text = "Wrong Username or Password"; } else { Response.Redirect("~/SecondPage.aspx"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)