Format DateTime to Short Date when Binding in ASP.Net

Feb 28, 2008   //   by kyanachik   //   Website Development  //  View Comments

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

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

  • Kevin

    help

  • Kevin

    help

blog comments powered by Disqus