Discussion in 'ASP .Net Web Controls' started by susie, Nov 3, 2003.

  1. susie

    susie Guest

    What is the validationexpression for date
    susie, Nov 3, 2003
    1. Advertisements

  2. susie

    susie Guest

    Found solution for the below posting. How can I compare
    the user entered date with the current date?

    Thank you!
    susie, Nov 3, 2003
    1. Advertisements

  3. susie

    Jim Guest

    If CDate(TextBox1.Text) = Today.ToShortDateString then
    Do Something
    Do Something Else
    End If
    Jim, Nov 5, 2003
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.