Student.Web/Student/CourseOpenDetail.aspx.cs

(完整代码) 1KB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using CC.Common;
namespace Student.Web.Student
{
    public partial class CourseOpenDetail : StudentBasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                int courseOpenID = Utils.StrToInt(Requests.Query("id"));

                if (courseOpenID > 0)
                {
                    Model.CourseOpen model = CourseOpenBLL.GetCourseOpenInfo(courseOpenID);

                    if (model != null)
                    {
                        txtCourseNo.Text = model.CourseNo;
                        txtCourseName.Text = model.CourseName;
                        txtOpenTimeYear.Text = model.OpenTimeYear;
                        txtCredit.Text = model.Credit.ToString();
                        txtRoomAddress.Text = model.RoomAddress;
                        txtIntro.Text = model.Intro;
                        txtTeacherName.Text = model.TeacherName;
                    }
                }
            }
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。