[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

=?Utf-8?B?cm9kY2hhcg==?=

2/12/2004 6:16:00 AM

I am having trouble figuring out what i need to do to get aan xml file from my pda. I have a mobile app generate an xml file which i hope to pass into an access database
Problem is I dont know how to automatically get the file from the pda and place it into the database on the desktop when i place the pda on the cradle
I have seen numerous people say use a web service, but I dont know what to put in the web service.
Is there an absolute path to the file on the pda from the desktop like connecting to another persons computer on a nertwork. Or do you have to program something special to get there
Sorry im all over the place here, but the more info i recieved the more confused I am
Anything will help, just need to be pointed in the right directio
Thank
Dave
1 Answer

Ed Kaim [MSFT]

2/12/2004 6:54:00 AM

0

Perhaps you could read the XML file into a dataset, such as:

DataSet ds = new DataSet();
ds.ReadXml("file path");

Then you could call a Web service (that you''ve created) that takes the
DataSet and stores it to a database on the server. Something like:

ServerWebService ws = new ServerWebService();
ws.UploadData(ds);

There is a thread with a link regarding the detection of ActiveSync at
http://www.dotnet247.com/247reference/msgs/40/2....

"DNethar" <anonymous@discussions.microsoft.com> wrote in message
news:1E0A9F51-701A-4DA9-823E-A058040E9938@microsoft.com...
> I am having trouble figuring out what i need to do to get aan xml file
from my pda. I have a mobile app generate an xml file which i hope to pass
into an access database.
> Problem is I dont know how to automatically get the file from the pda and
place it into the database on the desktop when i place the pda on the
cradle.
> I have seen numerous people say use a web service, but I dont know what to
put in the web service.
> Is there an absolute path to the file on the pda from the desktop like
connecting to another persons computer on a nertwork. Or do you have to
program something special to get there.
> Sorry im all over the place here, but the more info i recieved the more
confused I am.
> Anything will help, just need to be pointed in the right direction
> Thanks
> Dave