Database Access

MartHughMartHugh USMember ✭✭✭

Is it possible to access a SQL Server database (obviously hosted on a common network) from Xamarin.Forms ?

ODBC Perhaps ?

What is normal best practise when an app wants to read data from a database (which is not on the device) ?

Thanks

Posts

  • AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭

    If I remember, in "business" edition there is System.Data.SqlClient

  • MartHughMartHugh USMember ✭✭✭

    Thank you.
    Do you know if there is anyway of verifying this in the trial version ?

  • JasonAwbreyJasonAwbrey USInsider, University, Developer Group Leader mod

    the best practice for data access is to use web services, not directly expose your DB on the network

  • AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭

    https://store.xamarin.com
    watch "business features"

  • AndresCRGrecia21AndresCRGrecia21 USMember
    edited September 2015

    @AlessandroCaliaro
    @MartHugh
    You mean business with the edition I use Xamarin Forms and connect the platform application using SQL?
    I mean, to create such a database in SQL Server 2008, fill it with data and then use my application to read, modify, insert or delete information to the database?

  • AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭

    I mean "Business Edition Android" or "Business Edition iOS".
    If you take a look to "Xamarin Store" (today it does not works for me...) you see Indie, Business and Enterprise.
    Starting from Business you have access to System.Data.SqlClient. With this you can work with a remote SQLServer DB.
    I don't know if you can upload a SqlSErver Compact DB to your app...

Sign In or Register to comment.