แก้ไข

แชร์ผ่าน


SqlDesignerDataSourceView Class

Definition

Provides a design-time view of data for the SqlDataSourceDesigner class.

public ref class SqlDesignerDataSourceView : System::Web::UI::Design::DesignerDataSourceView
public class SqlDesignerDataSourceView : System.Web.UI.Design.DesignerDataSourceView
type SqlDesignerDataSourceView = class
    inherit DesignerDataSourceView
Public Class SqlDesignerDataSourceView
Inherits DesignerDataSourceView
Inheritance
SqlDesignerDataSourceView

Constructors

SqlDesignerDataSourceView(SqlDataSourceDesigner, String)

Creates a new instance of the SqlDesignerDataSourceView class using the provided data source designer and name of the view.

Properties

CanDelete

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

CanInsert

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

CanPage

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(DataSourceSelectArguments) method.

CanRetrieveTotalRowCount

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.

CanSort

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.

CanUpdate

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

DataSourceDesigner

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

(Inherited from DesignerDataSourceView)
Name

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

(Inherited from DesignerDataSourceView)
Schema

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

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetDesignTimeData(Int32, Boolean)

Generates design-time data that matches the schema of the associated data source control using the provided number of rows and returns a value indicating whether the data is sample or real data.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also