Hi,
I am trying to update data and highlight updated row in a GridView.
To change the data I loop through the dataset, find the row I want, set the new data and call DataBind() on the GridView.
To change row color I loop through the GridView, find the row and update color.
But this involves 2 loops! Once through the underlying dataset and once through GridView... not clean at all. Any ideas?
Thanks!
I am trying to update data and highlight updated row in a GridView.
To change the data I loop through the dataset, find the row I want, set the new data and call DataBind() on the GridView.
To change row color I loop through the GridView, find the row and update color.
But this involves 2 loops! Once through the underlying dataset and once through GridView... not clean at all. Any ideas?
Thanks!
Comment