p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 2nd, 2009, 08:54 AM
AGS AGS is offline
Wrox Technical Editor
Points: 229, Level: 4
Points: 229, Level: 4 Points: 229, Level: 4 Points: 229, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2005
Location: Russia
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 1, Retrieving Form Post Values

Beginning of the section states (highlight is mine):

Quote:

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:

[AcceptVerbs(HttpVerbs.Post)]
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?

Thanks

__________________
Alexei Gorkov
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

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



All times are GMT -4. The time now is 06:51 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc