c# - multiply textbox value by factor from combobox? -


i have textbox numeric input. , combobox, list of factors 'behind' it.

i want have combobox multiply value visible in textbox factor chosen list, each time change combobox choice. way go here?

sorry, not clear: say, value in tb 3. chose cb item (the 1 says "10") , tb value multiplied 10. next time chose cb item (the 1 says "100"), original value of tb box multiplied 100.

use convert input textbox int:

int = int32.parse(textbox1.text); 

maybe paste code in? can better way


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -