Web/Admin/manage/PptDetail.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*********************************************************************
* CopyRight (c) 2009-2010 HangJing Teconology. All Rights Reserved.
Admin_PptDetail
* Function :
* at 2010-8-21 14:45:36.
*********************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using WMPT.Model;
using WMPT.SQLServerDAL;
using WMPT.Common;
public partial class Admin_PptDetail : System.Web.UI.Page
{
PPT dal = new PPT();
protected string oldppt
{
set
{
ViewState["oldppt"] = value;
}
get
{
return ViewState["oldppt"] == null ? "" : ViewState["oldppt"].ToString();
}
}
protected PPTInfo info
{
set
{
this.tbName.Text = value.Title;
this.tburl.Text = value.PUrl;
oldppt = value.picture;
this.ImgUrl1.Value = value.picture;
WebUtility.SelectValue(ddltype, value.Reve2 + "");
this.ImgUrl.Src = WebUtility.ShowPic(value.picture);
tborder.Text = value.Reve1.ToString();
}
get
{
PPTInfo model = new PPTInfo();
model.DataID = HjNetHelper.GetQueryInt("id", 0);
model.picture = ImgUrl1.Value;
model.PUrl = this.tburl.Text;
model.Title = WebUtility.InputText(this.tbName.Text);
model.Reve1 = Convert.ToInt32(tborder.Text);
model.Reve2 = ddltype.SelectedValue;
model.SecID = 0;
return model;
}
}
后面还有 75 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
