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 );

 

posted @ 2009-11-10 11:35  唔愛吃蘋果  阅读(391)  评论(0编辑  收藏  举报