Esempio n. 1
0
        public System.Data.DataSet GetSchema(string tableName)
        {
            string sql = string.Format("select * from {0}", tableName);

            using (MysqlDataProvider sqlData = new MysqlDataProvider())
            {
                string connectionString = this.ConnectionString;

                sqlData.Connect(connectionString);

                return(sqlData.GetSchema(sql));
            }
        }