This property returns the data source which contains data displayed by the current View. For the GridControl.MainView, the property returns the data source specified by the GridControl.DataSource and GridControl.DataMember properties. If these properties refer to a specific System.Data.DataTable object, the current property will return the System.Data.DataView object created for this System.Data.DataTable. If you populate the grid by binding it to an object implementing the System.Collections.IList interface, the DataSource property will return this System.Collections.IList.
If the current View represents a detail clone view, the DataSource property will return the data source containing data only for this clone. For detail pattern Views, the DataSource property returns null. Refer to the Master-Detail Relationships topic for more information on clone and pattern Views.