asp.net button 绑定多个参数
程序员文章站
2023-01-23 23:12:57
复制代码 代码如下:commandname="id_" commandargument='<%#eval("id_comments_")+","+eval("isce...
复制代码 代码如下:
commandname="id_" commandargument='<%#eval("id_comments_")+","+eval("iscertification_comments_") %>' oncommand="comment_click"
复制代码 代码如下:
protected void comment_click(object sender,commandeventargs e)
{
string temp = e.commandargument.tostring();
messagebox.show(temp);
}