/// <summary>
 /// Returns a DataTable with rows from query.
 /// </summary>
 /// <param name="query">the query</param>
 /// <param name="param">parameters of the query</param>
 /// <param name="timeout">Timeout in miliseconds.</param>
 public static DataTable ExecuteDataTableQuery(string query, Hashtable param, int timeout = 0)
 {
     DataAccessObject dao = new DataAccessObject();
     return dao.GetDataTableQuery(query, param, timeout);
 }
        /// <summary>
        /// Returns a DataTable with rows from query.
        /// </summary>
        /// <param name="query">the query</param>
        /// <param name="param">parameters of the query</param>
        /// <param name="timeout">Timeout in miliseconds.</param>
        public static DataTable ExecuteDataTableQuery(string query, Hashtable param, int timeout = 0)
        {
            DataAccessObject dao = new DataAccessObject();

            return(dao.GetDataTableQuery(query, param, timeout));
        }
 /// <summary>
 /// Returns a DataTable with rows from query.
 /// </summary>
 /// <param name="query">the query</param>
 public static DataTable ExecuteDataTable(string query)
 {
     DataAccessObject dao = new DataAccessObject();
     return dao.GetDataTableQuery(query);
 }
        /// <summary>
        /// Returns a DataTable with rows from query.
        /// </summary>
        /// <param name="query">the query</param>
        public static DataTable ExecuteDataTable(string query)
        {
            DataAccessObject dao = new DataAccessObject();

            return(dao.GetDataTableQuery(query));
        }