gpt4 book ai didi

c# - ASP.Net 对象数据源 - 数据绑定(bind)

转载 作者:太空宇宙 更新时间:2023-11-03 19:37:36 25 4
gpt4 key购买 nike

在页面生命周期中,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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com