Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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 December 22nd, 2004, 10:55 AM
Authorized User
 
Join Date: Dec 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to use httprequest's item property

hi frnds,
there is a property called "Item" associated with HttpRequest class.
I dont know how to use that property...
cant access that property by writing Request.Item or Request.Item["paramName"]
can any one give me a sample how to work with that property?
thanks in advance
rahman
 
Old January 11th, 2005, 12:11 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You access it like this in VB.NAT:

Request.Item("paramName")

or like this in CS:

Request["paramName"]

If you want to access the querystring values, you can access it thru the querystring collection of the request:

Request.QueryString...

This way it won't have to look thru all the different collections that are in Request for the value.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting an item from the array monfu C# 0 March 29th, 2006 09:21 AM
Finding the first item EstherMStrom XSLT 9 September 30th, 2004 11:17 AM
Want Combo Box first item if only 1 item markw707 Access 3 June 9th, 2004 04:03 PM
Find Out First Item of each item Group Jane SQL Language 1 November 22nd, 2003 12:42 PM





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