示例#1
0
 protected void GridViewCopy_RowCommand(object sender, GridViewCommandEventArgs e)
 {
     if (e.CommandName == "DeleteRow")
     {
         int copyID = int.Parse(e.CommandArgument.ToString());
         CopyDAO.DeleteCopy(copyID);
         GridViewCopy.DataBind();
     }
 }