ObjectDataSourceDesigner.SelectMethod Property

 

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

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

public string SelectMethod { get; set; }

Property Value

Type: System.String

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

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.

.NET Framework
Available since 2.0
Return to top
Show: