connecting sql server from windows ce application through Activesync without being on network

后端 未结 4 1208
别跟我提以往
别跟我提以往 2020-12-22 05:34

I\'ve connected my Motorola MC3090R having Windows CE 5 through cradle (Windows Mobile Device Center) with my laptop having Windows 7 (there is no network), my question is t

4条回答
  •  鱼传尺愫
    2020-12-22 06:06

    I solved it with this connection string.

    m_Desktopconn = New SqlConnection(
      "Data Source=192.168.55.100,1433;Initial Catalog=Testing;Persist Security Info=True;User ID=sa;Password=sa;")
    

    I had two instances MYPC\SQL2005 & MYPC\SQL2008, and then installed SQL 2005 Express on MYPC (Without instance)

提交回复
热议问题