R
Rick
VS 2005
I want to make sure I have this concept down correctly.
I have a strongly typed datatable and a binding source connected to it.
On my windows form a grid is connected to the binding source.
When the grid is unsorted the datatable(bindingsource.positon).mycol =
DirectCast(bindingsource.current, datarowview).Item("mycol").
When I sort the grid the bindingsource.position is now out of synch with the
underlying datatable so the above are not equal.
I ask becuase I have to use a column value in a bindingsource positon
changed event and if the grid is sorted the value is no longer in synch.
Do I have this correct?
Rick
I want to make sure I have this concept down correctly.
I have a strongly typed datatable and a binding source connected to it.
On my windows form a grid is connected to the binding source.
When the grid is unsorted the datatable(bindingsource.positon).mycol =
DirectCast(bindingsource.current, datarowview).Item("mycol").
When I sort the grid the bindingsource.position is now out of synch with the
underlying datatable so the above are not equal.
I ask becuase I have to use a column value in a bindingsource positon
changed event and if the grid is sorted the value is no longer in synch.
Do I have this correct?
Rick