目前程序在wince 6.0下直接连接win xp下的sqlerver2000是没问题的,但wince 6.0 直连win7 下的sqlserver2008r2 数据库存在无法连接的问题,并且wince 7.0在无线状态下是可以连接sqlserver2008r2,而通过有线连接方式无法连接(windows mobile),
连接语句:Persist Security Info=False;User ID=;password=;Initial Catalog=HHT;Server=IP地址
上述连接字符串在sql2000是没问题的,但sql2008r2是无法连接上。
一下是我自己写的一个测试程序的连接字符串:Data Source=" + txtIP.Text + ";database=master;User ID=" + txtUser.Text + ";Password=" + txtPWD.Text
请问是否是wince中缺少某些组件导致的?还是连接语句的问题?(sqlserver数据库的连接配置是没问题的,通过PC及其他的数据库均可以远程连接上)