SQL connection in UWP app

前端 未结 2 1715
一向
一向 2020-12-22 00:41

I have am existing project that runs on windows, mac, ios and android. I\'m looking for a way to make a windows phone version, but I can\'t figure out how to use SQL. My cur

2条回答
  •  一整个雨季
    2020-12-22 01:05

    You'll not be able to connect directly to a Microsoft SQL Server database. Instead you'll need to make some type of Service layer that communicates with the database and your phone app would need to communicate with that. For more information on how to do that see the code same and the video that Microsoft has hosted here:

    https://code.msdn.microsoft.com/windowsapps/How-to-access-data-from-5f2602ec

提交回复
热议问题