Click here to Skip to main content
14,865,447 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
what are the uses of RowDataBound Event in Gridview
Posted

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.
   
Whenever we want to manipulate the appearance on some cell based on the value of that cell, for example displaying negative numbers in a different color, and so on, then we use RowDataBound Event.


refer this.. :)

what is the use of gridview rowdatabound event in asp.net c#[^]

GridView.RowDataBound Event[^]

Get Find control inside of asp.net gridview in rowdatabound event[^]

RowDatabound event tips and tricks in Gridview control[^]
   
v2

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