Occurs when a data row is bound to data in a GridView control.
This event will fire for as many times as there are rows on the datasource. This means 50 database results = 50 rows = 50 RowDataBound event fires.
If you need to access controls/values on a particular row, you can use the FindControl method within this event.
"GridView.RowDataBound Event (System.Web.UI.WebControls)" ( http://bit.ly/fVE5bo )
No comments:
Post a Comment