Admin/SearchGoodsInfo.aspx.cs
(完整代码) 1005Busing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Admin_SearchGoodsInfo : System.Web.UI.Page
{
Alert alert = new Alert();
SqlHelper data = new SqlHelper();
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
cswDropDownList1.DataSource = data.GetDataReader("select * from cswClass ");
cswDropDownList1.DataTextField = "cswName";
cswDropDownList1.DataValueField = "cswid";
cswDropDownList1.DataBind();
cswDropDownList1.Items.Add(new ListItem("所有类别", "0")); //动态添加新项
}
}
protected void Button1_Click(object sender, EventArgs e)
{
Response.Redirect("InqueGoodsList.aspx?name=" + cswtxtname.Text + "&Code=" + cswTextBox1.Text + "&TypeName=" + cswDropDownList1.SelectedItem.Text);
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。