G
Guest
I don't use the foreach statement often so this problem has cought me off
guard. Here is the code:
foreach (int i in EventDates.Items)
{
DateList += EventDates.Items.ToString();
}
I get an "invalid cast" error! and I can't seem to find the solution.
Thanks, Justin.
guard. Here is the code:
foreach (int i in EventDates.Items)
{
DateList += EventDates.Items.ToString();
}
I get an "invalid cast" error! and I can't seem to find the solution.
Thanks, Justin.