Intersoft WebGrid Documentation
DataSource Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > DataSourceEventArgs Class : DataSource Property






Gets or sets the DataSource for the control.

Syntax

Visual Basic (Declaration) 
Public Property DataSource As Object
Visual Basic (Usage)Copy Code
Dim instance As DataSourceEventArgs
Dim value As Object
 
instance.DataSource = value
 
value = instance.DataSource
C# 
public object DataSource {get; set;}
Delphi 
public read-write property DataSource: TObject; 
JScript 
public function get,set DataSource : Object
Managed Extensions for C++ 
public: __property Object* get_DataSource();
public: __property void set_DataSource( 
   Object* value
);
C++/CLI 
public:
property Object^ DataSource {
   Object^ get();
   void set (    Object^ value);
}

Remarks

In WebGrid.NET Enterprise 5.0, there are two major categories of datasource control support:

  • Basic DataSourceControl support
    The basic datasource controls supported are: AccessDataSource, SqlDataSource, ObjectDataSource. Three of the datasource controls above support single table view and thus can only be used as flat configuration in WebGrid control.
  • Advanced DataSourceControl support
    In addition to basic datasource controls, WebGrid.NET Enterprise 5.0 is designed to handle more advanced datasource controls for enterprise development needs. The advanced datasource controls supported are: XmlDataSource and IntersoftDataSource.

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.