PDA

View Full Version : Set up foreign keys in web developer?



Slippy
30 May 2008, 11:22 AM
i have a similar post to this one in general section, but it wasnt getting any attention so i decided to repost here, can someone please help?

Im using visual web developer to develop my ASP.NET site.

I am using the Database explorer in web developer to work with the database.

The database i am working with is the ASPNETDB.mdf database that is used to administer sites.

Now, i have added a table... and i have a field called UserID...

all i want to do is set up a foreign key, between the UserID in my table, and UserID field in the aspnet_users table...

how do i do that?

thanks for any help in advance.