在页面生命周期中,ASP.Net 对象数据源在什么时候绑定(bind)来自指定数据源的数据?
最佳答案
来自Page Life Cycle Overview ,指的是数据绑定(bind)事件:
This event is raised by data-bound controls before the PreRender event of the containing control (or of the Page object) and marks the beginning of binding the control to the data.
关于 DataBound 事件:
This event marks the end of data-binding operations in a data-bound control. In a GridView control, data binding is complete for all rows and any child controls. Use this event to format data bound content or to initiate data binding in other controls that depend on values from the current control's content.
关于c# - ASP.Net 对象数据源 - 数据绑定(bind),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/547862/