コード例 #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());
        }