DateTime column.

  • Thread starter Thread starter Lithian
  • Start date Start date
L

Lithian

Hi all,

I need to read and write to a DateTime column. The column is binded to a
TextBox. The problem is that I don't know how to display only the "hour
part" of the DateTime in the TextBox, now if I write 12.30, when the
TextBox loses the focus I see 10/04/2007 12.00.00.

I'm using the compact framework V1.1

Thanks
Lithian.
 
Check out the DatePart class.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
 
Back
Top