using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Web;
|
using System.Web.UI;
|
using System.Web.UI.WebControls;
|
using CY.BLL;
|
using CY.Infrastructure.Query;
|
|
namespace CY.WebForm.Pages.common
|
{
|
//吴辉
|
//网站联盟-友情链接
|
public partial class U_Link : System.Web.UI.UserControl
|
{
|
Info_AllianceBLL bll_Info_AllianceBLL = null;
|
|
//初始化
|
public U_Link()
|
{
|
bll_Info_AllianceBLL = new Info_AllianceBLL();
|
}
|
|
//页面加载
|
protected void Page_Load(object sender, EventArgs e)
|
{
|
if (!IsPostBack)
|
{
|
BindList();
|
}
|
}
|
|
//绑定数据
|
private void BindList()
|
{
|
Pagination pa1 = new Pagination();
|
pa1.PageSize = 8;
|
pa1.PageIndex = 1;
|
this.RepClientList1.DataSource = bll_Info_AllianceBLL.SelectModelPage(pa1, "友情链接");
|
this.RepClientList1.DataBind();
|
}
|
}
|
}
|