D
D. Shane Fowlkes
ASP.NET 2 (VB)
I'm experimenting with MS VWD and .NET2. I'm tinkering with the Code Behind
method as demonstrated on MS's tutorial at
http://www.asp.net/QuickStart/aspnet/doc/pages/codebehind.aspx#codebehind .
Yet, when I follow the example and apply it to my own little test, I get a
server error of:
Parser Error Message: Could not load type 'PasswordClass'.
Line 1: <%@ Page language="VB" CodeFile="CodeFiles/forgotpwd_aspx.vb"
Inherits="PasswordClass" %>
Line 1 above is the first line of my page. My codefile looks like this:
Imports Microsoft.VisualBasic
Partial Class PasswordClass
Inherits System.Web.UI.Page
Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
lblMessage.Text = "Success" & Time()
End Sub
End Class
Any ideas of what I'm doing wrong?
I'm experimenting with MS VWD and .NET2. I'm tinkering with the Code Behind
method as demonstrated on MS's tutorial at
http://www.asp.net/QuickStart/aspnet/doc/pages/codebehind.aspx#codebehind .
Yet, when I follow the example and apply it to my own little test, I get a
server error of:
Parser Error Message: Could not load type 'PasswordClass'.
Line 1: <%@ Page language="VB" CodeFile="CodeFiles/forgotpwd_aspx.vb"
Inherits="PasswordClass" %>
Line 1 above is the first line of my page. My codefile looks like this:
Imports Microsoft.VisualBasic
Partial Class PasswordClass
Inherits System.Web.UI.Page
Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
lblMessage.Text = "Success" & Time()
End Sub
End Class
Any ideas of what I'm doing wrong?