hi guys, i have a problem in my monthlycalendar, the dates will fetch from the database (my current data are: 11/10/11,11/11/11,11/12/11) and that date should be bolded in monthlycalendar control but unfortunaltely the last date which is the 11/12/11 is the only date bolded. this is my code
MySqlCommand myCommand = new MySqlCommand("SELECT event_date FROM tblevents",cnn);
MySqlDataReader dtrdr = myCommand.ExecuteReader();
while (dtrdr.Read())
{
DateTime[] boldDates = new DateTime[]
{
DateTime.Parse(dtrdr[0].ToString())
};
monthCalendar1.BoldedDates = boldDates;
StringBuilder boldDateString = new StringBuilder();
foreach (DateTime day in monthCalendar1 ...
Go to the complete details ...