DesignerDataSourceView Class

 

Serves as the base class for design-time data source view classes.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)


public ref class DesignerDataSourceView abstract 

NameDescription
System_CAPS_protmethodDesignerDataSourceView(IDataSourceDesigner^, String^)

Initializes a new instance of the DesignerDataSourceView class using the specified data source designer and view name.

NameDescription
System_CAPS_pubpropertyCanDelete

Gets a value indicating whether the DataSourceView object that is associated with the current DataSourceControl object supports the ExecuteDelete method.

System_CAPS_pubpropertyCanInsert

Gets a value indicating whether the DataSourceView object that is associated with the current DataSourceControl object supports the ExecuteInsert method.

System_CAPS_pubpropertyCanPage

Gets a value indicating whether the DataSourceView object that is associated with the current DataSourceControl object supports paging through the data that is retrieved by the ExecuteSelect method.

System_CAPS_pubpropertyCanRetrieveTotalRowCount

Gets a value indicating whether the DataSourceView object that is associated with the current DataSourceControl object supports retrieving the total number of data rows instead of the data itself.

System_CAPS_pubpropertyCanSort

Gets a value indicating whether the DataSourceView object that is associated with the current DataSourceControl object supports a sorted view on the underlying data source.

System_CAPS_pubpropertyCanUpdate

Gets a value indicating whether the DataSourceView object that is associated with the current DataSourceControl object supports the ExecuteUpdate method.

System_CAPS_pubpropertyDataSourceDesigner

Gets a reference to the designer that created this DesignerDataSourceView control.

System_CAPS_pubpropertyName

Gets the name of the view as provided when this instance of the DesignerDataSourceView class was created.

System_CAPS_pubpropertySchema

Gets a schema that describes the data source view that is represented by this view object.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetDesignTimeData(Int32, Boolean%)

Generates design-time data that matches the schema of the associated data source control using the specified number of rows, indicating whether it is returning sample data or real data.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Notes to Inheritors:

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.

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: