在asp.net.bind中绑定是什么意思 [英] what does it mean by binding in asp.net.how it is implemented in programing

查看:74
本文介绍了在asp.net.bind中绑定是什么意思的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

动态绑定的目的是什么

推荐答案

绑定是将控件与数据源连接的过程.一个示例是用从数据库表中获取的数据填充网格.但是数据源也可以是XML文件,也可以是您自己编写的一些自定义类,等等.

动态(或后期)绑定是在应用程序运行时完成的,而早期绑定是在编译时完成的.后期装订允许控件的数据源在运行时更改.

另请参阅有关使用数据的ASP.NET教程:
http://www.asp.net/webmatrix/tutorials/5-working-with-data [^ ]
Binding is the process of connecting a control with a data source. An example would be to fill a grid with the data grabbed from a database table. But a data source could also be a XML file, or some custom class written by yourself and so on.

Dynamic (or late) binding is done during runtime of your application while early binding is done during compile time. Late binding e.g. allows the data source of a control to change during runtime.

Also refer to the ASP.NET tutorial on working with data:
http://www.asp.net/webmatrix/tutorials/5-working-with-data[^]


绑定将控件连接到数据源.
这些网站-
http://www.w3schools.com/aspnet/aspnet_databinding.asp [ http://support.microsoft.com/kb/307860 [
Binding connects a control to a datasource.
These sites -
http://www.w3schools.com/aspnet/aspnet_databinding.asp[^]
http://support.microsoft.com/kb/307860[^]
will be useful.


这篇关于在asp.net.bind中绑定是什么意思的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆