Sign in
|
Join
|
Help
in
Current Tags
(Entire Site)
Memphis .NET User Group
Home
News
Forums
Downloads
Contact
All Tags
»
.NET
(
RSS
)
Browse by Tags
pro/cons
Re: Truncate time from an SQL Query
You can try to format the date into string with format of yyyyMMdd eg datetime.ToString("yyyyMMdd") or (yyyy/mm/dd) This will return you just date with this format without time or you can change to whatever format you want Good Luck
Posted to
Topics & Speakers
(Forum)
by
soonlim
on 04-03-2008
Truncate time from an SQL Query
I am trying to display a date on a Gridview but I get the date with the time from an SQL query. How can I truncate the time from the SQL return? Or simply just display the date? My program is in C# and I’m using MS VS 2005. Thanks! Jason
Posted to
Topics & Speakers
(Forum)
by
jason901
on 03-31-2008
you gotta read this article
http://codebetter.com/blogs/patricksmacchia/archive/2008/03/18/number-of-types-in-the-net-framework.aspx
Posted to
Topics & Speakers
(Forum)
by
heger_walter
on 03-24-2008
Page 1 of 1 (3 items)