ASP.NET电子商务网站(10)

来源:xiaoniu168.com 作者:本站原创 添加时间:2011-10-21 点击数:32622

计算机毕业设计订单管理模块介绍:

2. DDList(订单信息维护)
 此模块可以查看定购商品的用户信息,及该用户定购商品的详细信息,并对定单中的商品同意预定。此时关联用户信息表和商品信息表。同时可以对不需要的订单信息进行删除操作。如图:

计算机毕业论文

以下是引用片段:

private void initDg()
  {
   //查询订单信息 显示载列表中
   DataTable tmpda=new DataTable();
   tmpda=Sql2000DB.Get_Table("select * from dd");
   this.dg.DataSource=tmpda;
   this.dg.DataBind();
   //根据不同的登陆人员 判断所使用的功能是否允许被使用
   if(Session["UserID"].ToString()=="admin")
   {
    this.dg.DataSource=Sql2000DB.Get_Table("select * from dd order by ddrq DESC") ;
    this.dg.DataBind();
    this.LinkButton1.Visible=false;
   }
   else
   {
    this.dg.DataSource=Sql2000DB.Get_Table("select * from dd where id='"+ Session["UserID"].ToString() +"' order by ddrq DESC") ;
    this.dg.DataBind();
    this.dg.Columns[6].Visible=false;
    this.dg.Columns[8].Visible=false;
   }

  }

〖资料来源:计算机毕业论文 www.xiaoniu168.com

第11页为计算机毕业论文用户注册模块介绍......

【联系方式】

【本站信誉】

用心做计算机毕业设计论文网