Rediger

Del via


ObjectDataSourceDesigner.SelectMethod Property

Definition

Gets or sets the name of the method to execute when the Select() method of the associated control is called.

public:
 property System::String ^ SelectMethod { System::String ^ get(); void set(System::String ^ value); };
public string SelectMethod { get; set; }
member this.SelectMethod : string with get, set
Public Property SelectMethod As String

Property Value

A string containing the name of the method to execute when the Select() is called.

Remarks

The SelectMethod property shadows the SelectMethod property of the associated control.

When the value of the SelectMethod property is changed, the design-time markup for the associated ObjectDataSource control is updated. The RefreshSchema method is called, if the CanRefreshSchema property is true; otherwise, the DataSourceChanged event is raised.

Applies to

See also