当前位置:编程学习 > C#/ASP.NET >>

怎样用VS2010运行这个源码

《asp.net2.0+sqlserver网络应用系统》
http://download.csdn.net/download/dc5858518/246634

        这是其源码地址
初学.NET  我想模仿做一个学生管理系统
书中第六章的学生管理系统,可不知道怎样用VS2010去加载此项目
直接点击SLN进去执行有问题,添加数据库连接还是有问题,在网上查了好久也没找到解决方案,
希望大家能够帮助我解决
或者能够给我类似的管理系统源码

我的QQ348924050,
再次谢谢了!!
--------------------编程问答-------------------- 有什么问题?截图上来呢 --------------------编程问答-------------------- 执行之后出了什么问题 --------------------编程问答-------------------- 看看有没有dll的路径问题,有没有第三方组件,如果是低版本vs做的,还需要转换 --------------------编程问答-------------------- 我已经转换到4.0了,我执行后只有目录


localhost - /ST_WebCourse/

[To Parent Directory]

 2008/6/10    22:58        <dir> _vti_cnf
 2008/6/10    22:58        <dir> _vti_pvt
 2008/6/10    22:58        <dir> _vti_script
 2008/6/10    22:58        <dir> _vti_txt
 2008/6/10    22:58        <dir> App_Code
 2008/6/10    22:58        <dir> App_Code_Old
 2008/6/10    22:58        <dir> bin
 2006/8/14    18:43        10962 ConversionReport.txt
 2006/8/14    18:43        10574 ConversionReport03132006170503.txt
 2006/8/14    18:43           65 Global.asax
 2006/8/14    18:43         1733 Global.asax.resx
 2008/6/10    22:58        <dir> img
 2008/6/10    22:58        <dir> ST_Admin
 2008/6/10    22:58        <dir> ST_Common
 2006/8/16    14:12         1849 ST_Login.aspx
 2006/8/14    18:43         1849 ST_Login.aspx.bak
 2006/8/16    14:12         1390 ST_Login.aspx.cs
 2006/8/14    18:43         1390 ST_Login.aspx.cs.bak
 2006/8/14    18:43         5317 ST_Login.aspx.resx
 2008/6/10    22:58        <dir> ST_Student
 2008/6/10    22:58        <dir> ST_Teacher
 2006/8/14    18:43         2973 style.css
 2006/8/14    18:43         4510 Web.config
 2006/8/14    18:43         1733 WebForm1.aspx.resx --------------------编程问答-------------------- --------------------编程问答-------------------- --------------------编程问答-------------------- 坐等求解,
string SqlString  = System.Configuration.ConfigurationSettings.AppSettings["ConnString"];
这句话是什么意思,
一般我写的都是String constr = @"server=localhost\SQLEXPRESS;Integrated Security=SSPI;database=  ";
--------------------编程问答--------------------
引用 7 楼 gyc1151535556 的回复:
坐等求解,
string SqlString  = System.Configuration.ConfigurationSettings.AppSettings["ConnString"];
这句话是什么意思,
一般我写的都是String constr = @"server=localhost\SQLEXPRESS;Integrated Security=SSPI;database=  "……

链接字符串写在webconfig AppSettings节点里面了 。 --------------------编程问答--------------------
引用 8 楼 zell419 的回复:
引用 7 楼 gyc1151535556 的回复:

坐等求解,
string SqlString  = System.Configuration.ConfigurationSettings.AppSettings["ConnString"];
这句话是什么意思,
一般我写的都是String constr = @"server=localhost\SQLEXPRESS;Integrat……
--------------------编程问答-------------------- 无法打开登录所请求的数据库 "WebCourse"。登录失败。
用户 'SMALLBY\Administrator' 登录失败。

我导入的数据库是WebCourse_Data.MDF
 怎么解决
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,