Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
How To Generate Randomly PassWord in Asp.net and password send to user mobile number
Posted
Updated 3-Jan-12 20:22pm
v3
Comments
Sergey Alexandrovich Kryukov 4-Jan-12 1:21am    
Not clear.
--SA
Nigam Patel 4-Jan-12 5:47am    
you can do google

to generate a random password see the following link

http://www.aspnettutorials.com/tutorials/advanced/generatepassword-csharp.aspx[^]

to send sms see the following article

How to Send SMS Messages from C# using an SQL Database[^]
 
Share this answer
 
Comments
RaviRanjanKr 4-Jan-12 2:41am    
5+
There can be a various no of methods to generate random numbers try
Google

and to send password to mobile ,you can use web services for sms.
 
Share this answer
 
Comments
RaviRanjanKr 4-Jan-12 2:37am    
My 5+
Random ran = new Random();
            int ss = ran.Next();
 
Share this answer
 
v2
Comments
RaviRanjanKr 4-Jan-12 2:36am    
[Edited]Code is wrapped in pre tag[/Edited]
You can simply use Membership.GeneratePassword Method [^] to Generates a random password of the specified length.
for more reference have a look there-[Generating Random Passwords with ASP.NET][^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900