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 February 9th, 2004, 08:34 AM
Registered User
 
Join Date: Feb 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default cha 3 hashtable

hello

the download code and my own code don't work for the hash table exercise on p 116-9 anybody else had this problem?



 
Old February 17th, 2004, 05:44 AM
Registered User
 
Join Date: Feb 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to knopfler
Default

Hi

I checked out the code page in the code download (TIO-Hash-Table.aspx) and it seems to work fine. Could you describe the exact error you are getting?

I tested the page for the date '1/1/2005' and it gave the following output:

On this date enjoy the: Belevederes

If you are pasting the code into a new file, make sure you switch to 'All' view in Web Matrix and delete all existing code before pasting.

Hope this helps!


Booze is the answer. I don't remember the question.
 
Old October 26th, 2004, 07:29 PM
Registered User
 
Join Date: Oct 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There is a bug in the web matrix server that caused this exercise to fail for me.

The web matrix server treats the date notation #1/2/2005# as m/d/y regardless of system settings.

I am from Australia where we use d/m/y date formats. This exercise failed when I used the web matrix server. It worked correctly using IIS.

The problem is that cdate("1/2/2005") is converted according to the system settings, whereas #1/2/2005# is converted as m/d/y regardless of the system settings.

Fix: change all uses of #date# to cdate("date").

Hope this helps





Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamically cha nging root node!!!!!!! rakesh XSLT 4 July 29th, 2008 09:31 AM
Hashtable ajit Java Basics 1 July 11th, 2006 01:25 AM
Hashtable mahulda General .NET 2 August 2nd, 2004 07:49 AM





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