private void makeGridView(GridControl gc, int rowCount) { DataTable dt = new DataTable(); dt.Columns.Add("STAGE NO."); dt.Columns.Add("작업상태"); dt.Columns.Add("타입"); dt.Columns.Add("프로세스"); dt.Columns.Add("STEP"); dt.Columns.Add("TRAY ID"); string channel = string.Empty; for (int i = 0; i < rowCount; i++) { channel = (i + 1).ToString(); dt.Rows.Add(new string[] { channel, "-", "-", "-", "-", "-" }); } gc.DataSource = dt; }