public bool EjecutaDML(string _sStore) { _bResp = false; try { _cBD = new ControladorSQL(_sConexion); if (_cBD.Exception == null) { _bResp = _cBD.ExecutequeryParams(_sStore, _lParameters); } _Exception = _cBD.Exception; } catch (Exception _ex) { _Exception = _ex; } finally { _cBD = null; } return(_bResp); }
public DataSet Ejecuta(string _sStore) { _ds = null; try { _cBD = new ControladorSQL(_sConexion); if (_cBD.Exception == null) { _ds = _cBD.Execute(_sStore, _lParameters); } _Exception = _cBD.Exception; } catch (Exception _ex) { _Exception = _ex; } finally { _cBD = null; } return(_ds); }