name 'tes' is not declared

C

Corinne

Hi everyone:

I have created a test.aspx page. (Visual studio 2005)

I want to declare some variables to use in a IF statement to assign other
variables specific values.

I keep on getting some messages telling me "Name 'test' is not declared"

Everything in between the <%%> is underlined

Here is the beginning of the code:

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

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">

<title>Customer Feedback Form</title>

<link href="css/CustomerFeedback.css" rel="stylesheet" type="text/css" />

</head>

<body>

<%

Dim ActionType As Integer

Public strClassCustomerDetails As New String





%>

code goes on......

What am I doing wrong?

Is it syntax or a setting somewhere?

Thank you for any suggestion

Corinne
 
B

Branco Medeiros

Corinne wrote:
I have created a test.aspx page. (Visual studio 2005)
I keep on getting some messages telling me "Name 'test' is not declared"
Here is the beginning of the code:

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

Maybe this first line is the culprit. Where does this Inherits="test"
clause comes from?...

HTH.

Regards,

Branco.
 
C

Corinne

Hi Branco,

The following line was actually created by the the ssytem when I created the
new page.

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


Corinne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top