AdInfoView.aspx.cs
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:1k
- using System;
- using System.Data;
- using System.Configuration;
- using System.Collections.Generic;
- 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;
- public partial class AdInfoView : System.Web.UI.Page
- {
- /// <summary>
- /// 信息模板
- /// </summary>
- Model.INFOADNews MB = new Model.INFOADNews();
- /// <summary>
- /// 信息业务
- /// </summary>
- BLL.INFOADNews BB = new BLL.INFOADNews();
- /// <summary>
- /// 标题
- /// </summary>
- public string TitleStr = "";
- /// <summary>
- /// 内容
- /// </summary>
- public string ContentStr = "";
- /// <summary>
- /// 回复
- /// </summary>
- public string RepBackStr = "";
- protected void Page_Load(object sender, EventArgs e)
- {
- LoginLogic.MatchLoad("../", "AdInfoView");
- if (!IsPostBack)
- {
- if(Request.QueryString["id"]!=null)
- {
- MB = BB.GetModel(int.Parse(Request.QueryString["id"].ToString()));
- TextBoxContent.Text = MB.NR;
- TextBoxTitle.Text = MB.ZT;
-
- }
- }
- }
-
- }