views:

375

answers:

3

hi, Is there any way to access the remote server database from the iphone? except the way of json or by xml. Can i get sample code?

+1  A: 

Build a web service front end.

Pierreten
can i get any sample? because i can't get clearly about webservice?
Manoj Kumar
Soap or rest, your choice
Pierreten
A: 

If your server has been developed to handle requests and send response, u can use NSMutableURLRequest and achieve data. You will receive pure HTML data and then u have to parse it.

Satyam
A: 

http://ODBCrouter.com/ipad (new) includes XCode libraries and a sample application that show how to do "live" access just about any database over the network using the industry standard ODBC programming interface. On the server-side you just need to setup the correct Windows ODBC driver and ODBC Router in a Windows PC or VM, or on the same box hosting your database. The client-side components are free (and free to redistribute with your app), the server-side component costs about the same as a TV, which is most likely going to be far less than the tremendous effort involved to create a web service and maintain backwards compatibility with earlier versions of your app as it evolves.

AugSoft Tom