We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Relational Inserts and Grids

Thread ID:

Created:

Updated:

Platform:

Replies:

34329 Sep 7,2005 07:53 PM UTC Sep 7,2005 10:21 PM UTC WinForms 1
loading
Tags: GridControl
Tom Affholter
Asked On September 7, 2005 07:53 PM UTC

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

Administrator [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;