How to Add a DatePicker Control for Both Date and Time to C#/ASP..NET project
Posted on 2011-09-20
I am attempting to create a new asp.net site that will allow a user to search through a series of tables based on specified criteria that they enter. In order for the user to be able to narrow down their search, I need to be able to add the equivalent of a datetimepicker, similar to that in C# Windows forms, to an ASP.NET 3.5 project. (I am still a beginner at ASP.NET and C#, so I apologize in advance if this is a trivial request.) Could someone help me find the correct control that I would need to use, or point me in the direction that I would need to follow to be able to pull the date and time entered by the user? (The data will need to be pulled from the ASPX page via C# to be used to query a database and their will be two date fields, one being a "Date From" value and the other being a "Date To" value.)
Thank you to anyone whom can help me track down the correct control for this requirement.