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:
发布评论
评论(1)
绑定通常是指一个事物到另一个事物的映射 - 即数据源到表示对象。 它通常指将数据库或类似源(XML 文件、Web 服务等)中的数据绑定到演示控件或元素 - 想想 HTML 中的列表或表格、组合框或桌面软件中的数据网格。
您通常必须将表示元素绑定到数据源,而不是相反。 这将涉及某种映射 - 即您希望数据源中的哪些字段出现在输出中。
有关多种环境的更多信息,请参阅:
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: