ASP.NET and SQL SERVER Tricks
Monday, November 1, 2010
SET DATE TIME FORMAT IN GRIDVIEW
<
asp
:
GridView
ID
="GridView1"
runat
="server"
AutoGenerateColumns
="False">
<
Columns
>
<
asp
:
BoundField
DataField
="date"
DataFormatString
="{0:d}"
HeaderText
="Date"
/>
</
Columns
>
</
asp
:
GridView
>
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment