Click here to Skip to main content
15,923,087 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello M, my name is Ade, am based in Lagos Nigeria and am new to Vb.net programming. At the beginning of last month April, i started out a project in vb.net,

The project is an application for Drycleaning pos system . In the Booking form are groupboxes containing item buttons and a tree view where all the order are dropped in, and

it takes the sort of format.

2x Trouser (node)                  20 (Price)
     Blue   (Sub node)
     Cotton (Subnode)

1x Shirt      (node)               30 (Price)
     Black  (Sub node)
     Linen  (Sub node)

2x Shorts     (node)               30 (Price)
     Black  (Sub node)
     Linen  (Sub node)
     Press only(Sub node)    -15 (half of 30)



The above items are buttons grouped in group boxes ( There is the group box for clothes (Shirts, suits dresses etc), colors(Blue , black,etc), materials(Cotton, linen etc) and extra which are percentage based on cleaning amount like press only , reclean etc.) when i click on a button in a particular group(Say clothes or garment) the item is

thrown into the treeview and its group disappears and the next group(color) is displayed and this goes on till i get to the last stage which is Extra and i then click on a

next item button to start entering another clothe. This i can do , but here is my problem.

1. i don't know how to add the quantity figures beside the node items in the treeview
( as you can see the first node which is trouser has a figure beside it, 2, the figure are meant to stand right beside the node items (Clothes) on the left side but not as a node or subnode item

2.i don't know how to add the price figures opposite the node items in the treeview
(As you can see the prices are not nodes nor subnode items they are meant to stand separately to the far right in the treeview

3.I don't know how to bind each of these items (nodes and subnodes) to columns in a database table.

please help

Regards

ade
Posted
Updated 16-May-13 11:11am
v2
Comments
Sergey Alexandrovich Kryukov 16-May-13 14:21pm    
You cannot ask question about TreeView without specifying exact type of it. You need to tag the UI library or application type your are using.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900