计算机专业外文翻译---数据捆绑技术
《计算机专业外文翻译---数据捆绑技术》由会员分享,可在线阅读,更多相关《计算机专业外文翻译---数据捆绑技术(6页珍藏版)》请在毕设资料网上搜索。
1、出自微软 数据技术 The Data Binding Technology In my project,I need to show the data from the DataBase,so I need to use the data binding technology which Microsoft company support.In the following ,lets discuss it together. If you are familiar with classic ASP, the declarative data binding syntax introduced
2、in ASP.NET will be familiar to you even though the functionality is vastly different. Data binding expressions are the code you see between characters in an ASPX file. The expressions allow you to easily bind controls to data sources, as well as properties, expressions, and results from method calls
3、 exposed by the page. While this feature is easy to use, it often causes some confusion about what is allowed and whether it should be employed. Data binding basics Data binding expressions link ASP.NET page properties, server control properties, and data sources when the pages DataBind method is ca
4、lled. You can place data binding expressions on the value side of an attribute/value pair in the opening tag of a server control or anywhere in the page. All data binding expressions, regardless of where you place them, must be contained between characters. When used with data controls (like Repeate
5、r, DataGrid, and so forth), the expression parameter is usually a column name from the data source. However, as long as it returns a value, any valid expression may be used. Likewise, the same syntax may be used outside list controls. This includes displaying values on the page or populating control
6、 attributes. Container.DataItem is a runtime alias for the DataItem bound to a specific item. It maps to an individual item from the data source like one row from a database query or an individual element from an array. The actual data type for the DataItem is determined by the data source. So, if y
7、oure dealing with an array of integers, the DataItem will be an integer. The following list provides a quick review of the VB.NET syntax for various scenarios: -An array of string values is returned. -The specific field from a DataView container is returned. -The specific string property value of da
8、ta source is returned. -Returns a property value converted to its string representation. When youre using C#, the syntax is a bit different. The following list includes the corresponding C# code for each line in the previous list. Notice the basic syntax is the same, but it changes when property val
9、ues are returned and converted to the appropriate data type. Syntax is consistent when working with page level properties and methods. The syntax remains the same as long as string values are returned. The following list provides some examples: -The value for a page level property is returned. asp:L
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中设计图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机专业 外文 翻译 数据 捆绑 技术
