I have 2 textboxes
textbox1, textbox2
I want to calculate 15% of the number user entered in textbox1 and show it in textbox2
I tried this :
if (!string.IsNullOrEmpty(textBox3.Text))
textBox7.Text = (int.Parse(textBox3.Text) *100 / "15%).ToString();
if (!string.IsNullOrEmpty(textBox3.Text))
textBox7.Text = (int.Parse(textBox3.Text) *100 / "15%).ToString();
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sujeet SumanPosted Oct 17, 2015, 1:00 AM
Priyaranjan K SPosted Oct 16, 2015, 10:58 PM