Hi Everyone,
I have one text box named txtYear.text and this text box will accept only Year Value i.e. 2011, 2012 and so on. Now i want to put a validation on the text box like, if user enters the value like 1,03,54 in text box then the system should show an error message to user saying that, the value is not year or something. The text box should accept only if the user enters valid year value like 2010, 1907 and so on.
I am working on VB.NET 2010 and the language is VB.
I have seek the help from google but failed to get the proper solution. CAN ANYONE HELP ME?