2005 DataFormatString in Gridview?

T

Tina

Putting {0:d} in the DataFormatString for a date field in a GridView doesn't
work. That date still shows with 12:00:00 AM and all of that.
T
 
Joined
Mar 26, 2008
Messages
1
Reaction score
0
dateformatstring

Use {0:d} in the dateformatstring part, but change Htmlencode to FALSE
it should work

dakes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,783
Latest member
RickeyDort

Latest Threads

Top