Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 3:29am
Edited 30-May-13 3:32am
v2
Comments
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.
TRY!
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
   
okay...

1 solution

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

Solution 1

You can Use Random Function For Generating User Name And Password........
  Permalink  
Comments
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 asp.net 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 295
1 OriginalGriff 273
2 Aajmot Sk 234
3 Marcin Kozub 205
4 Richard MacCutchan 200
0 OriginalGriff 7,903
1 Sergey Alexandrovich Kryukov 7,127
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,820


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 30 May 2013
Copyright © CodeProject, 1999-2014
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