protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
{ int CID = int.Parse(GridView1.DataKeys[e.RowIndex].Values[0].ToString()); int PID = int.Parse(GridView1.DataKeys[e.RowIndex].Values[1].ToString()); //删除操作逻辑代码}
本文共 310 字,大约阅读时间需要 1 分钟。
protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
{ int CID = int.Parse(GridView1.DataKeys[e.RowIndex].Values[0].ToString()); int PID = int.Parse(GridView1.DataKeys[e.RowIndex].Values[1].ToString()); //删除操作逻辑代码}
转载于:https://www.cnblogs.com/leischen/archive/2012/01/13/2322106.html