GridView和数据源控件。
那么,数据源控件是什么?
例如,数据源控件可以检索给定客户的所有订单。
For example, a data source control may retrieve all orders for a given customer.
NET数据源控件还支持数据操作的异步数据检索模式。
NET data source controls also support an asynchronous data retrieval pattern for data operations.
此外,新的DataGrid控件可由一个数据源控件填充。
In addition, the new DataGrid control can be populated by a data source control.
其他控件(例如,DropDownList)也可以绑定到数据源控件。
Other controls, such as the DropDownList, can also be bound to the data source controls.
指定数据源为document1并将控件绑定到subject。
Specify the data source as document1, and bind the control to subject.
方法可以对绑定控件与其数据源之间的数据绑定进行更新。
Method updates the data binding between the bound control and its data source.
如何:向“数据源”窗口添加自定义控件。
如何:使用宿主控件中的数据更新数据源。
控件显示来自数据源的一个字段。
如何:设置从“数据源”窗口中拖动时要创建的控件。
How to: Set the Control to be Created when Dragging from the Data Sources Window.
运行项目时,控件将显示数据源中的第一条记录。
When you run the project, the control displays the first record in the data source.
控件绑定到数据源时发生。
“数据源”窗口中表示图像的字节数组项创建数据绑定控件,您必须选择要创建的控件。
Data Sources window that represents an image, you must select the control to create.
“数据源”窗口中表示图像的字节数组项创建数据绑定控件,您必须选择要创建的控件。
Data Sources window that represents an image, you must select the control to create.
应用推荐