View Single Post
  #4 (permalink)  
Old June 10th, 2013, 12:42 PM
John S John S is offline
Authorized User
Points: 179, Level: 3
Points: 179, Level: 3 Points: 179, Level: 3 Points: 179, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2013
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had similar problems when trying to figure this one out.

One mistake was here:

lvi.SubItems.Add(frm.Quantity.ToString("C"));

Quantity is not a Currency format, so there should not be a "C" in the brackets.

Removing the C made the error messages go away.

Also, the "using Sytem Globalization stumped me, until I watched the video for this Lesson, which covered it better.