摘要:
1,直接执行LinkButton中的事件时 ' Visible="false"> 后台代码 protected void lbtnUpdate_Click(object sender, EventArgs e) { Literal liID = ((sender as LinkButton).NamingContainer as GridViewRow).FindControl("liID") as Literal; UpdateSJBH = liID.Text.Trim(); }2, 阅读全文