Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple ASP.Net Problem

Status
Not open for further replies.

djpic

IS-IT--Management
Feb 27, 2006
69
US
I am having a problem just posting a simple message on an ASP.Net site. The following is the dbtest.aspx page code:

==========================================================
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="dbtest.aspx.vb" Inherits="dbtest" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
<html xmlns=" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="lblTableOutput" runat="server"></asp:Label></div>
</form>
</body>
</html>
==========================================================

Here is the dbtest.aspx.vb file:

==========================================================
Partial Class dbtest
Inherits System.Web.UI.Page
Sub Page_Load(ByVal Sender As Object, ByVal e As EventArgs)
lblTableOutput.Text = "Test"
End Sub
End Class
==========================================================

Why is this not working? I am not even getting an error?
 
I went ahead and posted it in the ASP.Net form. Could find it earlier.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top