G
Guest
Hi
I wanted to know if this is possible
I have a listView (detail) that i am adding items to when a button is clicked
My listview has 2 columns. - Product and Quantity
The user selects the values from a combobox1 (product) and a textbox (quantity). They then hit the 'Add' button
Both these values are then added to a single row in my listview. The values are also added to an array that is in the background
If the user selects the product and quantity
Product Quantit
gloves
and then hits the add button this then goes into my listview and array
If they again select the same product.....
Gloves
a new row is created
i want the new quantity to be added to the previous inserted row instead of a new row being added. i.e i want the following displayed in my listview
Gloves 1
not
Gloves
Gloves
Is this possible
If it is can anyone help me out with this?
I wanted to know if this is possible
I have a listView (detail) that i am adding items to when a button is clicked
My listview has 2 columns. - Product and Quantity
The user selects the values from a combobox1 (product) and a textbox (quantity). They then hit the 'Add' button
Both these values are then added to a single row in my listview. The values are also added to an array that is in the background
If the user selects the product and quantity
Product Quantit
gloves
and then hits the add button this then goes into my listview and array
If they again select the same product.....
Gloves
a new row is created
i want the new quantity to be added to the previous inserted row instead of a new row being added. i.e i want the following displayed in my listview
Gloves 1
not
Gloves
Gloves
Is this possible
If it is can anyone help me out with this?