摘要:
前一天,完成了学生信息管理系统的登陆界面和功能,注册界面的功能还有待完善!连接数据库的方法记载下来。。使用的是sql sever2008添加引用 using System.Data.SqlClient。。。string strConnect = "Data Source=CAI-PC\\SQLEXPRESS;Initial Catalog=MyData1;Persist SecurityInfo=True;User ID=sa;Password=******"; //连接数据库字符串其中CAI-PC\\SQLEXPRESS是数据库服务器名称。。MyData1是数据库名称。。 阅读全文
posted @ 2012-12-26 07:38
卧 龙
阅读(315)
评论(2)
推荐(0)

浙公网安备 33010602011771号