| |
GeekInterview.com > Interview Questions > Microsoft > ASP.NET
| Print | |
Question: Datagrid Alter Rows
Answer: How to alter the rows in a datagrid? |
| June 06, 2008 20:52:28 |
#1 |
| Veerapally |
Member Since: June 2008 Total Comments: 2 |
RE: Datagrid Alter Rows |
You can use DataGrid's OnItemCreated and OnItemDataBound events. OnItemCreated event is fired once a row is created but the values are not yet binded. OnItemDataBound will fire for every row that is bounded. You can get the values here for each column in the row. Depending on you requirement,you can use either of these events |
| |
Back To Question | |