ok, I have a "sum" for ading the total prices in list view. The prices are in the sub items. After they are added up ( they display as total: £{0}) how would I save them to add up later amongs other things I have saved in my.settings???
Dan
Printable View
ok, I have a "sum" for ading the total prices in list view. The prices are in the sub items. After they are added up ( they display as total: £{0}) how would I save them to add up later amongs other things I have saved in my.settings???
Dan
I possibally could. But I am unsure on how these things work. I know that by saving them as "Double" I can later add them up. But what I was planning on doing, is getting there total and only storing that. Because there is a section of the form that adds them up already, but later, I will need there total so that they can then be added with other numbers for a "grand total"
go to ur project properties,. add a new item., for the Type,. you need to select an arraylist., you will need to browse., for the correct type.,
select system.collections., in tehre you will have arraylist...
now when you do my.settings.yourarraylist you will be able to do things like
my.settings.yourarraylist.add(the items cost)...
later you can recurse the arraylist and get your total...