Hi,
I am really in a deadlock with this problem.
In my VS2005 C# handheld application, I have a grid with Workorders.
Another grid (child) are the ACTIONS, performed for each workorder.
Both grids have Dataviews as DataSource.
The child grid, filtered with RowFilter in the DataView works fine.
But when I try to delete a record in this child grid, I cannot figure out, how to get the absolut rownumber of the DataView.
EXAMPLE:
I try to delete the second row in the grid.
When I say Grid.DataSource.CurrentCell.RowNumber I get a 1, because it is the second visible record.
But then, when I say: Dataview.Table.Rows.RemoveAt(myposition), it deletes the ABSOLUT ROW 1 in the dataview and this could be from a complete different workorder (ParentView).
When I see the filtered records in the child view, how can I RECEIVE the ABSOLUT ROWNUMBER in the dataview and NOT the VISIBLE ROW from the grid.
Again, this is a C#, mobile application, so I might not have all functions available.
I am very greatful for every input to solve this problem. Thanks.
Hans Pietschnig
pietschnig@usa.com