How to generate a random number that serves the purpose of a password
How to generate a random number that serves the purpose of a password, when entered to a textbox if correct after a button clicks takes the user to the next page.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Sam HobbsRank #108 · 20.5K reputationPosted Mar 12, 2010, 9:37 AM EST
using System.Web.Security;
.
.
.
String Password = Membership.GeneratePassword(12, 1);