Is there any validation control available in .net win forms like asp.net web form?

后端 未结 4 1608
轮回少年
轮回少年 2021-01-13 15:19

Is there any validation control available in .net win forms like asp.net web form?

Because it difficult to right condition for each control in my from also there are

相关标签:
4条回答
  • 2021-01-13 15:32

    There is a project that developed a free validator just like the web forms one. You can find it here.

    Or you can use MaskedTextBox controls or event driven validations as explained here.

    0 讨论(0)
  • 2021-01-13 15:37

    ErrorProvider can work to some extent but still we need to write code for validation

    0 讨论(0)
  • 2021-01-13 15:48

    They are not validator controls but set of validation classes to build rules for validating objects.

    The Enterprise Library has a Validation Application Block

    http://msdn.microsoft.com/en-us/library/ff664378(v=PandP.50).aspx

    0 讨论(0)
  • 2021-01-13 15:53

    Check this, hope it helps

    http://msdn.microsoft.com/en-us/library/ms229603.aspx

    http://msdn.microsoft.com/en-us/library/ms950965.aspx

    0 讨论(0)
提交回复
热议问题