mem/yiquxiao.aspx.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
public partial class mem_yiquxiao : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack && Session["lname"] != null)
{
BindData();
}
}
private void BindData()
{
string strsql = "select * from maiOrder where xuehao='" + Session["lname"].ToString() + "' and Flag='已取消' ";
strsql += "select * from songOrder where xuehao='" + Session["lname"].ToString() + "' and Flag='已取消' ";
strsql += "select * from quOrder where xuehao='" + Session["lname"].ToString() + "' and Flag='已取消' ";
strsql += "select * from paiduiOrder where xuehao='" + Session["lname"].ToString() + "' and Flag='已取消' ";
DataSet ds = DbHelperSQL.Query(strsql);
this.Repeater1.DataSource = ds.Tables[0];
this.Repeater1.DataBind();
this.Repeater2.DataSource = ds.Tables[1];
this.Repeater2.DataBind();
this.Repeater3.DataSource = ds.Tables[2];
this.Repeater3.DataBind();
this.Repeater4.DataSource = ds.Tables[3];
this.Repeater4.DataBind();
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
