Master Detail in 2 DataGrid - Insert problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've setup a Master detail table from a typed dataset on 2 different data grid

The first one I bind it with the Master data table name

The second data set I bind it with the MasterDetail Relation name so that I can obtain a "Detail Auto change" effect when current master record is moving around, which is suggested on syncfusion FA

http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q780

But the problem is when I try to update a new row under detail table with current master Row "A"

I click the detail new row. Then type something

When I click back the master table on a Different row "B", suprisingly the updated row is link to row "B" now and row "A" data is no change...

Anybody can help

Thanks
Rgds
Ken
 
Hi Ken,

Being busy with this have a look at the keywords "endcurrentedit",
"haschanges" and "commandbuilder" on MSDN, if this is not enough
information, reply, this are normal problems in this newsgroup.

I hope this helps?

Cor
 
Dear Cor

Thanks for the advise and I only partially understand what you mean

You mean I can use the command like endcurrentedit with associate with haschange event

Many thanks if you can give me some more hints

Rgds
Ken
 
Back
Top