Web/sfylshow.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 Model;
using Bll;
using System.Text.RegularExpressions;
using System.Data;
using System.Web.UI.HtmlControls;
namespace Web
{
public partial class sfylshow : Web.PrePage
{
protected MYuanSuoSort model;
protected MYuanSuo yuanSuo;
protected MYuanSuo models = new MYuanSuo();
protected BYuanSuo objBProject = new BYuanSuo();
protected MProductSort mm = new MProductSort();
protected static string strimage = "";
protected void Page_Load(object sender, EventArgs e)
{
if (!base.IsPostBack)
{
if (base.Request.QueryString["id"] != null && base.IsInt2(base.Request.QueryString["id"]))
{
bool dianji = new BYuanSuo().Upd(Convert.ToInt32(Request.QueryString["id"]));
models = new BYuanSuo().GetModel(Convert.ToInt32(Request.QueryString["id"]));
model = new BYuanSuoSort().GetModel(Convert.ToInt32(models.P_SortId));
this.literTtitle.Text = model.PS_Name;
if (model == null)
{
base.ShowMsg(Page, "参数错误!");
return;
}
//读取图片
List<MYuanSuoPicAdmin> list = new BYuanSuoPicAdmin().GetListValues(" where YS_yuanSuoId=" + base.Request.QueryString["id"]);
strimage = string.Empty;
if (models.P_Pic != "")
{
strimage += " <li><img src=/images/Project_Small/" + models.P_Pic + " onerror= 'javascript:this.src= /images/Err.png '/></li>";
}
if (list != null)
{
this.dv1.Visible = true;
for (int i = 0; i < list.Count; i++)
{
strimage += " <li><img src=/images/YuanSuo_Small/" + list[i].YS_Pic + " onerror= 'javascript:this.src= /images/Err.png ' /></li>";
}
}
if (strimage == "")
{
this.dv1.Visible = false;
}
//this.literTtile.Text = models.P_Name;
//base.ShowMsg(Page, "参数错误!", "default.html");
后面还有 54 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
