ASP.NET电子产品商务网站(9)

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

计算机毕业设计订单信息维护介绍:

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

以下是引用片段:

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

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

第10页为计算机毕业论文用户注册页面介绍......

【联系方式】

【本站信誉】

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