On a form I have a DataGridView and three buttons.
Buttons are: lastMonth, currentMonth and nextMonth.
dgv has 30 or 31 columns (each column is a day of the month).
ColumnHeaders are: 1 2 3 ... (date).
I should populate firstRow of dgv with the dayNames (first letter) - M T V ...
something like:
1 2 3 4 5... till 30 or 31 // these are column headers
M T W T F... till end // these are firstRowCells
Click on Buttons should change the first row according to first letter of the day in corresponding month.


VulpesRank #55 · 29.2K reputationPosted Jun 1, 2012, 9:50 AM EDT
Memento104 reputationPosted Jun 1, 2012, 11:28 AM EDT
{
MessageBox.Show("Vulpes, youAreFantastic!");
}
itWorks.