Here's one way to do it:
Main Topics
Browse All TopicsIn my DetailsView, I have several dates that I need to update. Right now they are displaying in this format: 7/21/2008 12:00:00 AM
I just want them to be displayed as this: 7/21/2008
Now when I go into the SQL and try to convert it there (like this: CONVERT (VARCHAR(8), Patient_Personal_1.Patient
Is there a cleaner way to just have a popup date box inside the DetailsView? I haven't seen a way to do this.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
nmarun, your code is the only code that worked for me. The problem I'm having now is that although the date is displaying properly during the ItemTemplate, it's not doing what I want in update mode.
I want users to be able to enter dates in the update mode in the same dd/mm/yyyy mode that you made work for the ItemTemplate mode. Any thoughts?
Use the calendar control:
http://www.asp.net/ajax/aj
Thi
or
see if this will work for you:
<asp:TextBox ID="TextBox4" runat="server" Text='<%# GetEnrollDate(DataBinder.E
Thi
Business Accounts
Answer for Membership
by: Juan_BarreraPosted on 2009-02-04 at 14:17:05ID: 23554333
YOu can try something like this:
Select allOpen in new window