I want to check in Date Field(Textbox), whether the input is Date Format or not
(i.e) Date Format should be followed(YY/MM/DD)
in C# windows applications.
How can i check this?
I want to check in Date Field(Textbox), whether the input is Date Format or not
(i.e) Date Format should be followed(YY/MM/DD)
in C# windows applications.
How can i check this?
I want to check in Date Field(Textbox), whether the input is Date Format or not
(i.e) Date Format should be followed(YY/MM/DD)
in C# windows applications. please give the complete source code
Hi!
you can validate the input with an regular Expression if its valid or not ->
you can also display a information if Input is wrong -> see this link:
http://www.codeproject.com/KB/edit/RegExTextbox.aspx
There the textbox is validated against a regular expression
you maybe need one of the following expressions:
http://regexlib.com/Search.aspx?k=&c=5&m=-1&ps=20
hope this help
Daniel
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.