protected void DeleteRow() { bool respu = (bool)Session["Respuesta"]; if (respu == true) { string json = Session["json"].ToString(); Dictionary<string, string>[] companies = JSON.Deserialize<Dictionary<string, string>[]>(json); Storer st = new Storer(Tipo); st.Valores = ValoresCombo; string consulta = st.MakeDeleteRow(companies); Datos.ConsultarEx(consulta); GridPanel1.Reload(); } }
protected void DeleteRow() { try { string json = Session["json"].ToString(); Dictionary<string, string>[] companies = JSON.Deserialize<Dictionary<string, string>[]>(json); Storer st = new Storer(Tipo); st.Valores = Valores; string consulta = st.MakeDeleteRow(companies); Datos.ConsultarEx(consulta); } catch { } //Store1.WarningOnDirty = false; GridPanel1.Reload(); //Store1.WarningOnDirty = true; }