Posts
201
Comments
1110
Trackbacks
51
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:

http://davidhayden.com/blog/dave/archive/2005/11/05/2556.aspx

 

The second shows creating custom templates:

http://codebetter.com/blogs/david.hayden/archive/2005/11/06/134343.aspx

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