Connectiong SQL Server From Windows Mobile Application
I want to connect sql server from mobile application. How can I do?
I am trying such as follow:


      string connStr;
            System.Data.SqlClient.SqlConnection myConn;

            try{
            
                connStr = @"Server='XXX';Database=XX; User Id=XX; Password=XX";
                myConn = new System.Data.SqlClient.SqlConnection(connStr);
                myConn.Open();
            }
            catch (System.Data.SqlClient.SqlException se)
            {
                MessageBox.Show("Error has occured");
            }
Connectiong SQL Server From Windows Mobile Application
===

I want to connect sql server from mobile application. How can I do?
I am trying such as follow:


      string connStr;
            System.Data.SqlClient.SqlConnection myConn;

            try{
            
                connStr = @"Server='XXX';Database=XX; User Id=XX; Password=XX";
                myConn = new System.Data.SqlClient.SqlConnection(connStr);
                myConn.Open();
            }
            catch (System.Data.SqlClient.SqlException se)
            {
                MessageBox.Show("Error has occured");
            }