FlexGrid for WinForms
DataSource Property (Row)



Gets the object that provides data for this row.
Syntax
'Declaration
 
Public ReadOnly Property DataSource As Object
'Usage
 
Dim instance As Row
Dim value As Object
 
value = instance.DataSource
public object DataSource {get;}
public:
property Object^ DataSource {
   Object^ get();
}
Remarks

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.

Requirements

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

See Also

Reference

Row Class
Row Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback