ASP.NET学生信息管理系统(7)

来源:xiaoniu168.com 作者:本站原创 添加时间:2011-11-02 点击数:29771

计算机毕业设计基本功能介绍:

4.2.1 管理员管理模块
(1)ZrList(主任信息列表)
此页面显示主任的详细信息列表,包括主任帐号、主任名称、学院名称以及添加、修改和删除按钮。如图:
计算机毕业论文

以下是引用片段:

private void DataGrid1_ItemCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)
  {
   if(e.CommandName=="Edit")
   {
    //传递修改的标志 跳转页面
    Response.   }
   else
   {
    //删除当前的主任信息
    DB.ExecSql("delete from zr where zrid='"+e.Item.Cells[0].Text + "'");
    this.DataGrid1.DataSource=DB.Get_Table("select * from zr,xy where zr.xyid =xy.xyid");
    this.DataGrid1.DataBind();
   }
  }

  private void Button1_Click(object sender, System.EventArgs e)
  {
   //跳转页面
   Response.
  }
 }

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

第8页为计算机毕业论文主任编辑功能介绍......

【联系方式】

【本站信誉】

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