I made account with a hosting service and they give me sql username, password and hostname… then I created database, created table and inserted some data. Now I want to connect it to my program (windows phone 7.1) by using Microsoft Sync Framework. Can someone help me with that?
When I go to database explorer and press add connection I see these options but don’t know which to use:
- Microsoft Access Database File
- Microsoft SQL Server Compact 3.5
- Microsoft SQL Server Database File
this here should help you:
http://blogs.msdn.com/b/wriju/archive/2011/08/01/windows-phone-7-using-local-database-for-application.aspx
Your thinking about the Mobile Platform like it is Windows 7, The Mobile platform deals with Data differently and that blog post should help you understand.
Wp7.0 = Isolated Storage
Wp7.1 = Database, This data base is accessed via Linq.