Click here to Skip to main content
11,796,393 members (71,062 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# ASP.NET
i want to know the code:
acttuly i want to send the auto generated username and password through mail at the time of submission of any form and also this username and password should saved in database
Posted 30-May-13 2:29am
Edited 30-May-13 2:32am
Ankur\m/ at 30-May-13 8:32am
Okay, so what have you tried? If you have no idea about what has to be done, you Google!
Vibha Singh at 30-May-13 8:42am
i googled it bt not getting what i actuly need in my code
Ankur\m/ at 30-May-13 9:06am
You won't get the exact things, there wouldn't be developers then.
Lets look at your question - i) code for generating unique user name and password; ii) saving them in database; iii) sending it to the users.
Lets start with (i). Are there any business rules in generating user name and password? It can be random numbers, unique identifiers, starts with something or ends with something. Design a way you want them to be and write the code.
Then move to the next step.
Btw Google for these and you will find millions of records.
aspnet_regiis -I at 30-May-13 8:33am
"i want to know the code:" ....????

And what else ? A good salary too ?
Vibha Singh at 30-May-13 8:44am
see below that line that wht i want to ask okay
aspnet_regiis -I at 30-May-13 8:52am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You can Use Random Function For Generating User Name And Password........
Vibha Singh at 30-May-13 8:43am
i tried bt not able to understand if possible explain with code
Vibha Singh at 30-May-13 8:46am
i want detail explanation
aspnet_regiis -I at 30-May-13 8:53am
For detailed explanation you need to join a programming /training class....
ThePhantomUpvoter at 30-May-13 8:58am
The detailed explanation is: "send the generated user name and password through email on the form submission and save the information to a database table". If you have googled any of these topics and have found nothing, you did not tried very hard.

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

  Print Answers RSS
0 Maciej Los 530
1 Abhinav S 392
2 OriginalGriff 340
3 CPallini 269
4 KrunalRohit 249
0 OriginalGriff 2,012
1 Maciej Los 1,725
2 KrunalRohit 1,310
3 CPallini 1,055
4 ppolymorphe 858

Advertise | Privacy | Mobile
Web03 | 2.8.151002.1 | Last Updated 30 May 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100