ASP.NET中button 的 onCommand传递参数。怎么传递啊,哪位能给个例子啊!谢谢啊!
------解决方案--------------------------------------------------------
- HTML code
<asp:Button ID="btn1" CommandArgument="aa" Text="click" runat="server" OnCommand="btn1_Command" />
<asp:Button ID="btn1" CommandArgument="aa" Text="click" runat="server" OnCommand="btn1_Command" />