GridView控件CommandArgument 绑定多个参数
时间:2011-05-13 来源:yongtaiyu
前台绑定:
CommandArgument='<%# Eval("ReviewId")+","+Eval("isconfirm") %>'
后台获取:
string temp = e.CommandArgument.ToString();
string[] estr = e.CommandArgument.ToString().Split(',');
int reviewid = Convert.ToInt32(estr[0]);
string isconfirm = Convert.ToString(estr[1]);
相关阅读 更多 +