how to generate password automatically?

Posted by Tejamanimala under ASP.NET on 3/18/2013 | Points: 10 | Views : 1103 | Status : [Member] | Replies : 2
HI,I am Working on "Online examination" project,in this project i have log in page,and registration page is there,in log in page i have register hyperlink,which is used for registration,here when i click on the register hyperlink,i am generating user id automatically,similarly i want to generate password also.how should i generate password automatically?can any one please solve my problem.

manimala


Responses

Posted by: Murugavelmsc on: 3/18/2013 [Member] Starter | Points: 25

Up
0
Down
http://blog.effectlabs.com/post/2011/12/27/C-Program-to-Auto-generate-Passwords.aspx

Regards,
Murugavel S
murugavel.sadagopan@gmail.com
http://murugavelmsc.blogspot.in/

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 3/18/2013 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

check this code

Guid Gid = Guid.NewGuid();
string Fpass = Gid.ToString().Split('-')[4];
Response.Write("Pwd-" + Fpass);

Mark as Answer if its helpful to you

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response