protected void Grid_MyBudgets_DeleteCommand(object sender, GridRecordEventArgs e) { oboutGrid_utils o = new oboutGrid_utils(); Hashtable hash = (Hashtable)e.Record; string x = o.oGrid_DeleteData(hash, "MyBudget", "backend", "fin", "mybudgetpk", false); LoadMyBudgets(); Load_Select2_controls(); }
protected void gridEmail_DeleteCommand(object sender, GridRecordEventArgs e) { int pk = Convert.ToInt32(e.Record["emailID"]); if (pk > 0) { oboutGrid_utils o = new oboutGrid_utils(); o.oGrid_DeleteData("tblEmail", "backend", "dbo", "emailID", pk); RefreshGrid(gridEmail, "hh.spEmail_by_HouseholdID", Request.QueryString["hhID"]); } }