Adding a Grid component Open the form you want to add a grid to, and go into “Design Mode”. In the “Toolbox”, select “Grid”. Place and size the grid component where you want it on the form. In the “Binding” property field of the “Component” properties sheet, specify the collection to bind to the grid: Click the ellipsis (...) button associated with the “Binding” field. Use the “Edit Component Data Binding” dialog box to specify the collection to which the grid is to be bound. Use the “Component” properties sheet to specify other properties as desired. 注意: When the Grid component is first created, WinStudio automatically creates two generically named grid columns. Add and configure grid columns as needed to display all the data you want to display in the grid. 相关主题 Adding a GridColumn component About Grid and GridColumn components About GridColumn components
Adding a Grid component Open the form you want to add a grid to, and go into “Design Mode”. In the “Toolbox”, select “Grid”. Place and size the grid component where you want it on the form. In the “Binding” property field of the “Component” properties sheet, specify the collection to bind to the grid: Click the ellipsis (...) button associated with the “Binding” field. Use the “Edit Component Data Binding” dialog box to specify the collection to which the grid is to be bound. Use the “Component” properties sheet to specify other properties as desired. 注意: When the Grid component is first created, WinStudio automatically creates two generically named grid columns. Add and configure grid columns as needed to display all the data you want to display in the grid. 相关主题 Adding a GridColumn component About Grid and GridColumn components About GridColumn components