Obtain the position in the original table of the selected row on a DataView ?

Obtain the position in the original table of the selected row on a DataView ?

Post by tsal » Wed, 05 Jul 2006 21:59:07


Hello

How can I obtain the index row position in a Datatable of a selected
item on his Dataview rowfiltered ?

Thanks

Tsalm
 
 
 

1. Favorite Add on's/Add in's for FrontPage 2002

2. DataView - RowFilter - Enumeration 'There is no row at position'

Hi,
I'm sure some of you have come accross this problem befire ...so here
goes...

I have a DataSet - DataTable within and a DataView on that DataTable
based on let's say ColumnA = "X"

I want to change THAT same column to "Y".

So I enumerate through the DataView. Only problem is that every time I
update the record then the 'valid' Datacount decrements hence after half way
throght the DataView I get the error " There is no row at position n" where
n is exactly half (or half + 1 for odd counts) the initial Datacount. I
could try re- Enumerating after each update but that is besides the point.

The RowStateFilter makes ni difference either !!!

Any good ideas on the best way to achieve this ???

Cheers,

Desmond.

3. finding row position in a dataview based on multiple keys....

4. UPDATE MULTIPLE ROWS IN ONE TABLE OBTAINING SUMS FROM ANOTHER TABLE

5. How to retrieve rows from position n to position m from table in Access 2003

6. DataView - How to access the row in the datatable behind the DataView

7. Strongly typed dataset, sorted by dataview, how to get dataset's row index from dataview?

8. how do I obtain position of specific value in a row of numbers

9. highlight selected row on a dataview?

10. How can glyph positioning be obtained from the GPOS table of a font ?

11. DataGridView and sorted DataView - how to locate table row?

12. DataView with Table with large number of rows

13. selecting rows from a table excluding rows that are in inserted

14. Selecting all rows into a variable table and marking a random row

15. Selecting multiple rows from a table into a single row