punctuation

  • Thread starter Thread starter frazer
  • Start date Start date
F

frazer

how do i ensure the user always enters alphanumeric characters in my text
box. no spaces or punctuations?
 
Hi,

You can use the KeyPress event of the textbox and set the Handled property
of the event args ( do not remember the exact type )

Cheers,
 
Back
Top