G
Guest
Hi
Using Windows.Forms in ADO.NET in VB.NET 2003.
I have 3 dataviews of the same datatable in a dataset, each a subset of the
datatable by means of rowfilter. for example:
Me.dv1 = New DataView(myDataTable)
Me.cm1 = Me.BindingContext(Me.dv1)
Me.dv1.RowFilter = "Actions LIKE '%(1)%' AND Condition = 1"
Me.dv2 = New DataView(myDataTable)
Me.cm2 = Me.BindingContext(Me.dv2)
Me.dv2.RowFilter = "Actions LIKE '%(3)%' AND Condition = 1"
Each dataview is bound to it's own datagrid.
Editing data within the datagrids updates the current version of the row and
not the proposed version, and hence the CancelCurrentEdit on the
CurrencyManagers does not work.
Any help would be much appreciated.
Using Windows.Forms in ADO.NET in VB.NET 2003.
I have 3 dataviews of the same datatable in a dataset, each a subset of the
datatable by means of rowfilter. for example:
Me.dv1 = New DataView(myDataTable)
Me.cm1 = Me.BindingContext(Me.dv1)
Me.dv1.RowFilter = "Actions LIKE '%(1)%' AND Condition = 1"
Me.dv2 = New DataView(myDataTable)
Me.cm2 = Me.BindingContext(Me.dv2)
Me.dv2.RowFilter = "Actions LIKE '%(3)%' AND Condition = 1"
Each dataview is bound to it's own datagrid.
Editing data within the datagrids updates the current version of the row and
not the proposed version, and hence the CancelCurrentEdit on the
CurrencyManagers does not work.
Any help would be much appreciated.