Hi, all

How can I make a text box such that it accepts numbers only? Does anybody know how can I achieve that? It would be helpful if somebody post some example programs or some links to such websites where I can get some resources regarding this thread.

Thanks to all in advance.....

Use the KeyPress events to check the character being entered. You can find a sample here.

I this is solved but if you are using the newer version of express 2005 you can simply create a masked textbox that only accepts INT values