index.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using dao;
public partial class index : System.Web.UI.Page
{
/**
*信息列表页面
*/
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
chushi();
}
}
/// <summary>
/// 绑定
/// </summary>
private void chushi()
{
DataSet ds = new DataSet();
string sql = "select top 8 * from gonggao where 1=1 ";
// Response.Write(sql);
ds = DBHelper.query(sql);
this.Repeater1.DataSource = ds;
this.Repeater1.DataBind();
sql = "select top 9 * from xinxi where 1=1 ";
// Response.Write(sql);
ds = DBHelper.query(sql);
this.Repeater2.DataSource = ds;
this.Repeater2.DataBind();
sql = "select top 4 * from xinxi where 1=1 ";
// Response.Write(sql);
ds = DBHelper.query(sql);
this.Repeater3.DataSource = ds;
this.Repeater3.DataBind();
sql = "select top 8 * from zuoye where 1=1 ";
// Response.Write(sql);
ds = DBHelper.query(sql);
this.Repeater4.DataSource = ds;
this.Repeater4.DataBind();
sql = "select top 8 * from ziliao where 1=1 ";
// Response.Write(sql);
后面还有 37 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。