Hi,
This is supposedly a simple question. Im having my first hands on on Asp.net and Im trying to get the date in the title bar by means of literal control however Im getting errors. The following is my code:
Now in the source code i put:Code:Sub Page Load() literal1.text = DateTime.Now.Tostring("D") End Sub
Error 1Code:<head> <title><asp:Literal id="Literal1" runat="server" /></title> </head>
The ID 'Literal1' is already used by another control.
Error 2
Unrecognized tag prefix or device filter 'asp'.
Can someone hep me get started pls.





Reply With Quote