C# .NET - How do I use stored digits or numbers as a password

Asked By Bernard Ebuehi on 10-Aug-13 09:08 AM
I have a Textbox, a lebel and a submit button in my Default.aspx, when i entered a five digit number which is among the various numbers I Stored into the textbox and click the submit button, I'm redirected to my Default2.aspx but if the number is not among the stored numbers the lable control in my Default.aspx will display a message "wrong number, pls enter correct Number"
 
(NOTE: these different 5 digits numbers will reside in the code and serve the purpose of a password)

How do i write and implement these codes, when I entered a number to the  Textbox, if correct will redirect to Default2.aspx and if I inputs any wrong number, the label control will display an error message.
Robbe Morris replied to Bernard Ebuehi on 10-Aug-13 09:09 AM
Post the code you have so far and perhaps someone can you help fix your bugs.  No one is just going to write all your code for you.