You must Sign In to post a response.
  • Category: .NET

    Date Validation


    When I Enter Date as 31/12/2010" in TextBox,TextBox should accept Date.

    When Date Entered in TextBox is not in "31/12/2010" Format,I should get error


    I need Vb.Net Coding using Key Press Event For This.

    Its Urgent.

    Thanks In Advance.
  • #499679
    Hi Baboo,

    Use maskedTextBox1

    set mask= 00/00/0000 ;

  • #499683
    hi friend,
    Are you using windows application or web application.

    Thanks & Regards
    Nothing is mine ,Everything is yours!!!

  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.