Jump to content

Message from Mobile device to Server to DB and Back...

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
danbt

danbt

    Newbie

  • Members
  • PipPip
  • 12 posts
HI all.

I have a really big problem. I have a computing project due at the start of May. V close....

Im writing a Mobile device (PDA) App in C# that needs to retrieve info from a MySQL DB.

However, there is no direct way I know of connecting to a DB frm the Windows Mobile Framework.

So my idea is to send a SQL Request from the Mobile device, to a server, that then requests the info from a DB and brings it back tot he server, then back to the PDA. So the server acting as the middle man.

I was wondering what you think the best way to do this would be.

I was thinking of having a text file that is written to by the PDA with a request.

The server then reads the file checking for a new request.

If its new, requests from the DB.

Writes to a results text file.

Then the mobile device program can read the results file.

Can anyone provide any ideas on what would be the best way to to do this, I am a beginner when it comes to programming.

Please please please help.

Many thanks
Dan

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
ASP.NET (in C#) on the server and handle the query as a web request.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog