I'm really a beginner at ASP.NET and haven't much prior knowledge but I have worked with other languages like Java, C++, HTML and so forth so hopefully I can pick this up lately.
What I'd like to do in ASP.NET is create a registration form so that users on a site can register for an account. The account data is then transferred to a row in a MS SQL database table (the password needs to be encrypted somehow). Then there needs to be a login mechanism so that the user can access a "logged in only" page.
Now I have Microsoft Expression Web 2 ( as well as MS Visual Web Developer 2008 Express ) in which I have been able to make the registration form using the "CreateUserWizard" control. But my question is, how do I link this up to the MS SQL database? In Expression Web 2 (in which I have been working), I can place a SqlDataSource control into the page and it connects to the database successfully -- I know this because using the GridView control successfully allows me to edit and view entries in the desired table -- but I need the registration form and login form (which is another control) to be connected to the MS SQL database.
So basically my question is: how can I bind the user account system to the desired database? :/
I have been looking on Google and doing some research and it's gotten me about this far but I really don't know where to turn next.
Question
dt
Hi everyone,
I'm really a beginner at ASP.NET and haven't much prior knowledge but I have worked with other languages like Java, C++, HTML and so forth so hopefully I can pick this up lately.
What I'd like to do in ASP.NET is create a registration form so that users on a site can register for an account. The account data is then transferred to a row in a MS SQL database table (the password needs to be encrypted somehow). Then there needs to be a login mechanism so that the user can access a "logged in only" page.
Now I have Microsoft Expression Web 2 ( as well as MS Visual Web Developer 2008 Express ) in which I have been able to make the registration form using the "CreateUserWizard" control. But my question is, how do I link this up to the MS SQL database? In Expression Web 2 (in which I have been working), I can place a SqlDataSource control into the page and it connects to the database successfully -- I know this because using the GridView control successfully allows me to edit and view entries in the desired table -- but I need the registration form and login form (which is another control) to be connected to the MS SQL database.
So basically my question is: how can I bind the user account system to the desired database? :/
I have been looking on Google and doing some research and it's gotten me about this far but I really don't know where to turn next.
Your help would be very much appreciated.
Thank you!
dt
Link to comment
https://www.neowin.net/forum/topic/653210-aspnet-ms-sql-putting-form-data-into-a-table-entry/Share on other sites
7 answers to this question
Recommended Posts