vs2008 开发wince应用程序时如何连接sql2008
vs2008 开发wince应用程序时如何连接sql2008
sqlconn = new SqlConnection();
sqlconn.ConnectionString = "data source =" + server + ";initial catalog =" + database + ";user id = " + user + ";password=" + pwd;
sqlconn.Open();
server:服务器名,database:数据库,user:用户名,pwd:密码
本人所做的项目,连接sql2008,你可以参考下