DateTime Today = DateTime.Now; int Year = Today.Year; int Month = Today.Month; int Days = DateTime.DaysInMonth(Year, Month); GridView_Name.Columns.Add(Days);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)