Click here to Skip to main content
15,919,931 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
how to change the colour of row in row updating event of gridview.
Posted
Updated 8-May-12 0:48am

 
Share this answer
 
Comments
Sandeep Mewara 8-May-12 9:13am    
Good link but not for row update event. It's at the time of databind.
Pick the event as per your need:
GridView.RowEditing Event[^]
GridView.RowUpdating Event[^]
GridView.RowUpdated Event[^]

Use GridViewRow Class[^]

There is a BackColor property[^] associated at this row level which you can set as per needed.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900