Posted on Feb 28, 2008

Format DateTime to Short Date when Binding in ASP.Net

Here’s how to format a DateTime value to a Short Date when Binding in ASP.Net:

<%# Eval(“StartDate”, “{0:d}”) %>

View Comments

blog comments powered by Disqus