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

标签 c# asp.net page-lifecycle

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

相关文章:

c# - 在 C# 中识别手写数字的神经网络

asp.net - ASP MVC - ConfigurationManager 找不到应用程序设置

asp.net - 事件处理后如何更新页面数据?

asp.net - Bamboo 变量替换在 text/asp.net 配置文件中不起作用

c# - 网页生命周期是什么意思?

asp.net - 何时覆盖 OnError?

c# - HostingEnvironment.QueueBackgroundWorkItem 和 HostingEnvironment.RegisterObject 之间的区别

C#读取一个字符并将其放置在特定位置

c# - Http Post 不工作(C# 代码工作而 java 代码不工作)

asp.net - 从 Internet 打开 excel 文件会打开一个空白的 excel 窗口