DesignerDataSourceView Class
Serves as the base class for design-time data source view classes.
Assembly: System.Design (in System.Design.dll)
When you inherit from the DesignerDataSourceView class, you must override the GetDesignTimeData method either to create sample data that conforms to the Schema property, or to return real data from the data source.
The following code example shows how to create a custom DesignerDataSourceView object along with a custom IDataSourceViewSchema class and two custom IDataSourceFieldSchema classes.
This example is part of a larger sample for the DataSourceDesigner class.
System.Web.UI.Design::DesignerDataSourceView
System.Web.UI.Design.WebControls::LinqDesignerDataSourceView
System.Web.UI.Design.WebControls::ObjectDesignerDataSourceView
System.Web.UI.Design.WebControls::SiteMapDesignerDataSourceView
System.Web.UI.Design.WebControls::SqlDesignerDataSourceView
System.Web.UI.Design.WebControls::XmlDesignerDataSourceView
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.