Foreign key handeling in datasets
Foreign key handeling in datasets
Foreign key handeling in datasets
Foreign key handeling in datasets
Foreign key handeling in datasets
Foreign key handeling in datasets Foreign key handeling in datasets Foreign key handeling in datasets Foreign key handeling in datasets Foreign key handeling in datasets Foreign key handeling in datasets Foreign key handeling in datasets Foreign key handeling in datasets
Foreign key handeling in datasets Foreign key handeling in datasets
Foreign key handeling in datasets
Go Back  Xtreme Visual Basic Talk > > > Foreign key handeling in datasets


Reply
 
Thread Tools Display Modes
  #1  
Old 12-20-2003, 09:54 AM
witzulu witzulu is offline
Newcomer
 
Join Date: Dec 2003
Location: Cape Town
Posts: 9
Default Foreign key handeling in datasets


When creating a new row in my dataset is thier any other method I can use when the table I am working with contain a foreign key. I can't seem to find a way other than the method below(I think it is wrong) to handel the foreign key due to constraint violations.


Currently I am putting all the info(foreign key and any needed data) into to a datarow and then enter the row in at the same time.

I am new to ADO.net and is quite lost.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sql foreign key=to Primary key cristuballa Database and Reporting 2 08-18-2003 01:14 AM
About Foreign Tables Mat_J Database and Reporting 2 06-08-2003 08:17 PM
Foreign characters in Textbox alexdaman General 4 03-18-2003 06:59 AM
ADOX and setting foreign key blizzard Database and Reporting 15 04-27-2002 10:09 AM
Foreign Key Constraint 911 !!! diver Database and Reporting 2 02-08-2002 07:28 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Foreign key handeling in datasets
Foreign key handeling in datasets
Foreign key handeling in datasets Foreign key handeling in datasets
Foreign key handeling in datasets
Foreign key handeling in datasets
Foreign key handeling in datasets Foreign key handeling in datasets Foreign key handeling in datasets Foreign key handeling in datasets Foreign key handeling in datasets Foreign key handeling in datasets Foreign key handeling in datasets
Foreign key handeling in datasets
Foreign key handeling in datasets
 
Foreign key handeling in datasets
Foreign key handeling in datasets
 
-->