コード例 #1
0
        private void getAndShowDataGridViews()
        {
            //DataGridViewMedia.DataSource = mediaLogic.getAllMedia();
            //DataGridViewDirector.DataSource = mediaLogic.getAllDirectorTable();
            //DataGridViewLanguage.DataSource = mediaLogic.getAllLanguageTable();
            //DataGridViewGenre.DataSource = mediaLogic.getAllGenreTable();

            DataGridViewMedia.DataSource    = ws.getAllMedia();
            DataGridViewDirector.DataSource = ws.getAllDirectorTable();
            DataGridViewLanguage.DataSource = ws.GetAllLanguageTable();
            DataGridViewGenre.DataSource    = ws.GetAllGenreTable();
        }