P
Paul Aspinall
Hi
Can anyone point me in the right direction....
I'm trying to open a SQL Express 2005 DB, from my PocketPC, so that I can
write some code to synchronize the data.
Does anyone have any code to show this being done??
I'm using System.Data.SqlClient but from the PocketPC.
Any help appreciated.
Thanks
I'm trying:
SqlConnection Conn = new SqlConnection(@"Data
Source=\\desktopmachinename\SQLEXPRESS;AttachDbFilename=C:\dataname.mdf;Integrated
Security=True;User Instance=True");
SqlCommand CMD = new SqlCommand("nameofstoredprocedure", Conn);
CMD.CommandType = CommandType.StoredProcedure;
Conn.Open();
SqlDataReader dr = CMD.ExecuteReader();
dataGrid1.DataSource = dr;
Can anyone point me in the right direction....
I'm trying to open a SQL Express 2005 DB, from my PocketPC, so that I can
write some code to synchronize the data.
Does anyone have any code to show this being done??
I'm using System.Data.SqlClient but from the PocketPC.
Any help appreciated.
Thanks
I'm trying:
SqlConnection Conn = new SqlConnection(@"Data
Source=\\desktopmachinename\SQLEXPRESS;AttachDbFilename=C:\dataname.mdf;Integrated
Security=True;User Instance=True");
SqlCommand CMD = new SqlCommand("nameofstoredprocedure", Conn);
CMD.CommandType = CommandType.StoredProcedure;
Conn.Open();
SqlDataReader dr = CMD.ExecuteReader();
dataGrid1.DataSource = dr;