GeekInterview.com
Series: Subject: Topic:
Question: 51 of 348

Datagrid Alter Rows

How to alter the rows in a datagrid?
Asked by: ushalakshmi | Member Since Apr-2008 | Asked on: Apr 22nd, 2008

View all questions by ushalakshmi   View all answers by ushalakshmi

Showing Answers 1 - 1 of 1 Answers
Veerapally

Answered On : Jun 21st, 2008

View all answers by Veerapally

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

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.