Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
skiabox
Posting Yak Master
169 Posts |
Posted - 2008-11-30 : 17:51:00
|
I am using aspnetdb in my web page to store data created through CreateUserWizard for example.Is it possible to use this data to other databases as soon as they are created?I found this code in another forum and I believe that this is a good start.protected void CreateUserWizard1_CreatedUser(object sender, EventArgs e){string theUser = CreateUserWizard1.UserName.ToString();MembershipUser theMUser = Membership.GetUser(theUser);Guid theGuid = theMUser.ProviderUserKey;//Here is the code for saving theGuid in your table} |
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2008-12-01 : 13:23:13
|
http://www.devx.com/asp/Article/29256 |
|
|
|
|
|