Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) 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 November 1st, 2004, 05:41 PM
Registered User
 
Join Date: Oct 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Calculator Using Postback - page 256

Having just spent 1+ hours trying to find out why my calculator didn't work I thought I would share this snippet with you other newbies...
In the code below I thought there were 4 number 1's in fact there are only 2, after the workd 'Number' the other 2 are the letter L in lowercase!!!Apply that throughout the rest of the code and hey presto it works!

dblNumber1 = CDbl(Request.Form ("txtNumber1"))

I know it may be elemental for those of you who are experienced but this sort of thing does catch the rest of us out! I am now a much wiser man ...

Regards

Iain

 
Old November 2nd, 2004, 05:04 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Iain,

Thanks for pointing this out. I am sure some of the forum's visitors will benefit from this in the future.

The differences between the 1 and the l are indeed hard to spot, both on screen as in print.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Downfall by Laurent Garnier (Track 11 from the album: Unreasonable Behaviour) What's This?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Postback other page Snuffles ASP.NET 2.0 Basics 1 July 7th, 2007 12:46 AM
Page Refresh on first postback slim182 ASP.NET 2.0 Basics 4 February 20th, 2007 08:22 PM
postback of a particular Controll not whole page Raz Muhammad General .NET 1 November 29th, 2004 12:42 PM





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