How do i query data from SQL Server 2005/2008 databases to iPhone

后端 未结 2 1066
Happy的楠姐
Happy的楠姐 2020-12-22 10:24

I am trying to figure out how to utilize exisiting SQL Databases with my iPhone apps.

What i am trying to do, is have a search function. The user inputs a keyword, i

相关标签:
2条回答
  • 2020-12-22 10:36

    You need to write a PROXY PROGRAM to do that. You can't connect directly to SQLServer from iOS.

    By proxy I mean a program using some kind of server side technology (IIS, ASP.NET, Java, C#) to connect to SQLServer, and implementing a TCP/IP based protocol (could be HTTP also).

    On the iOS side, you need a TCP/IP (or HTTP) client to perform requests to the PROXY PROGRAM. Those request will have the SQL query you want to do in some form of internal encoding you can invent. When PROXY PROGRAM receives a request, it process the SQL query and returns and send results based, again, encoded in some form iOS could decode and process the information.

    0 讨论(0)
  • 2020-12-22 10:45

    You should give iSql SDK a try.

    0 讨论(0)
提交回复
热议问题