资源简介
学生自主学习平台内附数据库,数据库为SQLServer2008,采用三层架构设计,可做参考
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace AutonomousLearning
{
public partial class Course : System.Web.UI.Page
{
static string usetype;
static string name;
BLL.Student stu = new BLL.Student();
protected void Page_Load(object sender EventArgs e)
{
usetype = Session[“usetype“].ToString();
name = Session[“usename“].ToString();
if (!IsPostBack)
{
BindData();
}
}
BLL.Chapter bllc = new BLL.Chapter();
//BLL.Student blls = new BLL.Student();
BLL.Teacher bllt = new BLL.Teacher();
BLL.Course bllco = new BLL.Course();
private void BindData()
{
Model.Teacher teacher = bllt.GetModel(Session[“TeaName“].ToString());
Model.Course course = bllco.GetModelCourseName(Session[“CourseName“].ToString());
rpt_Course.DataSource = bllc.GetList(teacher.TeaID course.CourseID);
rpt_Course.DataBind();
Image1.ImageUrl = stu.GetModelbyName(name).StuImg;
Label1.Text = name;
}
protected void buttoncourse_Click(object sender EventArgs e)
{
Response.Redirect(“Student/StuCourse.aspx“);
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-11-15 16:46 AutonomousLearning\
目录 0 2016-11-15 12:43 AutonomousLearning\AutonomousLearning\
文件 3262 2016-11-09 16:38 AutonomousLearning\AutonomousLearning.sln
文件 337408 2016-11-15 16:44 AutonomousLearning\AutonomousLearning.suo
目录 0 2016-11-15 12:42 AutonomousLearning\AutonomousLearning\Account\
文件 4457 2016-10-27 16:03 AutonomousLearning\AutonomousLearning\Account\ChangePassword.aspx
文件 356 2016-10-27 16:03 AutonomousLearning\AutonomousLearning\Account\ChangePassword.aspx.cs
文件 846 2016-10-27 16:03 AutonomousLearning\AutonomousLearning\Account\ChangePassword.aspx.designer.cs
文件 515 2016-10-27 16:03 AutonomousLearning\AutonomousLearning\Account\ChangePasswordSuccess.aspx
文件 363 2016-10-27 16:03 AutonomousLearning\AutonomousLearning\Account\ChangePasswordSuccess.aspx.cs
文件 480 2016-10-27 16:03 AutonomousLearning\AutonomousLearning\Account\ChangePasswordSuccess.aspx.designer.cs
文件 3079 2016-10-27 16:03 AutonomousLearning\AutonomousLearning\Account\Login.aspx
文件 476 2016-10-27 16:03 AutonomousLearning\AutonomousLearning\Account\Login.aspx.cs
文件 1165 2016-10-27 16:03 AutonomousLearning\AutonomousLearning\Account\Login.aspx.designer.cs
文件 5703 2016-10-27 16:03 AutonomousLearning\AutonomousLearning\Account\Register.aspx
文件 918 2016-10-27 16:03 AutonomousLearning\AutonomousLearning\Account\Register.aspx.cs
文件 1206 2016-10-27 16:03 AutonomousLearning\AutonomousLearning\Account\Register.aspx.designer.cs
文件 347 2016-10-27 16:03 AutonomousLearning\AutonomousLearning\Account\Web.config
目录 0 2016-11-15 12:42 AutonomousLearning\AutonomousLearning\Admin\
文件 1486 2016-10-29 21:24 AutonomousLearning\AutonomousLearning\Admin\AdminData.aspx
文件 1483 2016-10-28 13:04 AutonomousLearning\AutonomousLearning\Admin\AdminData.aspx.cs
文件 1837 2016-10-28 12:42 AutonomousLearning\AutonomousLearning\Admin\AdminData.aspx.designer.cs
文件 3046 2016-10-28 12:42 AutonomousLearning\AutonomousLearning\Admin\AdminLogin.aspx
文件 1036 2016-10-28 12:42 AutonomousLearning\AutonomousLearning\Admin\AdminLogin.aspx.cs
文件 1838 2016-10-28 12:42 AutonomousLearning\AutonomousLearning\Admin\AdminLogin.aspx.designer.cs
文件 4241 2016-11-04 14:58 AutonomousLearning\AutonomousLearning\Admin\AdminMain.aspx
文件 347 2016-10-28 12:42 AutonomousLearning\AutonomousLearning\Admin\AdminMain.aspx.cs
文件 482 2016-10-28 12:42 AutonomousLearning\AutonomousLearning\Admin\AdminMain.aspx.designer.cs
文件 1958 2016-10-29 21:24 AutonomousLearning\AutonomousLearning\Admin\AdminPwd.aspx
文件 2497 2016-11-09 13:10 AutonomousLearning\AutonomousLearning\Admin\AdminPwd.aspx.cs
文件 2195 2016-10-28 12:42 AutonomousLearning\AutonomousLearning\Admin\AdminPwd.aspx.designer.cs
............此处省略506个文件信息
评论
共有 条评论