Пример #1
0
        public DataTable createTable(string selectCommand)
        {
            database         db   = new database();
            MySqlDataAdapter data = new MySqlDataAdapter(selectCommand, conn);
            DataSet          DS   = new DataSet();

            data.Fill(DS);

            return(DS.Tables[0]);
        }