Connection to Database

MagnvmMagnvm USMember ✭✭✭

Hi Xamarin Forum can anyone help me how to make a connection to database
something like this

using System.Data.SqlClient;

SqlConnection conn = new SqlConnection();
conn.ConnectionString =
"Data Source=ServerName;" +
"Initial Catalog=DataBaseName;" +
"User id=UserName;" +

but in xamarin using System.Data.SqlClient is not found when I put it in the top
I need that kind of code to test the connection not by having a web api first then call it in the app


Sign In or Register to comment.