Steve Michelotti

A .NET Developer's Toolbox

  Home  |   Contact  |   Syndication    |   Login
  199 Posts | 0 Stories | 1106 Comments | 51 Trackbacks

News

View Steve Michelotti's profile on LinkedIn

profile for Steve Michelotti at Stack Overflow, Q&A for professional and enthusiast programmers




Google My Blog

What I'm Reading:

Shelfari: Book reviews on your book blog

Tag Cloud


Archives

Post Categories

Code

Publications

February 2006 Entries

You can supply format strings to the columns in your GridView by setting the DataFormatString property of the column to something like this:  “{0:d}”.  However, you may have run across a case where you set this property and the system does not recognize the format string you provided.  To make this work, you need to set the HtmlEncode property of that column to “False”.  Then the DataFormatString will act as expected when displayed at run-time.


Came across two solid articles today for using VS2005 Item templates. The first show modifying the out of the box templates: http://davidhayden.com/blog... The second shows creating custom templates: http://codebetter.com/blogs... ......