예제 #1
0
        private void fillGrid()
        {
            db = new DB();
              try
              {
            chkImport.Checked = true;
            newIsoReportTable = db.getNewIsoReports(wizard);
            foreach (DataColumn column in newIsoReportTable.Columns)
              column.ReadOnly = true;
            newIsoReportTable.Columns[DB.IMPORT].ReadOnly = false;
            dataGridView1.DataSource = newIsoReportTable;

              }
              catch (Exception ex)
              {
            MessageBox.Show(ex.Message);
            Close();
              }
        }