哈尔滨某大学教务系统平台源码 · 用户讨论与问答

AI面向大中专院校教学与教务管理的 ASP.NET 学习源码,用于简化师生管理流程

  • 15条讨论
  • 13个提问
  • 商家暂未回复
  • 最近一条

全部讨论15 条

第 1 / 2 页
13个提问 商家暂未回复 网址、联系方式、身份证号和不文明用语已自动打码
  • lhr_1*** 评价反馈

    不错不错。。参考下。

  • xiaox*** 技术问题

    教师用户登录出错 “/ts”应用程序中的服务器错误。 --- 索引超出范围。必须为非负值并小于集合大小。 参数名: index 说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.ArgumentOutOfRangeException: 索引超出范围。必须为非负值并小于集合大小。 参数名: index 源错误: 行 70: for (int i = 0; i <= GridView1.Rows.Count - 1; i ) 行 71: { 行 72: LinkButton lb = (LinkButton)GridView2.Rows[i].FindControl("LinkButton2"); 行 73: string id = GridView2.DataKeys[i].Value.ToString(); 行 74: SqlCommand scd = new SqlCommand("select title from ts_news where id='" id "'", con);

  • 10698*** 评价反馈

    不错不错。。参考下。。

  • yusea*** 购买咨询

    看着功能很全,但这个软件缺少教务系统中最重要的模块,排课、教学计划等等,还有其他别的就不详细说了,不过很感谢开源。

    其他 1 条回复
    • cc252*** IP属地 郑州市

      请问你有做好的么,给我发份好么??非常感谢 ……联系方式已屏蔽

  • leo84*** 评价反馈

    总体构思不错

  • 午后的瑕想*** 评价反馈

    很好!!!

    其他 1 条回复
    • diana***

      :Z 多谢您的支持哦!

  • mengd*** 购买咨询

    在IE8浏览器中打开管理员默认主页时,左侧的每个按钮控件下面的tree控件的内容显示时都会被下面的按钮控件遮住,怎么解决?

    其他 1 条回复
    • diana***

      可以换个浏览器或者自己动手调节兼容!

  • shuil*** 其他

    链接数据库 到没有问题 附加即可 但是 上传组件没有 学生 老师的照片 不能上传。。。

  • yuanm*** 技术问题

    Server Error in '/' Application. --- 无法打开登录 'TS' 中请求的数据库。登录失败。 用户 'sa' 登录失败。 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: 无法打开登录 'TS' 中请求的数据库。登录失败。 用户 'sa' 登录失败。 Source Error: Line 133: } Line 134: SqlConnection con = new SqlConnection(ConfigurationManager.AppSettings["strcon"]); Line 135: con.Open(); Line 136: SqlCommand scd = new SqlCommand("select count(*) from ts_teacher_user where userName='" + user + "' and password='" + pwd + "'", con); Line 137: int count = Convert.ToInt32(scd.ExecuteScalar()); Source File: c:\jiaow\TS_login.aspx.cs Line: 135 Stack Trace: [SqlException (0x80131904): 无法打开登录 'TS' 中请求的数据库。登录失败。 用户 'sa' 登录失败。] System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +734995 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1838 System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +33 System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +628 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +170 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +359 System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +28 System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +424 System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66 System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +496 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105 System.Data.SqlClient.SqlConnection.Open() +111 TS_login.login_Click(Object sender, EventArgs e) in c:\jiaow\TS_login.aspx.cs:135 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +104 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5612

    其他 2 条回复
    • 蹦极熊***

      首先查看网站的web。config文件中的数据库连接属性,看看它的密码是什么 然后修改你的数据库的密码 例如把sa的密码改为sa: 双击sa用户--》输入sa--》点击确认--》系统弹出确认密码--》输入123456,点击确认,新密码就设置成功 。

    • 异世芳华*** 已下载 IP属地 郑州市

      把web.Config的配置信息修改成自己的数据库登录帐号:如:server=.;database=TS;uid=sa;pwd=123456; 其中server后面的值用.表示本机,UID是自己装的SQL帐户,PWD也是本机上的密码,这样就可以连上了。其它的还没仔细看呢,界面需要再美化下就更好了。

  • yuanm*** 技术问题

    Server Error in '/' Application. --- 无法打开登录 'TS' 中请求的数据库。登录失败。 用户 'sa' 登录失败。 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: 无法打开登录 'TS' 中请求的数据库。登录失败。 用户 'sa' 登录失败。 Source Error: Line 133: } Line 134: SqlConnection con = new SqlConnection(ConfigurationManager.AppSettings["strcon"]); Line 135: con.Open(); Line 136: SqlCommand scd = new SqlCommand("select count(*) from ts_teacher_user where userName='" + user + "' and password='" + pwd + "'", con); Line 137: int count = Convert.ToInt32(scd.ExecuteScalar()); Source File: c:\jiaow\TS_login.aspx.cs Line: 135 Stack Trace: [SqlException (0x80131904): 无法打开登录 'TS' 中请求的数据库。登录失败。 用户 'sa' 登录失败。] System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +734995 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1838 System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +33 System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +628 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +170 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +359 System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +28 System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +424 System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66 System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +496 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105 System.Data.SqlClient.SqlConnection.Open() +111 TS_login.login_Click(Object sender, EventArgs e) in c:\jiaow\TS_login.aspx.cs:135 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +104 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5612

    其他 1 条回复
    • 51asp*** 编辑

      检查一下Sql中是否存在 TS 数据库及看一下sa密码是否正确

问问商家

0 / 1000

网址、联系方式、身份证号、银行卡号和不文明用语会自动打码;评论先经审核,没问题的通常几秒内显示。