Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieving QueryString in Mobile Form

Status
Not open for further replies.

johnfrederick

Programmer
Sep 30, 2002
34
0
0
US
In the Page_Load routine in my mobile web page, I'm having trouble retrieving a caller ID from the calling browser. The following line works in a conventional .aspx page, but not in my mobile page:

lngDeliveryPersonID = Int32.Parse(HttpRequest.QueryString("DP"))

The error message is:

BC30469: Reference to a non-shared member requires an object reference

Can anyone advise?
 
superCerealKiller solved this problem for me in another thread in this Forum. The right way is:
Request.QueryString("DP") with NameSpace System.Web imported.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top