Backup/Web/Client/ShopInfo.aspx.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.IO;
namespace MrZeng.Web.Client
{
public partial class ShopInfo : System.Web.UI.Page
{
private string url = "";
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (Session["UserNum"] != null)
{
ShopInfoBind(Session["UserNum"].ToString());
}
else
{
MrZeng.BLL.Common.ClientWrite("parent.window.location=\"ShopCenter.aspx\"");
}
}
}
/// <summary>
/// 商家信息绑定
/// </summary>
/// <param name="userNum"></param>
private void ShopInfoBind(string userNum)
{
MrZeng.BLL.P_BusinessInfo bll = new MrZeng.BLL.P_BusinessInfo();
MrZeng.Model.P_BusinessInfo model = bll.GetModel(userNum);
this.TrueName.Text = model.TrueName;
this.ShopName.Text = model.ShopName;
this.ShopType.Text = model.ShopType;
this.Email.Text = model.Email;
this.LinkPhone.Text = model.LinkPhone;
url = model.ImageUrl;
this.ImageUrl.ImageUrl = "~" + model.ImageUrl;
this.Describe.Text = model.Describe;
this.ClickCount.Text = model.ClickCount.ToString();
this.LoadDate.Text = model.LoadDate.ToString();
this.PrestigeCount.ImageUrl = "~/" + GetPrestige(Convert.ToInt32(model.PrestigeCount));
}
/// <summary>
///
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ImageBtnOK_Click(object sender, ImageClickEventArgs e)
{
后面还有 88 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
