Admin/Picture/PictureEdit.aspx.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Picture;
using Base;
public partial class admin_Picture_PictureEdit : BasePage
{
int Lang = 0;
protected void Page_Load(object sender, EventArgs e)
{
CheckRights("column", "D1");
if (GetCookie("Lang") != "")
{
Lang = int.Parse(GetCookie("Lang").ToString());
if (!IsPostBack)
{
Bind();
}
}
else
{
HandleErr("0", "../login.aspx");
}
}
private void Bind()
{
IPictureType RCont = new RPictureType();
DataTable dt = RCont.GetDataTableLang(Lang);
CreateLevelDropDown(this.dropTypeID, dt);
int id = int.Parse(Request.QueryString["ID"]);
if (Request.QueryString["UserID"] != null)
this.HiddUserID.Value = Request.QueryString["UserID"].ToString();
IPicture RCon = new RPicture();
TPicture TCon = RCon.GateItem(id); //绑定C_Picture表
this.txtTitle.Text = TCon.Title;
//this.txtReading.Text = TCon.Reading;
this.Detail.Value = TCon.Detail;
this.dropTypeID.SelectedValue = TCon.TypeID.ToString();
//this.RadioAudit.SelectedValue = TCon.Audit;
//this.txtIsTop.Text=TCon.IsTop ;
//this.txtKeyWord.Text=TCon.KeyWord;
//this.txtReading.Text = TCon.Reading.Trim();
//this.txtPicture_1.Text = TCon.Picture_1;
if (TCon.Picture_2 == "")
{
this.ImgUrl.Src = "../../Images/System/wutu1.gif";
}
后面还有 144 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
