Click to See Complete Forum and Search --> : Text Box Grid


frank_stain
05-16-2005, 09:11 AM
i have 70 text boxes, 10 for each day of the week. i want to ensure only numbers a are put in and when a number is put it, it adds it to the text field at the bottom called weekly total which adds up the number in all the text fields.

any idea?

thanks

frank

PeOfEo
05-16-2005, 12:55 PM
c# or vb.net? If you are using vb.net isnumeric should work (I think). It would return a boolean value. So if it returns true it is numeric, if it is false you give them a message saying enter numbers.

frank_stain
05-17-2005, 10:12 AM
i got it sorted thanks. its vb.net

dont suppose you have any ideas on how to det up a two d array of text boxes thanks
into a table