Q
qluo
I got the following error:
---------------------------
Parser Error Message: Could not load type 'login_page'.
Line 1: <%@ Page Language="vb" Codebehind="login.vb"
Inherits="login_page" %>
----------------------------
My login.vb file is the following:
------------------------------------
Option Strict Off
Imports System
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.HtmlControls
Public Class login_page : Inherits Page
Public username As TextBox
Public password As TextBox
Public submit As Button
Public test As Label
Sub page_load(ByVal sender As Object, ByVal e As EventArgs)
If Page.IsPostBack = False Then
test.Text = "username: "
End If
End Sub
Sub submit_click(ByVal sender As Object, ByVal e As EventArgs)
test.Text = "username: " & username.Text
End Sub
End Class
---------------------------
Parser Error Message: Could not load type 'login_page'.
Line 1: <%@ Page Language="vb" Codebehind="login.vb"
Inherits="login_page" %>
----------------------------
My login.vb file is the following:
------------------------------------
Option Strict Off
Imports System
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.HtmlControls
Public Class login_page : Inherits Page
Public username As TextBox
Public password As TextBox
Public submit As Button
Public test As Label
Sub page_load(ByVal sender As Object, ByVal e As EventArgs)
If Page.IsPostBack = False Then
test.Text = "username: "
End If
End Sub
Sub submit_click(ByVal sender As Object, ByVal e As EventArgs)
test.Text = "username: " & username.Text
End Sub
End Class