LinkButton后台获取前台CommandArgument

前台:*


后台:public void delete(object sender, EventArgs e)
{
int id = int.Parse(((LinkButton)sender).CommandArgument.ToString());
}

你可能感兴趣的:(LinkButton后台获取前台CommandArgument)