Inserting values into database Table ASP.NET
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.

