Click here to Skip to main content
15,910,358 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
label Updated value set in datatable but that label is not in table as columname i got that value from UI ..i have only TotalQuantity field in table and i want to update in this field

see i have total Quantity exmp= 10
i give order for buy item exap= 3

i give minus in UI and now i want to get value update 7 in my table .

PLease help
Gaurang
Posted
Comments
Kenneth Haugland 3-Aug-12 11:18am    
Then show Quantity exmp - buy item then
Gaurangraval 3-Aug-12 11:31am    
Means ....??
Kenneth Haugland 3-Aug-12 11:36am    
IT seems that you datatable workd as you have programmed it to, as they always do, either youll have to change your storage in the datatable or youll have to ammend the situation to account for you particular case...
Sandeep Mewara 3-Aug-12 13:01pm    
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information.
ZurdoDev 3-Aug-12 14:42pm    
I can't follow what you are asking.

1 solution

This is almost illegible. If you have a negative number in a string, parsing it to an int will allow you to add it to the number you have. If that's not what you need, then I have no clue, based on this gibberish, sorry. As always, we don't mind that English is not your first language, but CODE is the best thing you can post to make clear your intentions.
 
Share this answer
 

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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