按钮属性: - 的CommandName和CommandArguments [英] button properties:- commandName and CommandArguments

查看:170
本文介绍了按钮属性: - 的CommandName和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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆