If this is a windows application you can use the MaskedTextBox to only allow for dates: http://msdn2.microsoft.com/en-us/library/system.windows.forms.maskedtextbox.mask(VS.80).asp x
If this is a webform you can use a RegularExpressionValidator to verify that the data matches XYZ date pattern.
hth.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========