Custom validation for from and to date in vb.net? -


I am developing web applications in vb.net, how to validate date and date using custom verification ..

I need to validate the date in ASP: The text box should be "dd / mm / yyyy" format and I have two dates with date and date. Todate should not start less, start date, can someone help me,

thanks in advance

This is the way to VB.Net. You can modify it to fit asp.net

  dim date1 DateTime = "01/01/2000" as date date 2 Date = "07/09/2012" Dim date = Input box as "Date"?) If My Data & gt; = Date1 and also myDate & lt; = Date2 then MSBBX ("middle") other MSBBbox ("not in the middle") end if    

Comments