FlexGrid for WinForms
SetDataBinding(Object,String,Boolean) Method



The new data source object.
The table to bind to within the data source object.
Whether the current column layout should be preserved or re-generated automatically based on the data source schema.
Sets the DataSource and DataMember properties, optionally keeping the current column layout.
Syntax
'Declaration
 
Public Overloads Sub SetDataBinding( _
   ByVal dataSource As Object, _
   ByVal dataMember As String, _
   ByVal preserveLayout As Boolean _
) 
'Usage
 
Dim instance As C1FlexGridBase
Dim dataSource As Object
Dim dataMember As String
Dim preserveLayout As Boolean
 
instance.SetDataBinding(dataSource, dataMember, preserveLayout)
public void SetDataBinding( 
   object dataSource,
   string dataMember,
   bool preserveLayout
)
public:
void SetDataBinding( 
   Object^ dataSource,
   String^ dataMember,
   bool preserveLayout
) 

Parameters

dataSource
The new data source object.
dataMember
The table to bind to within the data source object.
preserveLayout
Whether the current column layout should be preserved or re-generated automatically based on the data source schema.
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

C1FlexGridBase Class
C1FlexGridBase Members
Overload List

 

 


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

Send Feedback