Help needed in asp c#...Can anyone give the source code for password checking?
Alessadri
2008-02-24 05:39:28 UTC
I need to compare the answer provided in a text field to the correct answer and depending on whether its right or wrong i have to redirect to a particular page
Three answers:
ams_0
2008-02-24 05:44:20 UTC
Write your own code..its easy
Just give it some thinking
Bumi
2008-02-24 14:48:41 UTC
Let's assume your password field is called txt_Pass and the string you're checking it against is in a variable called passwordString, here's what you'd do:
if(txt_Pass.Text.CompareTo(passwordString))
{
Response.Redirect("newurl.aspx"); //replace newurl.aspx with any html or asp page.
}
anonymous
2008-02-24 13:51:01 UTC
Not going to be easy. May be you can search at project assignment help website like http://askexpert.info/ .
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.