Datevalidation in c#.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vajrala Narendra
    New Member
    • Jun 2007
    • 73

    Datevalidation in c#.net

    Hi everybody
    am working with c#.net, vs2008
    am new to windows applications
    how to validate a control for date

    please reply me
    thankyou
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    What type of application are you developing?
    If it's an asp.net application, have you attempted to use a Validator Control like the RegularExpressi onValidator?

    Comment

    • Vajrala Narendra
      New Member
      • Jun 2007
      • 73

      #3
      reply

      It is Windows application
      pure c#.net

      Comment

      • madankarmukta
        Contributor
        • Apr 2008
        • 308

        #4
        Hi,

        What you want to validate.. the range of date or the format of the Date entered by the user..?

        If You want to validate the format you can make use of System.Text.Reg ular expression to validate the Date and if you want to validate the range of the entered date just check it with the curent date..

        Thanks!

        Comment

        Working...