Click here to Skip to main content
15,848,157 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi there...
how can i create user registration step by step and save it in db in finally
Posted

Check out this step-by-step example: creating-a-simple-registration-form-in-asp.net.aspx[^]
 
Share this answer
 
v2
The best way is to use Membership: http://msdn.microsoft.com/en-us/library/yh26yfzy.ASPX[^] - it includes registration.
 
Share this answer
 
Comments
m-e-h-d-h-i 29-Dec-13 9:35am    
Sorry English is not my first language
I mean that take some information step by step from user (any information)
OriginalGriff 29-Dec-13 9:41am    
Depends to a large extent on the environment: winforms, web? for example.
m-e-h-d-h-i 29-Dec-13 10:19am    
web
OriginalGriff 29-Dec-13 10:41am    
That gets complicated, if you are meaning to get one bit of information per page - because unless you explicitly save the information it will be discarded.
Have a look at Session and Cookie - teh first saves info on the server, the latter on the client.
The session is pretty simple:
Session["username"] = MyTextBox.Text;
...
string username = (string) Session["username"];
Cookies are more complex (because they are stored on the client)
http://msdn.microsoft.com/en-us/library/ms178194.ASPX
should help.

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