Formating a date field in ASP .Net 2.0 detailview

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Okay, I am using a detail view to display some data. Two of the fields are
date fields. I can't seem to get them to display properly. I have tried a
variety of options in the DataFormatString property for the columns in
question, but nothing is working. Is there a particular trick to this?
 
If you are using an SQL data source you can also control how the data is
formatted using the CAST and CONVERT funtions in the query it's self so no
formatting is required in the control.
 

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

Back
Top