System.Web.UI.Design.DataSourceDesigner: Method Members

The methods of System.Web.UI.Design.DataSourceDesigner are listed below. For a list of all members, see the DataSourceDesigner Members list.

See Also: Inherited members from System.Web.UI.Design.ControlDesigner

Public Methods

Configure()

Launches the data source configuration utility in the design host.

override
GetDesignTimeHtml() : string

Retrieves the HTML markup for displaying the associated data source control at design time.

GetView(string) : DesignerDataSourceView

Retrieves a System.Web.UI.Design.DesignerDataSourceView object that is identified by the view name.

GetViewNames() : string[]

Returns an array of the view names that are available in this data source.

RefreshSchema(bool)

Refreshes the schema from the data source, while optionally suppressing events.

ResumeDataSourceEvents()

Restores data source events after the data source events have been suppressed.

static
SchemasEquivalent(IDataSourceSchema, IDataSourceSchema) : bool

Provides a value that indicates whether two schemas are equal.

SuppressDataSourceEvents()

Postpones all data source events until after the DataSourceDesigner.ResumeDataSourceEvents method is called.

static
ViewSchemasEquivalent(IDataSourceViewSchema, IDataSourceViewSchema) : bool

Provides a value that determines whether two schema views are equal.

Protected Methods

OnDataSourceChanged(EventArgs)

Raises the DataSourceDesigner.DataSourceChanged event when the properties of the data source have changed and the DataSourceDesigner.SuppressingDataSourceEvents value is false.

OnSchemaRefreshed(EventArgs)

Raises the DataSourceDesigner.SchemaRefreshed event when the schema of the data source has changed and the DataSourceDesigner.SuppressingDataSourceEvents value is false.