Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Inserting values into database Table ASP.NET

Hi,
Can anyone send a sample code of how to insert the primary key table values and foreign key table values from the same page within the same button click event.
I am getting an error message parent key violated. Please send a sample code.
Thanks,
Ashish.
[289 byte] By [Ashish_26] at [2007-11-11 9:53:30]