ASP.NET中Button绑定多个参数
Html中设置:
CommandName="id_" CommandArgument='<%#Eval("id_comments_")+","+Eval("iscertification_comments_") %>' OnCommand="comment_click"
cs代码:
protected void comment_click(object sender,CommandEventArgs e)
{
string temp = e.CommandArgument.ToString();
Response.Write(temp );
}