예제 #1
0
        private void SelectData(string request)
        {
            DataBaseModel.OpenConnection();
            MySqlDataAdapter data  = new MySqlDataAdapter(request, DataBaseModel.GetConnection());
            DataTable        table = new DataTable();

            data.Fill(table);
            InfoGrid.DataContext = table;
            Table    = table;
            Data     = data;
            ComBuild = new MySqlCommandBuilder(Data);
        }