Web/Default.aspx.cs
(开头部分) 13KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.OleDb;
using System.Data;
using System.Web.UI.HtmlControls;
using System.Xml;
public partial class _Default : System.Web.UI.Page
{
private XmlDocument xmlDoc;
public string qq1 = "", qq2 = "", qq3 = "", ww1 = "", ww2 = "", ww3 = "";
public static Vaisi_friendModel friend = null, friend1 = null, friend2 = null, friend3 = null, friend4 = null, friend5 = null;
public string about = "";
public string case1 = "", case2 = "";
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
bind();//关键字...
bind_1();//四张图片
bind_2();//企业简介
bind_3();//10品牌LOGO
bind_4();//新闻中心
bind_5();//惊喜边缘两图
bind_6();//战略合作伙伴
bind_7();//友情链接
bind_8();//客服
bind_9();//成功案例
}
}
private void bind()
{
string sql = "select * from vaisi_main where id=1 ";
OleDbDataReader reader = SqlHelper.GetScalarList(sql);
if (reader.Read())
{
HtmlMeta tag = new HtmlMeta();
tag.Name = "keywords";
tag.Content = (string)reader["keywords"];
Page.Header.Controls.Add(tag);
tag = new HtmlMeta();
tag.Name = "Description";
tag.Content = (string)reader["description"];
Page.Header.Controls.Add(tag);
Page.Title = (string)reader["title"];
reader.Close();
}
}
private void bind_1()
{
string sql = "select * from vaisi_friend where id=1";
OleDbDataReader reader = SqlHelper.GetScalarList(sql);
if (reader.Read())
{
friend = new Vaisi_friendModel();
friend.Imgurl = (string)reader["imgurl"];
后面还有 296 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。