I want to know the difference between OnDataBound() & OnDataBinding() in Grid view in Asp.net webforms. When these events are triggered in the Page life cycle.
DataBinding
is triggered when the grid begins to bind data, but DataBound
is triggered when all grid data is bound to the grid. Both of them are custom events of a grid control (or other data-bindable control) and executes in the page life cycle when the control events executes (in stage postback event handling).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With