Connecting Tech Pros Worldwide Forums | Help | Site Map

Master Detail in 2 DataGrid - Insert problem

Ken C
Guest
 
Posts: n/a
#1: Nov 20 '05
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/WinFor..._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

Cor Ligthert
Guest
 
Posts: n/a
#2: Nov 20 '05

re: Master Detail in 2 DataGrid - Insert problem


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


Ken C
Guest
 
Posts: n/a
#3: Nov 20 '05

re: Master Detail in 2 DataGrid - Insert problem


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
Closed Thread