Views: 10.9K
Replies: 2
Archived
|
Web User Control and date formattingI have a drop down list in a Web User Control and wish to show the date in dd mm yyyy format.
Could anyone explain what I need to do to get it to display like this? Dinesh Namdev, Apr 15, 2011
|
|
Reply 1You can format dates and times in a number of ways. Take a look at the MSDN site: This will help you nicely Ricky Owen, Apr 19, 2011
|
|
Reply 2in DropDownList add this property
10-02-2010 -------- DataTextFormatString = "{0:dd/MM/yy}"; 10/02/2010 -------- DataTextFormatString = "{0:dd-MM-yy}"; Aravind Kumar, Apr 19, 2011
|