예제 #1
0
        /// <summary>
        /// Sends a select statement to the mysql sever
        /// </summary>
        /// <param name="msg">The statement to send to mysql</param>
        public static DataTable Select(String msg)
        {
            var temp = new SqlConnecter("db_steamdata");

            return((DataTable)temp.Select(msg));
        }
예제 #2
0
        /// <summary>
        /// Sends a nonquery to the sql sever
        /// </summary>
        /// <param name="msg">The statement to send to the server</param>
        public static void NonQuery(String msg)
        {
            var temp = new SqlConnecter("db_steamdata");

            temp.NonQuery(msg);
        }
예제 #3
0
        /// <summary>
        /// Sends a count command to the sql server
        /// </summary>
        /// <param name="msg">The statement to send to the server</param>
        public static string Count(string msg)
        {
            var temp = new SqlConnecter("db_steamdata");

            return(temp.Count(msg).ToString());
        }