If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

ListView Added Item

hello Guys,, I am Developing POS and I have A Code To Add An item into Listview Then Exactly Work.. Then My Problem is, what if the Customer Select two Similar Item let Say 3 Pack of Milk and 2 Sardines..
Example:
Item--------------QTy
Milk--------------- 1
Sardines---------- 2

I forgot to add 2 pack of milk, Then I want to become like this
Example:
Item--------------QTy
Milk--------------- 1
Sardines---------- 2
Milk--------------- 2..
But in My code this is What happen
Item--------------QTy
Milk--------------- 3
Sardines---------- 2
Its Updated the QTy Instead Make A another Row.
HElo Guys,, This is My code..

This is what i mean if the Item is already in Listview Then there are two items in Listview like
Item--------------QTy
Milk--------------- 1
Sardines---------- 2
Then The Customer Decide a Buy Another Milk then it should be like this
Item--------------QTy
Milk--------------- 1
Sardines---------- 2
Milk--------------- 1
Then My Problem is If The Customer Buy Another Milk then Code Run it should be like this
Item--------------QTy
Milk--------------- 2
Sardines---------- 2
not this one..
Item--------------QTy
Milk--------------- 1
Sardines---------- 2
Milk--------------- 1

Hello Sir,,
Sorry for My Mistake,,
This is what i mean if the Item is already in Listview Then there are two items in Listview like
Item--------------QTy
Milk--------------- 1
Sardines---------- 2
Then The Customer Decide a Buy Another Milk then it should be like this
Item--------------QTy
Milk--------------- 1
Sardines---------- 2
Milk--------------- 1
Then My Problem is If The Customer Buy Another Milk then Code Run it should be like this
Item--------------QTy
Milk--------------- 1
Sardines---------- 2
Milk--------------- 1
not this one..