Create Datatables 创建数据表
The easiest way to show the contents of these two DataTables is to use two DataGrid controls.
显示这两个 DataTable 的内容的最简单方法是使用两个 DataGrid 控件。
You will now create a master-detail relationship between the two DataTables so a more useful display of the data can be given.
现在可以创建这两个DataTable之间的master - detail(主从复合)关系,以便提供更有用的数据显示。
To see the existing field-level validation automatically provided, go to the DataSet Designer, select a field from one of the DataTables and then go to the Properties window.
我们可以在数据集设计器(DataSet Designer)中看到已经存在的字段级验证,从某个DataTable中选择一个字段,然后在属性窗口中就可以找到了。
应用推荐