How to give username and password default in asp.net without
how to give username and password default in asp.net without backend
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Munesh SharmaRank #174 · 13.9K reputationPosted Mar 31, 2014, 11:36 PM EDT
if( textusername == munesh && textpassword ==1234)
{
responce.redirect("anotherpage.aspx");
}
else
{
lable1.text("username or password incorrect");
}