Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 12th, 2006, 08:56 PM
Registered User
 
Join Date: Apr 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using SQLMembershipProvider how to store data

Using SQL Server 2000, SQLMembershipProvider and login controls. Wish to store additional properties for users in a Users table. I do not wish to use the Profiles API.

How do I store additional information in my Users table when the user is created?

How do I retrieve additional information from my Users table when the user logs in and has been authenticated?

I have created a UserID field in my Users table, datatype uniqueIdentifier to store the same value that is stored in the aspnet_Users.UserId field when a user is created. I just cannot figure out how to write the new record to my Users table when a user is created in the CreateUserWizard control.

Also, once a user logs in, how do I get the UserID






Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way 2 store data in a Word Doc? BrianWren VB Databases Basics 0 April 14th, 2008 06:07 PM
Get data from Store procedure into CR ndID .NET Framework 1.x 0 January 23rd, 2008 03:31 AM
How to store data in a session using javascript? chayan Classic ASP Professional 0 March 10th, 2007 10:14 AM
Store and display data using asp erin VBScript 5 November 19th, 2003 07:36 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.