using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Web;
|
using System.Web.UI;
|
using System.Web.UI.WebControls;
|
using CY.BLL.Promotion;
|
using CY.Model;
|
|
namespace CY.WebForm.Pages.Alliance
|
{
|
//吴辉
|
//软文推广详情
|
public partial class ArticleAllianceDetail : MainPage
|
{
|
Promotion_ArticleInfoBLL _Promotion_ArticleInfoBLL = null;
|
public Promotion_ArticleInfo m_Promotion_ArticleInfo = null;
|
|
public ArticleAllianceDetail()
|
{
|
_Promotion_ArticleInfoBLL = new Promotion_ArticleInfoBLL();
|
}
|
|
protected void Page_Load(object sender, EventArgs e)
|
{
|
if (!IsPostBack)
|
{
|
InitialData();
|
}
|
}
|
|
public void InitialData()
|
{
|
try
|
{
|
m_Promotion_ArticleInfo = _Promotion_ArticleInfoBLL.SelectSingleModel(Request["id"].ToString());
|
if (m_Promotion_ArticleInfo == null)
|
m_Promotion_ArticleInfo = new Promotion_ArticleInfo();
|
}
|
catch (Exception ex)
|
{
|
PAGEHandleException(ex);
|
m_Promotion_ArticleInfo = new Promotion_ArticleInfo();
|
}
|
|
}
|
}
|
}
|