2
Answers

Date Validation in winforms

raja ramesh

raja ramesh

13y
4.3k
1
Hi,

I am working with windows applications

I am using MaskedEditBox(RadMaskedEditBox, telerik)
for this I am using masktype is standered and mask is 00/00/00

This date text box validated based on system date format but I want to validate date based on dd/mm/yyyy format
My code is 

try
{
DateTime d=DateTime.parse(datetext); 
}
catch(...)
{...}

Please can you tel me how to validate date based on dd/mm/yyyy format
Answers (2)