DataSourceView.CanExecute Method (String)

.NET Framework (current version)
 

Determines whether the specified command can be executed.

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

public virtual bool CanExecute(
	string commandName
)

Parameters

commandName
Type: System.String

The name of the command.

Return Value

Type: System.Boolean

true if the command can be executed; otherwise, false.

.NET Framework
Available since 4.0
Return to top
Show: