日期:2014-05-20 浏览次数:20374 次
/// <summary> /// 删除卡片 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void btnCancelCard_Command(object sender, CommandEventArgs e) { DataTable dableCard = this.GetDataTable(); ClientService service = new ClientService(); int i = ((GridViewRow)((ImageButton)sender).NamingContainer).RowIndex; dableCard.Rows[i].Delete(); gvCard.DataSource = dableCard; gvCard.DataBind(); WebCommon.showAlertClose(UpdatePanel1, ResourceMessage.DeleteSuccess); }