.NET数据控件 e.commandargument()绑定多个值
CommandArgument=' <%# EVAL("ID ") + "," + EVAL("Count") + "," + EVAL("Price") %>'
protected void Repeater1_ItemCommand(object source, RepeaterCommandEventArgs e)
{
if (e.CommandName == "btnChange")
{
string[] sArray = e.CommandArgument.ToString().Split(',');
Response.Write(sArray[0] + "," + sArray[1]);
}
}