Connect to SQL Server from Windows, MacOS, iOS, and Android using UniDAC
Articles,  Blog

Connect to SQL Server from Windows, MacOS, iOS, and Android using UniDAC


We will consider a demo of creating a cross-platform database application for SQL Server for Windows, MacOS, iOS, and Android. Now we are going to create a cross-platform
database application for SQL Server. Drop UniConnection and SQL Server data
provider on the form Than Select a data provider name in
UniConnection. Specify the Server, Database, UserName and
Password. Now you can Open Connection to SQL Server. For the query, drop the UniQuery component on
the form, double-click on it and input the SQL
query. Now you can drop the BindSourceDB
component on the form and link it to UniQuery. Then we can add controls: Navigator, TEdit, TMemo and TImage. And link the added controls with UniQuery using
live-binding. Run our aplication for the Windows target
platform and check whether everything works fine Now select the MacOS target platform and run
our application. As we can see, our application has successfully
launched and connected to MS SQL Server on
MacOS. Let’s try to run our application on iOS. The application is launched successfully on an
iOS Device as well. And finally, let’s see if we can run our application
on and Android device. As we can see, our application runs and
establishes connection on every possible target
platform You see how easy it is to create a cross-platform
database application for SQL Server. Using our data access components, you will be able to create your own cross-platform
database applications in the same easy way for
many other databases. Thanks for attention. For more info, visit our
website.

6 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *