Thursday, January 29, 2015

Combobox in c#


The values in the combobox are in string form and I have no idea on how to find the sum of these values.



Look up these .NET methods in the help:



Parse



TryParse



Convert



Choose one and convert each string to an appropriate numeric variable.



Add up these variables.



Convert the sum to a string again to display the result.



- Wayne



No comments:

Post a Comment