public DataSet ExecuteDataset(CommandType commandType, string commandText, params IDbDataParameter[] commandParameters) { try { this.InitSqliteDB(); return(SqlHelperDB.ExecuteDataset(this.sqliteConn, commandType, commandText, commandParameters)); } catch (Exception e) { // this.m_haserror = true; throw new System.Exception(e.Message, e.InnerException); } }
public DataSet ExecuteDataset(string commandText, string sTableName) { try { this.InitSqliteDB(); return(SqlHelperDB.ExecuteDataset(this.sqliteConn, CommandType.Text, commandText, sTableName, (IDbDataParameter[])null)); } catch (Exception e) { // this.m_haserror = true; throw new System.Exception(e.Message, e.InnerException); } }