Hi There
I've got a problem. Im new to asp.net and working my way thru the book,
VB.net 2003.
Im in the section about cache. I've changed the second line of code, as instrcuted, from:
Sub EventCalendar_DayRender(sender As Object, e As DayRenderEventArgs)
If Not cache("DateList")(e.day.date) is nothing then
e.cell.style.add("font-weight", "bold")
e.cell.style.add("font-size", "Larger")
e.cell.style.add("border", "3 dotted darkred")
e.cell.style.add("background", "#f0f0f0")
else
e.cell.style.add("font-weight", "Lighter")
e.cell.style.add("color", "DimGray")
end if
End Sub
To
If Not cache("DateList")(e.day.date) is nothing then
Since doing this i get the error:
Object variable or With block variable not set.
It only happens occasionaly.
Any Help would be great.
Thanks,
Robert.