Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 1.1
This is the forum to discuss the Wrox book Beginning ASP.NET 1.1 with Visual C#.NET 2003 by Chris Ullman, John Kauffman, Chris Hart, Dave Sussman, Daniel Maharry; ISBN: 9780764557088
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 1.1 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 September 2nd, 2004, 02:59 PM
Registered User
 
Join Date: Sep 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems with Chapter 8

Hi, I'm having a problem with the Parameters.aspx file on p278 of chapter 8. I tried doing it by hand first, then the default downloaded version, and keep coming up with the error:

BC30456: 'SelectedValue' is not a member of 'System.Web.UI.WebControls.DropDownList'.

it has a problem with this line in the Button1_Click subroutine:

DataGrid1.DataSource = GetProducts(lstCategory.SelectedValue)

any ideas on what's going on? do i need to import a different namespace or whatever to get it to recognize that? thanks for your help.
 
Old September 2nd, 2004, 04:05 PM
Registered User
 
Join Date: Sep 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well, i got it to work on an actual web server, so probably something with web matrix itself? don't know, no real worries on this one but if anyone has any ideas on what to configure so that this works, it'd be greatly appreciated. :)
 
Old September 6th, 2004, 06:52 AM
Authorized User
 
Join Date: Jun 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default



 Hi,
    I am having the same problem as well. I am using WebMatrix on Windows 2K prof. and I am getting the same problem Any help please
 
Old September 7th, 2004, 01:56 AM
Authorized User
 
Join Date: Jun 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default



 Hi,
   Having .NET 1.0 previously installed on your PC might cause this problem, what you should do is uninstall 1.0 and the code will work. I did it and it worked for me. In the book, the first chapter, they mentioned that having 2 versions of .NET might cause some problems!!

Good Luck
 
Old September 7th, 2004, 05:16 AM
Registered User
 
Join Date: Sep 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hey thanks! that did it alright. just wondering, i just moved the v1.0.3705 folder out of the C:\Windows\Microsoft .NET\Framework\ folder and left the v1.1.4322. Is there a cleaner way to uninstall the earlier version?
 
Old September 7th, 2004, 05:21 AM
Authorized User
 
Join Date: Jun 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default



 just go to Add/Remove program in Control Panel and remove the .NET v1.1 I don't think moving the folder will be a good idea unless you want to use the v.1.0 again
 
Old September 8th, 2004, 02:17 AM
Friend of Wrox
 
Join Date: May 2003
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The new 2.0 framework is now equipped with a MMC snap in for ASP.NET, so that user can choose the version of framework they require for their websites.

Charul Shukla





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Example in Chapter 6 elly BOOK: Professional Crystal Reports for VS.NET 0 March 31st, 2008 03:39 PM
Yet more Chapter 4 problems Putter BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 3 March 28th, 2007 11:37 PM





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