'宣言 Public ReadOnly Property DataSource As System.Object
public System.object DataSource {get;}
'宣言 Public ReadOnly Property DataSource As System.Object
public System.object DataSource {get;}
The type of object returned depends on the type of DataSource assigned to the grid. For example, if the grid is bound to a System.Data.DataView object, then this property will return the specific System.Data.DataRowView object that is bound to this row.
This property returns null if the grid is unbound, or if the row is a fixed or node row that doesn't correspond to any objects in the grid's data source.
For an example, see the GetUnboundValue event.