Index.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Configuration;
using System.Collections;
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;
using News;
using Links;
using Picture;
using Base;
public partial class Index : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
//Bind_HOT();//图片新闻
//Bind_GG();//网站公告
Bind_Activity();//车友互动
Bind_News();//行业新闻
Bind_Link();//友情链接
Bind_Ordcar();//二手车
Bind_Product();//产品推荐
Bind_Video();//视频中心
}
}
//产品推荐
private void Bind_Product()
{
string strWhere = " and a.Lang= 0 ";
IPicture RCon = new RPicture();
DataView dv = RCon.GetDataTableAll(strWhere).DefaultView;
repProduct.DataSource = dv;
repProduct.DataBind();
}
//车友互动
private void Bind_Activity()
{
string strWhere = " and a.Lang= 0 and a.Audit=1 ";
string labletype = "2";
strWhere += " and a.TypeID=" + labletype + "";
INews RCon = new RNews();
DataView dv = RCon.GetDataTableTop(8, strWhere).DefaultView;
repActivity.DataSource = dv;
repActivity.DataBind();
}
//二手车
private void Bind_Ordcar()
{
string strWhere = " and a.Lang= 0 and a.Audit=1 ";
string labletype = "3";
strWhere += " and a.TypeID=" + labletype + "";
后面还有 84 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
