int iRow = 0; this.datagridView.RowCount = 24; for (int i = 0; i < 6; i++) { DateTime newDate = dt_startweek.Value.AddDays(i); for (int newIndex = 1; newIndex <=4; newIndex++) { datagridView[0, iRow].Value = newDate.ToString("dd MMM"); datagridView[1, iRow].Value = newIndex.ToString(); datagridView.Rows[iRow].Height = 25; iRow = iRow + 1; } } string msg = "selected course is allocated in date and session";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)