Re: Pocket PC and Sql 2k Question. by kthulu
kthulu
Tue Feb 24 18:55:31 CST 2004
Thanks Chris, the link helped a lot :)
"Chris Tacke, eMVP" <ctacke[at]Open_NET_CF[dot]org> wrote in message
news:uE4pEIb%23DHA.3812@TK2MSFTNGP09.phx.gbl...
> Simply call SetLocalTime or SetSystemTime on connection (see
> www.opennetcf.org/smartdeviceframework.asp for definitions). You can get
> the SQL Server's time with a SELECT getdate()
>
> -Chris
>
>
> "kthulu" <waynejcook_spamfree@hotmail.com> wrote in message
> news:c1bhqb$qdd$1@lust.ihug.co.nz...
> > Greetings All,
> >
> > I'm currently working on a VB.Net project that uses the .NET Compact
> > Framework.
> > I have a question regarding setting the time.
> >
> > My application connects to a SQL server across the network, is it
possible
> > to set the Pocket PC's time to that of the SQL server?
> > I need to do this as part of a function everytime I connect to the
server.
> >
> > Any ideas or suggestions will be greatly appreciated?
> >
> > Thanks,
> >
> > Wayne
> >
> >
>
>