February 2006 Entries
ASP.NET 2.0 GridView FormatStrings

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.

Posted On Saturday, February 25, 2006 11:01 AM | Comments (33)
VS2005 Item Templates

Came across two solid articles today for using VS2005 Item templates. 

The first show modifying the out of the box templates:


The second shows creating custom templates:

Posted On Tuesday, February 21, 2006 7:08 AM | Comments (0)

View Steve Michelotti's profile on LinkedIn

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

Google My Blog

Tag Cloud