Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between Databound & Databind

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.

like image 456
user1555245 Avatar asked Sep 16 '13 06:09

user1555245


1 Answers

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).

like image 162
Kirill Bestemyanov Avatar answered Sep 21 '22 01:09

Kirill Bestemyanov