M
Mr. X.
Hello.
I have two dataTables.
h - header.
l - lines.
just hypothetic situation :
The header represents an invoice,
and lines represent invoice lines.
I link the header to a datatable by BindingSource object, and also the
lines.
When choosing another row of the header, the lines are new one, that are
linked to new header_id (the key of header table).
I want to update only one time :
when I press OK button in the screen.
I can do changes to other header rows, and other lines (with not the same
header_id).
When I go to another line of the header (another header_id), there are new
lines, that are represented. I can change each line.
How can I do one update to the whole change I have made to tables ?
Can I lock only the records which I am intending to change ?
Thanks
I have two dataTables.
h - header.
l - lines.
just hypothetic situation :
The header represents an invoice,
and lines represent invoice lines.
I link the header to a datatable by BindingSource object, and also the
lines.
When choosing another row of the header, the lines are new one, that are
linked to new header_id (the key of header table).
I want to update only one time :
when I press OK button in the screen.
I can do changes to other header rows, and other lines (with not the same
header_id).
When I go to another line of the header (another header_id), there are new
lines, that are represented. I can change each line.
How can I do one update to the whole change I have made to tables ?
Can I lock only the records which I am intending to change ?
Thanks