CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 8/4/2007 7:04:38 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 23 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
saisai
Asp.Net User
I have problem compute the total8/4/2007 7:04:38 AM

0/0

Cart.aspx 

Private order As Order

lblSubtotal.Text = order.SubTotal.ToString("c")

 

Order.class

Public ReadOnly Property SubTotal() As Decimal

Get

Dim d As Decimal = 0D
For Each item As CartItem In Cart.GetItems()

d += item.Total

Next

Return d

End Get

End Property

 

Error Msg

 Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

rmaiya
Asp.Net User
Re: I have problem compute the total8/4/2007 3:44:56 PM

0/0

 looks like you are directly referencing the class, from your listing it is not clear about your object hierarchy but my guess would be

Public ReadOnly Property SubTotal() As Decimal

Get

Dim d As Decimal = 0DFor Each item As CartItem In Me.Cart.GetItems()

d += item.Total

Next

Return d

End Get

End Property

 

 


Raghu
(MCSD.NET, MCAD.NET, MCDBA)
[Don't forget to click on Mark as answer on the post that helped you ]
saisai
Asp.Net User
Re: I have problem compute the total8/4/2007 6:48:07 PM

0/0

if i give u the whole code is it easy for to solve the problem

 

rmaiya
Asp.Net User
Re: I have problem compute the total8/5/2007 2:33:57 PM

0/0

 yeah... that will be great


Raghu
(MCSD.NET, MCAD.NET, MCDBA)
[Don't forget to click on Mark as answer on the post that helped you ]
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Discrete Algorithms: 2nd Annual Symposium : Selected Papers. Authors: Society for Industrial and Applied Mathematics, Special Interest Group on Automata and Computability, Activity Group on Discrete Mathematics, Association for Computing Machinery, Pages: 0, Published: 1991
Vlsi Algorithms and Architectures: 3rd Aegean Workshop on Computing, Awoc 88. Corfu, Greece, June 28 - July 1, 1988: Proceedings Authors: J.H. Reif, Pages: 476, Published: 1988
Real-world Applications of Evolutionary Computing: EvoWorkshops 2000 : EvoIASP, EvoSCONDI, EvoTel, EvoSTIM, EvoRob, and EvoFlight, Edinburgh, Scotland, UK, April 17, 2000 : Proceedings Authors: Stefano Cagnoni, Pages: 396, Published: 2000
The Millennium Problems: The Seven Greatest Unsolved Mathematical Puzzles of Our Time Authors: Keith J. Devlin, Pages: 256, Published: 2003
Autonomy Oriented Computing: From Problem Solving to Complex Systems Modeling Authors: Jiming Liu, Xiaolong Jin, Kwok Ching Tsui, Pages: 216, Published: 2005
Software Engineering Education: SEI Conference 1989, Pittsburgh, Pennsylvania, USA, July 18-21, 1989 Proceedings Authors: Norman Edgar Gibbs, Pages: 312, Published: 1989

Web:
Rome Total War Problems - Computing.Net Rome Total War Problems I'm trying to run Rome Total War on my Toshiba Satellite (which I have run on it before, for approx. 6 months) but now, ...
medieval total war problem - Computing.Net i have medieval total war and it will let me do anything but a campaign ... Computing.Net > Forums > PC Gaming > medieval total war problem ...
Total Computing Solutions, LLC contact total-computing ... We understand the needs of our customers and have dedicated ourselves to creating ... 2007 - Total Computing Solutions, LLC ...
ASET Annual Report 2006-07: GEaRS: High Performance Computing LION-XO contains 124 compute servers with a total of 336 processors and 1.5TB of RAM ... The following are examples of how such problems have been addressed ...
Total Computing - Quality Fire Alarm, Battery Backup, Clock and ... Total Computing is a New England-based business with over 30 years of experience in the engineering, design, installation and servicing of fire alarm, ...
Episode 136: Net Neutrality--a U.S. Problem?, Apple Lifts iPhone ... Oct 1, 2008 ... 'Cloud computing' is total information awareness. What sin! ... (and please have dibona on the show for that one...there are not enough REAL ...
math problem: compute 3d volume (image-based) - Linux Forums math problem: compute 3d volume (image-based) Art & Imaging in Linux. ... the idea is, if 1 voxel is 1cm^3, and if the total of voxels are ...
Sample average approximation - Computing Upper Bound Estimates ... problem, compute total objective and report the average of the UB estimate for each solution. Which is right? Assuming 1) is right, we clearly have one ...
227-29: SAS and Grid Computing - Maximize Efficiency, Lower Total ... You may have an application which runs for a very long time because it is either very compute. intensive, very data intensive, or both. If the problem is ...
ACM Computing Surveys : Geometric Path Planning Since many of such problems have been shown to be NP-hard, efficient techniques for computing their approximate solutions are particularly useful. ...

Videos:
how many area codes are there solution of a high school math problem in algebra I involving computing the total number of possible area codes
Optical device for the Subset Sum problem www.cs.ubbcluj.ro/~moltean/optical/ The device has a graph-like representation and the light is traversing it by following the routes given by the co...
Cisco WAAS Mobile - Video Data Sheet Cisco Wide Area Application Services (WAAS) Mobile extends Cisco WAAS Software application acceleration benefits to mobile employees who travel outsi...
TED - Chris Anderson shares his vision for TED (with subtitles) Chris Anderson shares his vision for TED on TED 2002. Subtitles available in Bulgarian, English, French
Optical device for the Subset Sum problem www.cs.ubbcluj.ro/~moltean/optical/ The device has a graph-like representation and the light is traversing it by following the routes given by the co...
AGN Heating 3D Simulation (galaxy group; B3) Advanced hydrodynamical and astrophysical 3D simulation of a jet outflow, generated from an active galactic nucleus at the center of a galaxy group (...
fzi_democamp_eclipse_trifu.mov A presentation of the tool inCode at the Karlsruhe Eclipse Demo Camp in 2008
Motion Estimation from Image and Inertial Measurements Google TechTalks February 24, 2006 Dennis Strelow Robust motion from monocular image measurements would be an enabling technology for Mars rover, m...
Key Phrase Indexing With Controlled Vocabularies Google TechTalks June 21, 2006 Olena Medelyan is a grad student who has just started on a Google-funded PhD scholarship, looking at keyphrase extrac...
Lec 18 | MIT 3.091 Introduction to Solid State Chemistry X-ray Diffraction of Crystals: Diffractometry, Debye-Scherrer, Laue Crystal Symmetry View the complete course at: http://ocw.mit.edu/3-091F04 Lice...




Search This Site:










website appliation where is the dll stored?

can i use visual studio 2005 to work with asp code

problem renaming project folder containing an asp.net web application project

intellisense only working on some classes and not others

problem in using asp.net configuration with internet explorer 7

problem running net 2.0 websites in http/local iis mode

vs 2003 upgraded to 2005 error deploying

how to handle compiled applications?

item templates

clear height and width attributes from td cells

uploading images in asp 2.0

doubt - > related to asp.net web application

vs2005 and references

missing debug options

file system web service

how can i connect to database snapshot with vb.net

why does it take so long to start vs.net applications?

adding more online help resources

vs2005 can not run on winxp sp2

accessing a folder for image file types

team development in visual studio 2005

website deployment in vs 2005

toolbox auto hide stopped working

wierd compile errors following migration from vs2003

interfaces

publish website overwrites / erases existing ntfs directory permissions on server

stylesheet problems with webdeployement

make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class

web site namespace

how to list which methods() are being called

  Privacy | Contact Us
All Times Are GMT