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.
Unfortunately, activation email could not send to your email. Please try again.

Relational Inserts and Grids

Thread ID:

Created:

Updated:

Platform:

Replies:

34329 Sep 7,2005 03:53 PM Sep 7,2005 06:21 PM Windows Forms 1
loading
Tags: GridControl
Tom Affholter
Asked On September 7, 2005 03:53 PM

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 06:21 PM

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.

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.

;