Validating values in winforms

  • Thread starter Alhambra Eidos Kiquenet
  • Start date
A

Alhambra Eidos Kiquenet

Hello everyone,

I have an application windows , framework 2.0 + vs2005, and forms, with
textboxes that I have validations of their values.

Which is the fastest way to do this?
using validation with Enterprise Library?
using errorProvider Validating and events?

Please, samples codes about it...

Anyboy knows custom controls , open source, would be appreciated.

For example, a textbox Numeric, which allows only numbers, and one for
decimals, etc.

Greetings and thanks in advance.
 
C

cfps.Christian

The easiest way to validate data is to ensure that it comes in
correctly in the first place. I'm in favor of having controls that
only allow the type of value that I'm looking for, that way I don't
have to validate it in the code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top