S
Simon Harris
Hi All,
I have a page which I want to accept an ID on the querystring - I'm trying
to get this ID into a hidden form field.
I have the following code at the top of my page:
Line 5: <script language="VB" runat="server">
Line 6: dim ResortID as integer
Line 7: ResortID = Request.QueryString("resortid")
Line 8: </script>
I get this error:
Compiler Error Message: BC30188: Declaration expected.
What have I done wrong?
I hear alot of talk about using code behind page for everything, but how
would I grab querystring vars using code behind?
Regards,
Simon.
I have a page which I want to accept an ID on the querystring - I'm trying
to get this ID into a hidden form field.
I have the following code at the top of my page:
Line 5: <script language="VB" runat="server">
Line 6: dim ResortID as integer
Line 7: ResortID = Request.QueryString("resortid")
Line 8: </script>
I get this error:
Compiler Error Message: BC30188: Declaration expected.
What have I done wrong?
I hear alot of talk about using code behind page for everything, but how
would I grab querystring vars using code behind?
Regards,
Simon.