Before the GridView control can be rendered, each row in the control must be bound to a record in the data source. The RowDataBound event is raised when a data row (represented by a GridViewRow object) is bound to data in the GridView control.
Check out the documentation on this event
here[
^].
There is an interesting article,
RowDatabound event tips and tricks in Gridview control[
^] which should help you get started with this event.