By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,868 Members | 1,991 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,868 IT Pros & Developers. It's quick & easy.

Declaration Expected Error

P: 1
Dear Friends,
In ASP.NET application i am using classic ASP pages. i tried to redirect a classic ASP page from ASP.NET page. but i am getting same errors in many lines like,

1) Declaration Expected
2) Statement cannot appear outside of a method body.

for ex,
<body>
<form name="frmConfigure" method="post" id="Form1 " action="">
dim prodid = trim(request("prodid"))
dim strmcode
strcode=UCASE(Trim(prodid))--In this line i am getting the "Declaration Expected" error. so that i am not able redirect to that classic ASP page.---


please give the exact solution.
Aug 15 '11 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.