Home All Groups Group Topic Archive Search About
Author
8 Aug 2006 4:26 PM
shif
Hi
i want to add a datetime object in my asp.net form,is there any control.If i
want to use any html code please help me,thanks
--
Thanks

Author
8 Aug 2006 4:33 PM
Siva M
For Date part use the Calendar control. For the time part, you can have two
drop-down lists, one for the hour and another for minute (each listing valid
values for the respective components)...


"shif" <ns_0***@hotmail.com> wrote in message
news:734D1D31-FC20-405F-9208-0C34E16FF8A2@microsoft.com...
Hi
i want to add a datetime object in my asp.net form,is there any control.If i
want to use any html code please help me,thanks
--
Thanks
Author
9 Aug 2006 5:13 AM
Cor Ligthert [MVP]
Shif,

AFAIK are there no special future DateTime as HTML tag or whatever beside
that as Siva suggest.

To set a DateTime to a string you have the overloaded method
DateTime.ToString(overloaded)

I hope this helps,

Cor



Show quoteHide quote
"shif" <ns_0***@hotmail.com> schreef in bericht
news:734D1D31-FC20-405F-9208-0C34E16FF8A2@microsoft.com...
> Hi
> i want to add a datetime object in my asp.net form,is there any control.If
> i
> want to use any html code please help me,thanks
> --
> Thanks