Dataview find without primary key

Errol

New member
Joined
Jun 2, 2005
Messages
1
Hi guys,

I have finally given up and now request help from yon gurus about row positioning. I have read about find, findrows, select etc, but none of them seems to go near my ever so simple needs.

I have
datatable - source data

with two views
DV1. with my GUI datagrid bound to it - user can sort however they like, paging etc.
DV2. validation only - I sort this specifically to perform some business rule checking. A new dataview so I dont change the user sorting, and it is NOT ordered by primary key.

I iterate through DV2 and if I find any business rule errors, I am looking at the datarow I want to highlight in the grid. However, I am not in the appropriate dataview, and I cannot see any way (apart from iteration) that I can tell DV1 to highlight this datarow.

Surely there is some correlation between the datarow and the dataview indexes that are looking at it?

Thanks in advance.

Errol
 
Back
Top