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:
property String^ SelectMethod {
	String^ get ();
	void set (String^ value);
}
/** @property */
public String get_SelectMethod ()

/** @property */
public void set_SelectMethod (String value)

public function get SelectMethod () : String

public function set SelectMethod (value : String)

Not applicable.

Property Value

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: