Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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 don't 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...