I'm not sure if this is what you need, but to convert timespan to the date
that has time part equal to timespan you can use new
DateTime(timespan.Ticks)
--
Alex Feinman
---
Visit
http://www.opennetcf.org
"Vinay" <(E-Mail Removed)> wrote in message
news:0D218A73-E7F7-44E1-8665-(E-Mail Removed)...
> Hi All,
>
> I am using a pocket pc with cf 1.0 for my appl.
> I have backend of ASA (ultralite) ....
> now i need get the value form one of the time field ( i have datset for
> this)
>
> myds.Tables(0).Rows(lctr).Item("From_time")...
>
> this when i debug , the framework seems to be converted this, to a
> timespan
> object
>
> can anybody tell me how to convert a timespan object to a DateTime object.
> i
> need to show this as string in text box.
>
> any help is greatly appreciated.
>
> rgds,
> Vinay
>
>
>