/// <summary>
        /// Execute a Stored Procedure and returns the result as a DataSet
        /// </summary>
        protected DataSet ExecuteDataSet(string storedProcedureName
                                         , Hashtable param, int timeout = 0)
        {
            DataAccessObject dao = new DataAccessObject();

            return(dao.GetDataSet(storedProcedureName, param, timeout));
        }
 /// <summary>
 /// Execute a Query and returns the result as a DataSet
 /// </summary>
 public static DataSet ExecuteDataSet(string query)
 {
     DataAccessObject dao = new DataAccessObject();
     return dao.GetDataSet(query);
 }
 /// <summary>
 /// Execute a Stored Procedure and returns the result as a DataSet
 /// </summary>
 protected DataSet ExecuteDataSet(string storedProcedureName
                             , Hashtable param, int timeout = 0)
 {
     DataAccessObject dao = new DataAccessObject();
     return dao.GetDataSet(storedProcedureName, param, timeout);
 }
        /// <summary>
        /// Execute a Query and returns the result as a DataSet
        /// </summary>
        public static DataSet ExecuteDataSet(string query)
        {
            DataAccessObject dao = new DataAccessObject();

            return(dao.GetDataSet(query));
        }