Hello
In my success.aspx file, I have:
<asp:Label ID="LblDate" runat="server" class="labelStyle" Text="Label"></asp:Label>
and
<div class="center">
<asp:Label ID="Name" runat="server"></asp:Label>
you have successfully registered
</div>
and in my success.aspx.vb file, I have:
Code for the date, which works, and then:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
LblDate.Text = ReturnDate()
If Request("Name") IsNot Nothing Then
Name.Text = String.Format("{0}, ", Request("Name"))
End If
End Sub
Why would I be getting blue underlines under 'LblDate' and 'Name'. VS tells me that 'LblDate' is not declared. It may be
inaccessible due to its protection level (what 'protection level?), while for 'Name', I get: 'Name' is not declared.
File I/O functionality is available in the 'Microsoft.VisualBasic' namespace.
What do those errors mean, please, and how do I correct them?