The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
Does anyone have a good VB code example of an insert statement using a parent and child dataset? All samples I can find exclude inserting data into the child. The obvious challenge is inserting a parent key into a child record. Basically, I have two grids. I want to populate the child and pull the key from the parent.
Thanks much!
Tom
ADAdministrator Syncfusion Team September 7, 2005 10:21 PM UTC
If you call AddNew on the Currencymanager associated with the details table in a master-details relation, it should automatically populate the related field.
http://www.syncfusion.com/Support/user/uploads/master_details_3a39e580.zip