View Single Post
  #2 (permalink)  
Old March 11th, 2007, 02:13 PM
peace95 peace95 is offline
Friend of Wrox
Points: 793, Level: 10
Points: 793, Level: 10 Points: 793, Level: 10 Points: 793, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2005
Location: OKC, OK, USA.
Posts: 227
Thanks: 1
Thanked 7 Times in 7 Posts
Default

csharpa:
The FK (Foreign Key) in the Parent Table IS the PK (Primary Key) in the Child Table, which is created at the Database Design Phase. If this is not done, then you MUST create the RELATIONSHIP between the Parent Table and the Child Table first.

More detail information can be found in Wrox's Beginning ASP.NET Databases Using VB.NET, Defining Relationships between DataTable Objects, p 155.

Hope this helps.

========================
Disclaimer: The above comments are solely the opinion of one person and not to be construed as a directive or an incentive to commit fraudulent acts.
Reply With Quote