while i wanna click login button and i want to go to the next webpage...,how to do it help me ... i just starting to learn
Asp.net i have some doubt help me please
while i wanna click login button and i want to go to the next webpage...,how to do it help me ... i just starting to learn

Iftikar HussainRank #423 · 5.9K reputationPosted Aug 7, 2013, 1:29 AM EDT
Please refer the below link
http://www.aspdotnet-suresh.com/2011/12/how-to-create-simple-login-form-using.html
Regards,
Iftikar
Safeer Safeer171 reputationPosted Aug 7, 2013, 2:13 AM EDT
Safeer Safeer171 reputationPosted Aug 7, 2013, 2:16 AM EDT
rachayita jaiswal182 reputationPosted Aug 7, 2013, 2:42 AM EDT
where name= '" + txtUserName.Text + "' and
password= '" + txtUserpassword.text + "'",con);
if you are using stored procedure then
}
and the stored procedure will be -
this code will work.
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 7, 2013, 2:54 AM EDT
SqlCommand c=new SqlCommand("select userName,passWord from tbl_login where userName=@username and password=@password);
Regards,
Iftikar
Safeer Safeer171 reputationPosted Aug 7, 2013, 3:15 AM EDT
rachayita jaiswal182 reputationPosted Aug 7, 2013, 3:23 AM EDT
Check your connection string or share you code then we can help you better.
Rohatash KumarRank #12 · 57.7K reputationPosted Aug 7, 2013, 3:26 AM EDT
Please refer the below link:
http://www.c-sharpcorner.com/uploadfile/rohatash/simple-user-login-in-Asp-Net-using-C-Sharp/