.NET Customisation
User Guide
.NET Customisation
:
AVEVA C# Grid Control
: Use the AVEVA Grid Control with Different Data Sources
Use the AVEVA Grid Control with Different Data Sources
The supplied C# addin populates the grid with database items and their attribute values.
The following data sources are available for this method of working. See the AVEVA Grid Control API section below for further information.
•
NetDataSource(String TableName, Array Attributes, Array Items)
•
NetDataSource(String TableName, Array Attributes, Array AttributeTitles, Array Items)
•
NetDataSource(String TableName, Array Attributes, Array Items, String Tooltips
There are two other ways that an instance of the grid can be populated with data:
1.
Populate the grid with non-database data
The grid can be populated with collections of non-database data.
The following data sources are available for this method of working. See the AVEVA Grid Control API section below for further information.
•
NetDataSource(String TableName, Array columns, Array of Array of rows)
•
NetDataSource(String TableName, Array columns, Array of Array of rows, String Tooltips)
2.
Populate the grid with non-database data direct from a Microsoft Excel file.
The grid can be populated with non-database data from a Microsoft Excel file. The first row of the Microsoft Excel file will supply the headings for the grid and the other rows will supply the row data.
The following data source is available for this method of working. See the AVEVA Grid Control API below for further information.
•
NetDataSource(String TableName, string PathName)
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.