Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 19th, 2010, 03:14 PM
Registered User
 
Join Date: Feb 2010
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dim code As String = Request.Item("Code")

Hi In one my project some developer who do not exist in my company wrote the code... in the default.aspx page there is a line in page_load mehtod
Dim code As String = Request.Item("Code") . problem is i m not able to figure out how the code key is gettting set. can any body help. in general scnerio how does this request.item works.
 
Old April 20th, 2010, 12:03 AM
Friend of Wrox
 
Join Date: Dec 2008
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default

There are several ways this can be set. For example, you can append the following at the end your URL: ?Code=foo, which will set Request.Item("Code") to "foo".

Check the on-line document for HttpRequest class, and that should help.

Last edited by PeterPeiGuo; April 20th, 2010 at 03:26 AM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Source Code for Book "Visual Basic .NET Scalability" USACoder All Other Wrox Books 1 January 11th, 2010 11:10 AM
Need code corrections "get sub or function not defined" error" bluesboytoo Excel VBA 1 October 22nd, 2009 11:12 PM
Code Download for "Professional XSL" Book sowjanya_sadhu BOOK: XSLT Programmer's Reference, 2nd Edition 1 July 2nd, 2009 06:50 AM
Code not going as planned: "icicle" vs "savedinstancestate" joopthecat BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 3 May 3rd, 2009 03:09 PM
How to download Code in "Professional Active Server Page 3.0 " book. renjith0 All Other Wrox Books 2 April 2nd, 2009 05:06 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.