M
Mike
Dear group,
I'm currrently investigating a bug within a piece of our software whereby if
a DataGridView (bound directly to a DataTable) is ordered by column headers
(containing lookup combo boxes where the value is the foreign key of another
table), although the DataGridView is ok, the DataTable becomes out of sync.
In other words, I have a Grid of customers, and if a customer name column
header is clicked - the data moves in the DataGridView, but previous data is
still held for the original row positions in the DataTable.
This throws off row calculations quite considerably, and is a particularly
fustrating bug to debug.
Any ideas are most welcome, and thanks in advance for any advice.
Regards,
Mike
I'm currrently investigating a bug within a piece of our software whereby if
a DataGridView (bound directly to a DataTable) is ordered by column headers
(containing lookup combo boxes where the value is the foreign key of another
table), although the DataGridView is ok, the DataTable becomes out of sync.
In other words, I have a Grid of customers, and if a customer name column
header is clicked - the data moves in the DataGridView, but previous data is
still held for the original row positions in the DataTable.
This throws off row calculations quite considerably, and is a particularly
fustrating bug to debug.
Any ideas are most welcome, and thanks in advance for any advice.
Regards,
Mike