什么是数据绑定? [英] What is a data binding?
问题描述
什么是数据绑定?
绑定一般是指一件事与另一件事的映射 - 即数据源演示对象。通常可以将数据库或类似的源(XML文件,Web服务等)的绑定数据引用到桌面软件中的HTML,组合框或数据网格中的表示控件或元素 - 思想列表或表格。
您通常必须将表示元素绑定到数据源,而不是其他方式。这将涉及某种映射 - 即数据源中哪些字段要显示在输出中。
有关几种环境中的更多信息,请参阅: p>
- 使用Windows窗体的.Net中的数据绑定
- ASP.NET数据绑定
- < a href =http://support.microsoft.com/kb/307860 =noreferrer> http://support.microsoft.com/kb/307860
- http://www.15seconds.com/issue/040630.htm
- http://www.w3schools.com/ASPNET/aspnet_databinding.asp
- Java数据绑定
- Python数据绑定
- 通用XML数据绑定
What is a data binding?
Binding generally refers to a mapping of one thing to another - i.e. a datasource to a presentation object. It can typically refer to binding data from a database, or similar source (XML file, web service etc) to a presentation control or element - think list or table in HTML, combo box or data grid in desktop software.
You generally have to bind the presentation element to the datasource, not the other way around. This would involve some kind of mapping - i.e. which fields from the datasource do you want to appear in the output.
For more information in a couple of environments see:
- Data binding in .Net using Windows Forms
- ASP.NET data binding
- Java data binding
- Python data binding
- General XML data binding
这篇关于什么是数据绑定?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!