protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BindNew(); BindTop(); BindTally(); //根据分类或是标签展示所有ACG if (Request.QueryString["acgclass"] != null) { DataTable dt = AcgService.SelectTay(Request.QueryString["acgclass"].ToString()); if (dt != null && dt.Rows.Count != 0) { Acgview.DataSource = dt; Acgview.DataBind(); } classname.Text = Request.QueryString["acgclass"].ToString(); } if (Request.QueryString["tally_name"] != null) { DataTable dt = AcgService.SelectTally(Request.QueryString["tally_name"].ToString()); if (dt != null && dt.Rows.Count != 0) { Acgview.DataSource = dt; Acgview.DataBind(); } classname.Text = Request.QueryString["tally_name"].ToString(); } } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { flag = true; string a = "插画"; DataTable dt = AcgService.SelectTay(a); if (dt != null && dt.Rows.Count != 0) { Acgview.DataSource = dt; Acgview.DataBind(); } } }