hi,
When i enter data to date filed time is incorrcet. time is cooming like this for all the entries 11/29/2009 12:00:00 AM.
How can i save date filed with current time?
lakmal
MCTS Senior Software Engineer ASP.Net C#
send ur code ...
Dinesh Kumara (Bsc,BIT,MCP)
http://dineshkumara.blogspot.com
I think you are storing the date time value in DB. So you have to pass the date time object with the time value. Do not convert to short date time string.
If you not give the time portion, the DB keep that portion as 12:00:00 AM
{ SAP } BCIS, MCPD (ASP.net), MCTS (ADO.net, ASP.net), MCP http://sandunangelo.blogspot.com/
Please check your format. It should set to long. or else use custom format which allows you to display time as well (dd/mm/yyyy MM:hh)
Melick UCSC
BICT,MCP,MCTS,BIT
http://melick-rajee.blogspot.com
Hi,
This give date and time together
System.dataetime.now.tostring()
So what is the problem then??
Problem has solve,Meaning of above post is i share solution with other members