Provides data for datasource related event.
Object Model
Syntax
Visual Basic (Declaration) | |
---|
Public Class DataSourceEventArgs
Inherits BaseEventArgs |
Managed Extensions for C++ | |
---|
public __gc class DataSourceEventArgs : public BaseEventArgs |
C++/CLI | |
---|
public ref class DataSourceEventArgs : public BaseEventArgs |
Example
C# | Copy Code |
---|
private void WebGrid1_InitializeDataSource(object sender,
ISNet.WebUI.WebGrid.DataSourceEventArgs e)
{
// this event will only invoked once, when the page is loaded
// the first time or when Refresh is invoked.
sqlCustomers.Fill(this.dsNorthWind.Customers);
e.DataSource = this.dsNorthWind;
} |
Remarks
Inheritance Hierarchy
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