Intersoft WebGrid Documentation
SetDataSource(Object,String,String) Method
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebValueList Class > SetDataSource Method : SetDataSource(Object,String,String) Method






dataSource
dataTextField
dataValueField

Syntax

Visual Basic (Declaration) 
Public Overloads Sub SetDataSource( _
   ByVal dataSource As Object, _
   ByVal dataTextField As String, _
   ByVal dataValueField As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As WebValueList
Dim dataSource As Object
Dim dataTextField As String
Dim dataValueField As String
 
instance.SetDataSource(dataSource, dataTextField, dataValueField)
C# 
public void SetDataSource( 
   object dataSource,
   string dataTextField,
   string dataValueField
)
Delphi 
public procedure SetDataSource( 
    dataSource: TObject;
    dataTextField: String;
    dataValueField: String
); 
JScript 
public function SetDataSource( 
   dataSource : Object,
   dataTextField : String,
   dataValueField : String
);
Managed Extensions for C++ 
public: void SetDataSource( 
   Object* dataSource,
   string* dataTextField,
   string* dataValueField
) 
C++/CLI 
public:
void SetDataSource( 
   Object^ dataSource,
   String^ dataTextField,
   String^ dataValueField
) 

Parameters

dataSource
dataTextField
dataValueField

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.