EasyShop/siteAdmin/BaseInfo/IndexEdit2.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
//using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using Ftion;
using OpSql;
using myNewsInfo;
using System.Data.SqlClient;
using conn;
namespace EasyShop.siteAdmin.BaseInfo
{
public partial class IndexEdit2 : System.Web.UI.Page
{
DbConn conn = new DbConn();
public string ProImage ="/Content/images/noImage.gif";
// public string ProImageR = "/Content/images/noImage.gif";
protected void Page_Load(object sender, EventArgs e)
{
//Ftion.Function.CheckState();
if (!IsPostBack)
{
LoadData();
}
}
private void LoadData()
{
string strPID = Common.GetMes.GetRequestQuery(Request, "PID");
string strType = Common.GetMes.GetRequestQuery(Request, "type");
if (!string.IsNullOrEmpty(strPID))
{
if (strType == "1")
{
lb_text.Text = "图片尺寸是为286X102px";
}
else if (strType == "2")
{
lb_text.Text = "图片尺寸是为1200X120px";
}
else if(strType=="4")
{
lb_text.Text = "图片尺寸是为680X230px";
}
SqlDataReader DataRead = myNewsInfo.NewsInfo.GetIndexList(strPID);
if (DataRead.HasRows)
{
DataRead.Read();
txt_Title.Value = Server.HtmlDecode(DataRead["Title"].ToString());
ProImage = Server.HtmlDecode(DataRead["Pic"].ToString());
// ProImageR = Server.HtmlDecode(DataRead["RightPic"].ToString());
txt_Sort.Text = DataRead["Sort"].ToString();
txt_LinkUrl.Text = Server.HtmlDecode(DataRead["LinkUrl"].ToString());
}
后面还有 60 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。