I have a simple calendar program: dates and notes are saved in database (first cell is Date and second is Note).
All noted days have bolded font in calendar.
But When I run program again all days have no-bolded font, no matter was it noted or not.
How can I fix this?
I tried to make something like this, but it didn't worked out.
foreach (DataRow row in database1DataSet.Tables[0].Rows)
{
DateTime s_dt = Convert.ToDateTime(row[0].ToString());
monthCalendar1.AddBoldedDate(s_dt);
}
monthCalendar1.UpdateBoldedDates();