62,041
社区成员
发帖
与我相关
我的任务
分享
public partial class market_release : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
DataFill();
}
}
private void DataFill()
{
string id =Request.QueryString["id"].ToString();
Gogogo man = new Gogogo ();
this.DetailsView.DataSource = man.GetTable("id");//将ID作为条件查询数据库
this.DetailsView.DataBind();
}
}