I am a beginner with C# and am having some problems with DateTime.
I do not want to use 3 separate dropdowns or textboxes for date. But I still want to be able to put restrict the user input to the format of the date (dd/mm/yyyy). How can I do that?
Note: I am just a learner so please explain whatever code you write
Hi You can use javascript to restrict your date feild.
See below my code
Your textbox in aspx page ,
<asp:Textbox ID="txtDate" runat="server" />and use javascript like below