C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : DataMember Property |
If a DataSource contains multiple sources of data, you should set the DataMember property to one of the sources.
For example, if the DataSource is a System.Data.DataSet contains three tables named Customers, Orders, and OrderDetails, you must specify one of the tables to bind to.
If the System.Data.DataSet contains only one System.Data.DataTable, you may set the DataMember property to an empty string.
You can use the SetDataBinding(Object,String) method to set the DataSource and DataMember properties at the same time.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2