按钮属性: - 的CommandName和CommandArguments [英] button properties:- commandName and CommandArguments
问题描述
什么是它在按钮控制使用tool.How它是编程过程中使用(使用C#)?的CommandName和CommandArguments性能之间的基本区别
What is basic difference between CommandName and CommandArguments properties which is used in Button Control tool.How it is used during programming (using C#)?
推荐答案
的CommandName:获取或设置与传递给Command事件例如Button控件相关联的命令名称删除,编辑,...
CommandName : Gets or sets the command name associated with the Button control that is passed to the Command event e.g. Delete, Edit,...
看一看这篇文章
的http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.button.commandname.aspx
CommandArguments:传递到Command事件与关联的CommandName一起的可选参数。默认值是的String.Empty
CommandArguments : An optional parameter passed to the Command event along with the associated CommandName. The default value is String.Empty.
有一个看看这篇文章的http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.button.commandargument.aspx
这篇关于按钮属性: - 的CommandName和CommandArguments的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!