In my connection string if i give Server name it will not work, But if i give with servername\SQLEXPRESS it will work. But this connection string i can't use in class as it giving an error for this. Please help me.
implement your classes and build it.
Now go to your web site and add reference of that class by
Add References,browse tab page-browse where you create your class.
Add dll of your class project which created in bin->debug folder
I am creating a web site which is utilizing the .Net Membership provider with SQL server to store each users logon information. I have customized the create user wizard to obtain extra information i need from the user.
My issue is that i am not sure what is the best method of using the automatically generated UserId as a foreign key in my other tables which belong to the relational database system i have designed.
I also need to store the extra information obtained from the customized fields in the create user wizard in my relational database system.
I have a similar scenario
Just create another table either in the same db or in another db
Once the user is created with the createuserwizard and all the other fields are filled, insert a new row in your table