Wrox Programmer Forums
BOOK: Professional ASP.NET MVC 1.0 ISBN: 978-0-470-38461-9
This is the forum to discuss the Wrox book Professional ASP.NET MVC 1.0 by Rob Conery, Scott Hanselman, Phil Haack, Scott Guthrie; ISBN: 978-0-470-38461-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET MVC 1.0 ISBN: 978-0-470-38461-9 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 October 2nd, 2009, 07:54 AM
AGS AGS is offline
Wrox Technical Editor
Join Date: May 2005
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 1, Retrieving Form Post Values

Beginning of the section states (highlight is mine):


There are a variety of ways we can access posted form parameters within our HTTP
POST Edit method.One simple approach is to just use the Request property on the Controller base class to access the form collection and retrieve the posted values directly:

public ActionResult Edit(int id, FormCollection formValues) {
Isn't it a bit strange to suggest retrieving form parameters from Request property when there is formValues parameter of type FormCollection that is passed to the method specifically for this purpose?


Alexey Gorkov

Similar Threads
Thread Thread Starter Forum Replies Last Post
retrieving comma separated values from column abhishekkashyap27 SQL Server 2005 6 April 21st, 2008 09:27 AM
retrieving values with xsl Tomi XSLT 14 April 5th, 2007 02:07 AM
delay in retrieving values through session mrjoka ASP.NET 2.0 Basics 2 March 14th, 2007 08:02 AM
Need help in retrieving values from a loop ! back2grave XSLT 0 June 27th, 2006 05:29 PM
POST values and redirect brettk_1 ASP.NET 1.0 and 1.1 Professional 1 January 30th, 2006 08:04 AM

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