CommandArgument里面:
CommandArgument="<%# Eval("Id")+","+Eval("Name")%>"
方法里面:
string[] arg = e.CommandArgument.ToString().Split(',');
string id = arg[0];
string name = arg[1];
CommandArgument里面:
CommandArgument="<%# Eval("Id")+","+Eval("Name")%>"
方法里面:
string[] arg = e.CommandArgument.ToString().Split(',');
string id = arg[0];
string name = arg[1];