Synopsis
String displayExpression
= DataTable.DisplayExpression;
DataTable.DisplayExpression = displayExpression
;
Gets or sets the expression that represents the table in the user
interface.
Example
The following example sets the DisplayExpression
property of the DataTable
:
DataTable dt = new DataTable();
dt.DisplayExpression = "MyDataTable";