May 2006 Entries

Updated Rows in a GridView

Have you ever wondered how to show the updated rows of a grid view? Well, I did, and I had to implement it for a client. Here's the basic idea. We need some kind of collection that holds the index of all the rows that had been modified. We need to persist the collection through every postback and then iterate through all the members of the collection and change the background color of the rows with the index specified in the collection.All you need is to set up a gridview in your aspx page and have the folowing code (this...

posted @ Tuesday, May 16, 2006 2:27 AM | Feedback (0)