Majid Kamali

Majid Kamali

  • NA
  • 290
  • 256.3k

Calculate Sum with textchanged event

Aug 21 2010 9:34 PM
Hello.
I have an array of textboxes which on form load are empty.
I want, when a textbox.text has been changed, program calculates sum of all arrays and put it in other textbox that is not member of this array.(if one or more textboxes are empty it should assume that it is zero)
How should I write it? because, if e.g array has 10 members, it creates 10 methods for each textbox. (textchanged event)
Thanks.

Answers (2)