Export (0) Print
Expand All

DataSourceView.CanExecute Method

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

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft