dataview and datatable how to find corresponding row??

G

Guest

When i create a dataview with a rowfilter form a dataTable
how do i find the corresponding row in the data table??

for example:
i've 100 row in the datatable
my dataview.rowfilter (on customername ) results in 5 rows
how can i return to the same customer in my datatabale as on the first row
of my dataview??
 
M

Miha Markic [MVP C#]

Hi,

DataRowView.Row should give you the DataTableRow.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
SLODUG - Slovene Developer Users Group
www.rthand.com

Otherwise you'll have t
 
G

Guest

Sorry, didn't tell that i'm using the Compact Framework
And so haven't "DataRowView" or i can't find this option.
 
G

Guest

Found the item but i just get the complete row back.
The thing i want to get back is the position in the datatable!
Why? i want to make a search / select form so user can choice
items from a datatable but manupilate (order) per product.
And if the want a next product the start search at the last used article
so the don't have to walk trough the whole list again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top