3
Reply

Problem passing session variables

dprasad830

dprasad830

Jul 5 2004 8:30 PM
5.2k
I'm simply trying to pass session variables to a confirmation page before calling a stored procedure. This is the error I get on the confirmation page: Compiler Error Message: CS0103: The name 'startdate' does not exist in the class or namespace 'ASP.ConfirmAuction_aspx' Source Error: Line 45:

Line 46: Line 47: Start Date: <%# startdate %> Line 48:

Line 49: End Date: <%# enddate %> Source File: C:\Inetpub\wwwroot\naughtyauctions\ConfirmAuction.aspx Line: 47 --------------------------------------------- Here's the page w/ the form. Note that the email field in the confirmation page is populated when the user logs in: <%@ Page Language="C#" %> <%@ Register TagPrefix="IBuySpy" TagName="Header" Src="_Header.ascx" %> <%@ Register TagPrefix="IBuySpy" TagName="Menu" Src="_Menu.ascx" %>


Create a New Account


Start Date
 

End Date
 

Name
 



Description
 



MinPrice
 

br>
Available
 



Increment
 



What kind of article are you selling?

Select the style, only applicable if panties are being sold! ---------------------------------------------------------------------- Confirmation Page <%@ Page Language="C#" %> Please verify your auction ...

Start Date: <%# startdate %>

End Date: <%# enddate %>

Auction Title: <%# name %>

Auction Description: <%# escription %>

Reserve Price: <%# minprice %>

Increment amount: <%# increment %>

Available: <%# vailable %>

Style: <%# style %>

Type: <%# type %>

If These values aren't correct, hit your browser's back button to make corrections.



Answers (3)