T
tshad
I have a code behind line that is giving me the error:
**********************************************************************
Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: BC30456: 'SelectedDate' is not a member of
'System.Web.UI.WebControls.DataGrid'.
Source Error:
Line 36:
Line 37: Sub DayChanged(s as Object, e As EventArgs)
Line 38: Response.Redirect("DisplayEvents.aspx?myDate=" &
myCalendar.SelectedDate)
Line 39: end Sub
**********************************************************************
The code (as you can see from above) is:
***************************************************************
Sub DayChanged(s as Object, e As EventArgs)
Response.Redirect("DisplayEvents.aspx?myDate=" & myCalendar.SelectedDate)
end Sub
****************************************************************
"myDate" is not in my program. It is just the name that DisplayEvents.aspx
expects.
Why am I getting the error and what do I add to my code behind to resolve
it?
Thanks,
Tom.
**********************************************************************
Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: BC30456: 'SelectedDate' is not a member of
'System.Web.UI.WebControls.DataGrid'.
Source Error:
Line 36:
Line 37: Sub DayChanged(s as Object, e As EventArgs)
Line 38: Response.Redirect("DisplayEvents.aspx?myDate=" &
myCalendar.SelectedDate)
Line 39: end Sub
**********************************************************************
The code (as you can see from above) is:
***************************************************************
Sub DayChanged(s as Object, e As EventArgs)
Response.Redirect("DisplayEvents.aspx?myDate=" & myCalendar.SelectedDate)
end Sub
****************************************************************
"myDate" is not in my program. It is just the name that DisplayEvents.aspx
expects.
Why am I getting the error and what do I add to my code behind to resolve
it?
Thanks,
Tom.