
12-20-2003, 09:54 AM
|
|
Newcomer
|
|
Join Date: Dec 2003
Location: Cape Town
Posts: 9
|
|
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.
|
|