Command property. A command associated with the Button is propogated in the OnCommand event along with the CommandArgument property.
[Visual Basic] Public Property Command As String [C#] public string Command {get; set;} [C++] public: __property String* get_Command(); public: __property void set_Command(String*); [JScript] public function get Command() : String; public function set Command(String);
Button Class | Button Members | System.Web.UI.WebControls Namespace