Wrox Programmer Forums
BOOK: Beginning ASP.NET Web Pages with WebMatrix
This is the forum to discuss the Wrox book Beginning ASP.NET Web Pages with WebMatrix by Mike Brind, Imar Spaanjaars ; ISBN: 978-1-1180-5048-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET Web Pages with WebMatrix 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 17th, 2012, 12:18 AM
Authorized User
Join Date: Jun 2012
Posts: 45
Thanks: 11
Thanked 0 Times in 0 Posts
Default Classifieds - ITEMS UPDATE W Verification

I'm modifying the Classifieds site by adding an update Items screen. I'm kinda modifying the SELL page with the Validation functionality which uses
the form REQUEST function, ie; value="@Request["title"]"

My Question: How do you Load values of the current values from the database into the form when using the the REQUEST function, "@item.Title"
will load the records but won't perform the Validation functions necessary..?.

Thanks Imar

Edgy in Mesquite
( hey, I never really got Chapter 8 to work correctly either, everything else worked real fine..)
Old October 17th, 2012, 04:51 PM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi there,

I am not sure I understand the question. Can you rephrase?

BTW: I didn't wite that chapter, so Mike may know the answer.....

Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
EDGY (October 25th, 2012)
Old October 25th, 2012, 03:07 PM
Authorized User
Join Date: Jun 2012
Posts: 45
Thanks: 11
Thanked 0 Times in 0 Posts
Smile resolved: update page variables for classifieds/Item tabl

When creating an EDIT page for the classifieds page(items), I was trying to use the Request.form functions and mimic the SELLS.cshtml page. Well, I ended up using variables and just reloaded them with the Request[] when i had validation errors. So, i got it working just fine. I added it to the ADMIN functions page so that its resctricted admin users.

thanks Imar

Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 9: Limiting Access to Items Functionality Verification Needed peace95 BOOK: Beginning Oracle Application Express ISBN: 9780470388372 0 July 17th, 2009 07:10 AM
how to update table with listview items Singh591 Pro VB.NET 2002/2003 0 December 30th, 2006 11:13 PM
formatting a classifieds section. Part 2 afrika_people Classic ASP Databases 1 August 13th, 2004 04:40 PM

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