SenBiTeSolution.UI/Index.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
//www.51aspx.com
using SenBiTeSolution.DAL;
using System.Data;
using SenBiTeSolution.Common;
namespace SenBiTeSolution.UI.FormWeb
{
public partial class Index : System.Web.UI.Page
{
protected string aboutMe = "";
protected bool haveNews = false; //是否存在新闻
public string aboutLianxi = "";
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
GetAboutMe();
BindNews();
this.Title = new DAL.tbl_Configs().GetConfigsModel("网站标题").con_value;
this.MetaDescription = new DAL.tbl_Configs().GetConfigsModel("网站描述").con_value;
this.MetaKeywords = new DAL.tbl_Configs().GetConfigsModel("网站关键字").con_value;
aboutLianxi = new DAL.tbl_Configs().GetConfigsModel("联系方式").con_value;
dataload();
}
}
private void dataload()
{
DAL.tbl_Product pro = new tbl_Product();
this.rp1.DataSource = pro.GetProducts(1, "1").Tables[0];
this.rp1.DataBind();
this.rp2.DataSource = pro.GetProducts(1, "2").Tables[0];
this.rp2.DataBind();
this.rp3.DataSource = pro.GetProducts(1, "3").Tables[0];
this.rp3.DataBind();
this.rp4.DataSource = pro.GetProducts(1, "4").Tables[0];
this.rp4.DataBind();
}
public string GetTypeName(object obj)
{
if (obj.ToString().Trim().Length == 0)
{
后面还有 34 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。