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
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