VideoHome.Web/UserCenter/Course/CourseEdit.aspx.cs

(开头部分) 15KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Common;
using myfilm.Web.Admin;
using System.Text;
using System.Data;
using Maticsoft.DBUtility;
using myfilm.Config;
using System.IO;
using Maticsoft.DAL;
using Maticsoft.Model;
using System.Drawing.Imaging;
using System.Drawing;
using myfilm.Common;

namespace myfilm.Web.UserCenter.Course
{
    public partial class CourseEdit : UserPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {

                CheckBoxlist();
                GetDDrop();
                T_CourseInfo model = new T_CourseInfo();
                T_CourseInfoDAL dal = new T_CourseInfoDAL();

                int id = DNTRequest.GetQueryInt("id", 0);
                if (id != 0)
                {
                    model = dal.GetModel(id);
                    this.txtCourseName.Text = model.CourseName;
                    this.txtJSName.Text = model.JSName;
                    this.txtTimeLong.Text = model.TimeLong;
                    this.txtCourseIntroduce.Text = model.CourseIntroduce;
                    this.txtTJZS.Text = model.CommendZS.ToString();
                    this.img_AvatarUrl.Src = model.CourseImgUrl;
                    this.drpTopCourseClass.SelectedValue = model.ZYClassId.ToString();
                    BindTwo(Convert.ToInt32(drpTopCourseClass.SelectedValue));
                    this.drpCourseClass.SelectedValue = model.KMClassId.ToString();
                    this.AvatarUrl.Value = model.CourseImgUrl;
                    GetIsCheckList(model.JobList);

                    if (model.CourseStatus == 1)
                    {
                        IsShow.Checked = true;
                    }
                    else
                    {
                        IsShow.Checked = false;
                    }
                    if (model.IsIndexShow == 1)
                    {
                        IsIndexShow.Checked = true;
后面还有 375 行代码,购买后查看完整代码

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

AI 解读 AI

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

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