首页 办公文档 研究报告 管理文献 应用文书 学术论文 金融行业 地理文化 传记文集 生活休闲 技术资料 法律法规 其他文档
  • 工作总结
  • 活动策划
  • 产品手册
  • 求职简历
  • 会议纪要
  • 【专业大实验(一)总结报告模板】实验总结模板

    时间:2019-11-03 11:11:21 来源:024文库网 本文已影响 024文库网手机站

    相关热词搜索::

      本页是最新发布的《专业大实验(一)总结报告模板》的详细范文参考文章,感觉写的不错,希望对您有帮助,重新整理了一下发到这里[http://]。

    专业大实验(一)总结报告模板

    南 阳 理 工 学 院

    计 算 机 与 信 息 工 程 学 院

    专业综合大实验(一)总结报告

    题目:

    姓 名:

    学 号:

    专 业:

    指导教师:

    起止日期:

    学生选课管理系统杨铖佳 1306915023 计算机科学与技术 张松娟 16.06.13-16.07.08

    南 阳 理 工 学 院

    计 算 机 与 信 息 工 程 学 院

    专业综合大实验(一)任务书

    目 录

    1 引言..............................................................................................................................................1

    2 需求分析.......................................................................................................................................1

    2.1数据流图...........................................................................................................................1

    2.2 数据字典...........................................................................................................................2

    3 系统设计.......................................................................................................................................4

    3.1 系统架构设计....................................................................................................................4

    3.2 系统功能模块划分............................................................................................................4

    3.3 系统数据库设计................................................................................................................5

    4 系统实现.......................................................................................................................................7

    4.1 前台功能............................................................................................................................7

    4.1.1 会员注册登录.........................................................................................................7

    4.1.2商品展示.................................................................................................................9

    4.1.3 商品搜索...............................................................................................................10

    4.1.4 商品评论...............................................................................................................11

    4.1.5 网站公告...............................................................................................................12

    4.1.6 个人信息更改.......................................................................................................12

    4.1.7 地址簿管理...........................................................................................................13

    4.1.8 订单明细查询.......................................................................................................14

    4.1.9 购物车管理...........................................................................................................16

    4.2 后台功能..........................................................................................................................17

    4.2.1 用户登录与后台管理...........................................................................................17

    4.2.2 商品管理...............................................................................................................18

    4.2.3 商品类别管理.......................................................................................................19

    4.2.4 商品评论管理.......................................................................................................19

    4.2.5 网站公告管理.......................................................................................................20

    4.2.6 订单管理...............................................................................................................21

    4.2.7 会员档案管理.......................................................................................................21

    4.2.8 管理员密码修改...................................................................................................22

    5 总结............................................................................................................................................23

    6 参考文献.....................................................................................................................................23

    1 引言

    在国家大力推进信息化建设的宏观背景下,城市网络基础设施及应用水平均已得到了较大的完善和提升。愈来愈多的商贸服务企业意识到了用现代信息技术改造传统经营方式,用电子商务手段提升管理和服务水平的重要性。已有许多企业在着手计划或已进行自身的电子商务建设,这就有了对商贸服务业电子商务应用平台的迫切需求。

    网上购物是一个电子商务平台。对于消费者来说,可以在家“逛商店”,订货不受时间的限制;获得较大量的商品信息,可以买到当地没有的商品;网上支付较传统拿现金支付更加安全,可避免现金丢失或遭到抢劫;从订货、买货到货物上门无需亲临现场,既省时又省力;由于网上商品省去租店面、召雇员及储存保管等一系列费用,总的来说其价格较一般商场的同类商品更便宜。对于商家来说,网上购物是宣传企业形象的一种强有力的手段,是一种廉价高效的方式。范文写作其优势在于发布信息及时、准确,图文并茂,及时刷新。任何新登商品和促销、广告信息都可以在第一时间呈现在消费者面前。消费者与商家之间可以实现及时互动,商家可以了解到市场的最新需求。对于整个市场经济来说,这种新型的购物模式可在更大的范围内、更多的层面上以更高的效率实现资源配置。

    2 需求分析

    本系统总体目标是为了实现产品的在线购物。通过系统实现网上购物的多项功能,其中主要是管理员对商品的管理实现和用户的购物的实现。用户在线浏览所有商品,按需求搜索相关商品,以及注册为会员后对商品选购的操作,购物结束后生成订单。管理员则可对商品的添加,对商品的归类,对用户购物订单进行处理,以及管理员对网站进行维护操作。

    2.1 数据流图

    数据流图(DFD----Data Flow Diagram)是描绘系统的逻辑模型,图中没有任何具体的物理元素,只是描绘信息在系统中流动和处理的情况,就是采用图形方式来表示系统的逻辑功能、数据在系统内部的逻辑流向和逻辑变换过程。

    1、系统顶层数据流图(如图2-1所示)。

    图2-1 顶层数据流图

    2、会员子系统数据流图(如图2-2所示)。

    图2-2 会员子系统数据流图 图2-3 管理员子系统数据流图

    3、管理员子系统数据流图(如图2-3所示)。

    2.2 数据字典

    数据字典是关于数据的信息的集合,也就是对数据流图中包含的所有元素的定义的集合。数据字典的作用是在软件的分析和设计过程中提供关于数据的描述信息。一般说来,数据字典应该由下列四类元素构成:数据元素,数据流,思想汇报专题数据存储和数据处理。

    数据存储是数据结构停留或保存的地方,也是数据流的来源和去向之一。本系统所涉及到的数据存储表如表2-1至表2-9所示。

    下页

    专业大实验(一)总结报告模板

    表2-2 数据存储之管理员信息表

    表2-5 数据存储之商品评论信息表

    表2-8 数据存储之网站公告信息表

    表2-9 数据存储之购物车信息表

    3 系统设计

    3.1 系统架构设计

    本系统采用三层架构设计,将整个业务应用划分为表示层、业务逻辑层、数据访问层三层。

    数据访问层DAL:用于实现与数据库的交互和访问,从数据库获取数据或保存数据到数据库的部分。

    业务逻辑层BLL:业务逻辑层承上启下,用于对上下交互的数据进行逻辑处理,实现业务目标。

    表示层UI:主要实现和用户的交互,接收用户请求或返回用户请求的数据结果的展现,而具体的数据处理则交给业务逻辑层和数据访问层去处理。

    三层架构是将系统按其作用分成三部分,每部分解决自己负责的流程。三层架构的功用之处,在于驾驭大型web程序的结构,使之便于管理和扩展。

    3.2 系统功能模块划分

    系统功能模块图如图3-1所示。

    图3-1 系统功能模块图

    3.3 系统数据库设计

    本系统采用SQL Server 2005建立和维护数据库,最全面的范文参考写作网站系统中共有两个数据库:商城数据库(B2C)和微软实例数据库(aspnetdb)。它们的任务分别为:存储商品信息、商品类型信息、商品评论信息、订单信息、订单详情信息、订单状态信息、会员信息、地址薄信息、管理员信息、公告信息;存储购物车信息。

    电子商城数据库包含以下10个表:商品表(Commodity)、商品类型表(CommodityType)、商品评论表(CommodityComment)、会员表(Users)、地址薄表(Address)、订单表(Orders)、订单详情表(OrderDetail)、订单状态表(OrderState)、管理员表(Admin)、公告表(News)。

    (1)会员表(Users)用于记录会员的基本信息,包括会员编号、邮箱地址、会员密码、真实姓名。其中会员编号为主键。会员表结构如图3-2所示。

    图3-2 会员表

    (2)地址薄表(Address)用于记录会员所购买商品的配送地址信息,范文TOP100包括地址编号、(来自:WwW.fwwang.cn )邮箱地址、收货人、邮寄地址、邮政编码、联系方式。其中地址编号为主键。地址薄表结构如图3-3所示。

    图3-3 地址薄表

    (3)管理员表(Admin)用于记录后台管理员的基本信息,包括管理员编号、管理员名、管理员密码。其中管理员编号为主键。管理员表结构如图3-4所示。

    图3-4 管理员表

    (4)公告表(News)用于记录网站的公告信息,包括公告编号、公告标题、公告内容、公告来源、公告浏览量、公告发布时间。其中公告编号为主键。公告表

    结构如图3-5所示。

    图3-5 公告表

    (5)商品表(Commodity)用于记录购物网站的商品信息,包括商品编号、商品名、商品类型编号、商品描述、商品市场价、商品会员价、商品售出量、商品图片、商品浏览量、商品发布时间。其中商品编号为主键。商品表结构如图3-6所示。

    图3-6 商品表

    (6)商品类型表(CommodityType)用于记录商品的类别信息,包括商品类型编号、商品类型名、父类型编号。其中商品类型编号为主键。商品类型表结构如图3-7所示。

    图3-7 商品类型表

    (7)商品评论表(CommodityComment)用于会员对商品的评论信息,包括商品评论编号、商品编号、评论人、评论级别、评论内容、评论时间。其中商品评论编号为主键。商品评论表结构如图3-8所示。

    图3-8 商品评论表

    (8)订单状态表(OrderState)用于记录订单的状态信息、包括订单状态编号、订单状态名。其中订单状态编号为主键。订单状态表结构如图3-9所示。

    图3-9 订单状态表

    (9)订单表(Orders)用于记录会员在购物网站所下发订单信息,包括订单编号、订单人、地址编号、订单总价、订单时间、订单状态、邮寄类型、订单号。其中订单编号为主键。订单表结构如图3-10所示。

    图3-10 订单表

    (10)订单详情表(OrderDetail) 用于记录每个订单的详细购物信息,包括订单详情编号、订单号、商品编号、商品购买量。其中订单详情编号为主键。订单详情表结构如图3-11所示。

    图3-11 订单详情表

    4 系统实现

    4.1 前台功能

    4.1.1 会员注册登录

    会员注册页面如图4-1所示。如果输入信息有误则会提示错误信息,需要重新输入。

    上页 下页

    专业大实验(一)总结报告模板

    图4-1 会员注册页面

    主要代码如下:

    protected void ok_Click(object sender,EventArgs e)

    {

    BLL.Users_BLL users_BLL = new BLL.Users_BLL();

    users_BLL.EmailAddress = userEmail.Text;

    users_BLL.UserPwd = userPwd.Text;

    users_BLL.UserName = realName.Text;

    users_BLL.registerUserInfo();

    FormsAuthentication.SetAuthCookie(users_BLL.EmailAddress,false);

    Response.Redirect("UserOrder.aspx");

    }

    会员登录页面如图4-2所示。如果输入信息有误则会提示错误信息,需要重新输入。

    图4-2 会员登录页面

    主要代码如下:

    protected void ImageLogin_Click(object sender,ImageClickEventArgs e) {

    BLL.Users_BLL users_BLL = new BLL.Users_BLL();

    users_BLL.EmailAddress =txtEmail.Text;

    users_BLL.UserPwd = txtPwd.Text;

    if (users_BLL.isLoginSucess ().Tables [0].Rows.Count ==1)

    {

    (来自: )

    FormsAuthentication.SetAuthCookie(txtEmail.Text,false );

    Response.Redirect("UserOrder.aspx");

    }

    }

    4.1.2 商品展示

    商品展示页面如图4-3所示。

    图4-3 商品展示页面

    主要代码实现如下:

    private void Bind()

    {

    BLL.CommodityType_BLL commodityType_BLL = new

    BLL.CommodityType_BLL();

    RepeaterFather.DataSource = commodityType_BLL.selectLevelOneType();

    RepeaterFather.DataBind();

    }

    protected void RepeaterFather_ItemDataBound(object sender,

    RepeaterItemEventArgs e)

    {

    DataRowView dr = (DataRowView)e.Item.DataItem;

    int id = Convert.ToInt32(dr["commodityTypeId"]);

    Repeater repeaterSon = (Repeater)e.Item.FindControl("RepeaterSon");

    BLL.CommodityType_BLL commodityType_BLL = new

    BLL.CommodityType_BLL();

    commodityType_BLL.CommodityTypeFatherId = id;

    repeaterSon.DataSource = commodityType_BLL.selectTypeByFatherId();

    repeaterSon.DataBind();

    DataList dataListFather =

    (DataList)e.Item.FindControl("DataListFather");

    BLL.Commodity_BLL commodity_BLL = new BLL.Commodity_BLL();

    commodity_BLL.CommodityTypeId = id;

    dataListFather.DataSource =

    commodity_BLL.selectCommodityByFather();

    dataListFather.DataBind();

    }

    4.1.3 商品搜索

    在如图4-4所示的商品搜索页面中选择商品类型并输入关键字,点击“找商品”按钮搜索商品。

    图4-4 商品搜索页面

    搜索结果页面如图4-5所示。

    图4-5 商品搜索结果页面

    主要代码如下:

    protected void search_Click(object sender,EventArgs e)

    {

    if (txtKey.Text.Trim() == "")

    {

    Response.Write("<scriptalert("关键字不能为空!")</script");

    }

    else

    {

    Response.Redirect("~/web/SearchResult.aspx?commodityTypeId="+ddlSon

    .SelectedValue +"

    &

    key="+txtKey.Text.Trim());

    }

    }

    private void Bind()

    {

    int id = Convert.ToInt32(Request.QueryString["commodityTypeId"]);

    string key = Request.QueryString["key"];

    BLL.Commodity_BLL commodity_BLL = new BLL.Commodity_BLL();

    commodity_BLL.CommodityTypeId = id;

    commodity_BLL.Key = key;

    DataSet ds = commodity_BLL.searchCommodity ();

    pds.DataSource = ds.Tables[0].DefaultView;

    pds.AllowPaging = true;

    pds.PageSize = 15;

    DataList1.DataSource = pds;

    DataList1.DataBind();

    if (pds.DataSourceCount == 0)

    {

    noCommodity.Visible = true;

    myDiv.Visible = false;

    return;

    }

    recordCount.Text = pds.DataSourceCount.ToString();

    currentPage.Text = (pds.CurrentPageIndex + 1).ToString();

    totalPage.Text = pds.PageCount.ToString();

    }

    4.1.4 商品评论

    会员登录后才能发表评论。商品评论页面如图4-6所示。

    图4-6 商品评论页面

    如果为匿名用户则提示如图4-7所示的提示信息。

    图4-7 提示信息

    主要代码如下:

    protected void ok_Click(object sender,EventArgs e)

    {

    if(Profile.IsAnonymous )

    {

    Response.Write("<scriptalert("登录后才能对商品论!")</script");

    return;

    }

    int commodityId = int.Parse(Request.QueryString["commodityId"]);

    string emailAddress = Profile.UserName;

    string commentContent = (FormViewData.FindControl("txtContent") as

    TextBox).Text;

    DateTime commentTime = DateTime.Now;

    BLL.CommodityComment_BLL commodityComment_BLL = new

    BLL.CommodityComment_BLL();

    commodityComment_BLL.CommodityId = commodityId;

    commodityComment_BLL.EmailAddress = emailAddress;

    commodityComment_BLL.CommentLevel = commentLevel;

    commodityComment_BLL.CommentContent = commentContent;

    commodityComment_BLL.CommentTime = commentTime;

    commodityComment_BLL.insertComment();

    Response.Redirect ("CommodityComment.aspx?commodityId="

    + commodityId);

    }

    4.1.5 网站公告

    网站公告信息页面如图4-8所示。

    图4-8 网站公告信息

    主要代码如下:

    private void Bind()

    {

    BLL.News_BLL news_BLL=new BLL.News_BLL ();

    Repeater1.DataSource = news_BLL.selectNews();

    Repeater1.DataBind();

    }

    4.1.6 个人信息更改

    个人信息更改页面如图4-9所示。

    上页 下页

    专业大实验(一)总结报告模板

    图4-9 个人信息更改页面

    主要代码如下:

    protected void ok_Click(object sender,EventArgs e)

    {

    if (ds.Tables[0].Rows[0]["userPwd"].ToString()==OldPwd.Text ) {

    BLL.Users_BLL users_BLL = new BLL.Users_BLL();

    users_BLL.EmailAddress = Profile.UserName;

    users_BLL.UserName = Username.Text;

    users_BLL.UserPwd = NewPwd.Text;

    users_BLL.updateUserInfo();

    }

    else

    {

    Response.Write("<scriptalert("原密码输入错误!")</script");

    }

    }

    4.1.7 地址簿管理

    地址薄管理页面如图4-10所示。

    图4-10 地址薄管理页面

    主要代码如下:

    private void Bind()

    {

    BLL.Address_BLL address_BLL = new BLL.Address_BLL();

    address_BLL.EmailAddress = Profile.UserName;

    DataSet ds = address_BLL.selectAddressByEmailAddress();

    if (ds.Tables[0].Rows.Count <

    1)

    {

    GridViewAddress.Visible = false;

    return;

    }

    GridViewAddress.DataSource = ds;

    GridViewAddress.DataBind();

    }

    protected void addAddress_Click(object sender,EventArgs e)

    {

    BLL.Address_BLL address_BLL = new BLL.Address_BLL();

    address_BLL.EmailAddress = Profile.UserName;

    address_BLL.GetCommodityPerson = getCommodityPerson.Text;

    address_BLL.PostAddress = address.Text;

    address_BLL.PostCode = postCode.Text;

    address_BLL.PhoneNum = phoneNum.Text;

    address_BLL.addAddress();

    getCommodityPerson.Text = "";

    address.Text = "";

    postCode.Text = "";

    phoneNum.Text = "";

    GridViewAddress.Visible = true;

    Bind();

    }

    4.1.8 订单明细查询

    会员的订单列表如图

    4-11所示。

    图4-11 会员的订单列表

    查看订单详情如图4-12所示。

    图4-12 订单详情信息

    主要代码如下:

    private void Bind()

    {

    BLL.Orders_BLL orders_BLL = new BLL.Orders_BLL();

    orders_BLL.EmailAddress = Profile.UserName;

    DataSet ds=orders_BLL.selectOrderByEmail();

    pds.DataSource =ds.Tables [0].DefaultView;

    pds.AllowPaging=true;

    pds.PageSize=10;

    GridView1.DataSource = pds;

    GridView1.DataBind();

    if(pds.DataSourceCount==0)

    {

    noOrder.Visible = true;

    myDiv.Visible = false;

    return;

    }

    recordCount.Text = pds.DataSourceCount.ToString();

    currentPage.Text = (pds.CurrentPageIndex + 1).ToString();

    totalPage.Text = pds.PageCount.ToString();

    }

    private void Bind()

    {

    string orderNum = Request.QueryString["orderNum"];

    BLL.Orders_BLL orders_BLL = new BLL.Orders_BLL();

    orders_BLL.OrderNum = orderNum;

    DataSet dsOrder = orders_BLL.selectOrder();

    lblOrderNum.Text = orderNum;

    lblOrderTime.Text = dsOrder.Tables[0].Rows[0]["orderTime"].ToString();

    lblPostType.Text = dsOrder.Tables[0].Rows[0]["postType"].ToString();

    lblTotalPrice.Text=decimal.Parse(dsOrder.Tables[0].Rows[0]["totalPrice"].ToString(),System.Globalization.NumberStyles.Currency).ToString("c");

    int addressId =

    int.Parse(dsOrder.Tables[0].Rows[0]["addressId"].ToString());

    BLL.Address_BLL address_BLL = new BLL.Address_BLL();

    address_BLL.AddressId = addressId;

    DataSet dsAddress = address_BLL.selectAddressById();

    lblGetCommodityPerson.Text =

    dsAddress.Tables[0].Rows[0]["getCommodityPerson"].ToString();

    lblPostAddress.Text

    =dsAddress.Tables[0].Rows[0]["postAddress"].ToString();

    lblPostCode.Text = dsAddress.Tables[0].Rows[0]["postAddress"].ToString();

    lblPhoneNum.Text = dsAddress.Tables[0].Rows[0]["phoneNum"].ToString();

    BLL.OrderDetail_BLL orderDetail_BLL = new BLL.OrderDetail_BLL();

    orderDetail_BLL.OrderNum = orderNum;

    DataSet dsOrderDetail = orderDetail_BLL.selectOrderDetail();

    GridView1.DataSource = dsOrderDetail;

    GridView1.DataBind();

    }

    4.1.9 购物车管理

    商品购买页面如图4-13所示。

    图4-13 商品购买页面

    点击订购,放入购物车,购物车页面如图4-14所示。

    图4-14 购物车页面

    配置文件作如下配置:

    <connectionStrings

    <!-- Profile个性化数据临时存储库--

    <add name="AspNetDBConn"

    connectionString="server=.;database=aspnetdb;user id=sa;pwd=123456"/

    </connectionStrings

    <anonymousIdentification enabled="true"/

    <profile enabled="true"

    defaultProvider="SqlProvider"

    <providers

    <add name="SqlProvider"

    type="System.Web.Profile.SqlProfileProvider"

    connectionStringName="AspNetDBConn"</add

    </providers

    <properties

    <add name="ShoppingCart"

    type="Cart"

    allowAnonymous="true"

    serializeAs="Binary"/

    </properties

    </profile

    protected void ImageBuy_Click(object sender,ImageClickEventArgs e) {

    int commodityId = int.Parse(Request.QueryString["commodityId"]);

    BLL.Commodity_BLL commodity_BLL = new BLL.Commodity_BLL();

    commodity_BLL.CommodityId = commodityId;

    DataSet ds = commodity_BLL.selectCommodityById();

    string commodityName =

    ds.Tables[0].Rows[0]["commodityName"].ToString();

    decimal commodityPrice = int.Parse

    (ds.Tables[0].Rows[0]["commodityPrice"].ToString());

    decimal commodityDiscountPrice =int.Parse

    (ds.Tables[0].Rows[0]["commodityDiscountPrice"].ToString());

    Profile.ShoppingCart.AddItem(commodityId,commodityName,

    commodityDiscountPrice,commodityPrice);

    Response.Redirect("ShopCart.aspx");

    }

    4.2 后台功能

    4.2.1 用户登录与后台管理

    管理员登录页面和后台管理主菜单分别如图4-15和4-16所示。

    图4-15 管理员登录页面 图4-16 后台管理主菜单

    主要代码如下:

    protected void IbtnEnter_Click(object sender,ImageClickEventArgs e) {

    上页 下页

    专业大实验(一)总结报告模板

    BLL.Admin_BLL admin_BLL = new BLL.Admin_BLL();

    admin_BLL.AdminName = TxtUserName.Text;

    admin_BLL.AdminPwd = TxtPassword.Text;

    if (admin_BLL.isLoginSucess().Tables[0].Rows.Count <

    1)

    {

    Response.Write("<scriptalert("用户名或密码错误!")</script");

    }

    else

    {

    Session["admin"] = admin_BLL.AdminName;

    Response.Redirect ("Main.aspx");

    }

    }

    4.2.2 商品管理

    商品发布页面如图4-17所示。

    图4-17 商品发布页面

    商品编辑页面如图4-18所示。

    图4-18 商品编辑页面

    主要代码如下:

    protected void btnSubmit_Click(object sender,EventArgs e)

    {

    BLL.Commodity_BLL commodity_BLL = new BLL.Commodity_BLL();

    commodity_BLL.CommodityName = CommodityName.Text;

    commodity_BLL.CommodityTypeId = int.Parse (ddlSon.SelectedValue);

    commodity_BLL.CommodityDescrip = FCKeditor1.Value;

    commodity_BLL.CommodityPrice =decimal.Parse ( MarketPrice.Text);

    commodity_BLL.CommodityDiscountPrice =decimal.Parse

    ( MemberPrice.Text);

    commodity_BLL.CommoditySoldNum = 0;

    commodity_BLL.CommodityClickCount = 0;

    commodity_BLL.CommodityPic = imgUrl;

    commodity_BLL.CommodityPubTime = DateTime.Now;

    commodity_BLL.insertCommodity();

    Server.Transfer("EditCommodity.aspx");

    }

    4.2.3 商品类别管理

    商品类别管理页面如图4-19所示。

    图4-19 商品类别管理页面

    主要代码如下:

    protected void btnAdd_Click(object sender,EventArgs e)

    {

    BLL.CommodityType_BLL commodityType_BLL = new BLL.CommodityType_BLL();

    commodityType_BLL.CommodityTypeName = sonTypeName.Text;

    commodityType_BLL.CommodityTypeFatherId = int.Parse

    (ddlFahterName.SelectedValue);

    commodityType_BLL.insertType();

    Bind();

    sonTypeName.Text = "";

    }

    4.2.4 商品评论管理

    商品评论管理页面如图4-20所示。

    图4-20 商品评论管理页面

    主要代码如下:

    protected void GridView1_RowDeleting(object sender,

    GridViewDeleteEventArgs e)

    {

    BLL.CommodityComment_BLL commodityComment_BLL = new

    BLL.CommodityComment_BLL();

    commodityComment_BLL.CommodityCommentId =

    int.Parse(grdComment.Rows[e.RowIndex].Cells[0].Text);

    commodityComment_BLL.deleteComment();

    Bind();

    }

    4.2.5 网站公告管理

    网站公告管理页面如图4-21所示。

    图4-21 网站公告管理页面

    主要代码如下:

    protected void btnSubmit_Click(object sender,EventArgs e)

    {

    BLL.News_BLL news_BLL = new BLL.News_BLL();

    news_BLL.NewsTitle = txtTitle.Text;

    news_BLL.NewsSource = txtSource.Text;

    news_BLL.NewsContent = FCKeditor1.Value;

    news_BLL.NewsClick = 0;

    news_BLL.NewsPubTime = DateTime.Now;

    news_BLL.insertNew();

    Server.Transfer("EditNews.aspx");

    }

    4.2.6 订单管理

    订单管理页面如图4-22所示。

    图4-22 订单管理页面

    主要代码如下:

    protected void grdOrder_RowUpdating(object sender,GridViewUpdateEventArgs e)

    {

    string orderNum = (grdOrder.Rows[e.RowIndex].FindControl("HyperLink1") as

    HyperLink).Text;

    BLL.Orders_BLL orders_BLL = new BLL.Orders_BLL();

    orders_BLL.OrderNum = orderNum;

    orders_BLL.OrderState =

    (grdOrder.Rows[e.RowIndex].FindControl("DropDownList1") as

    DropDownList).SelectedValue;

    orders_BLL.updateOrderState ();

    grdOrder.EditIndex = -1;

    Bind();

    }

    4.2.7 会员档案管理

    会员档案管理页面如图4-23所示。

    图4-23 会员档案管理页面

    主要代码如下:

    protected void GridView1_RowUpdating(object sender,

    GridViewUpdateEventArgs e)

    {

    BLL.Users_BLL users_BLL = new BLL.Users_BLL();

    users_BLL.EmailAddress = grdUser.Rows[e.RowIndex].Cells[1].Text;

    users_BLL.UserPwd = (grdUser.Rows[e.RowIndex].Cells[2].Controls[0]

    as TextBox).Text;

    users_BLL.UserName = (grdUser.Rows[e.RowIndex].Cells[3].Controls[0]

    as TextBox).Text;

    users_BLL.updateUserInfo();

    grdUser.EditIndex = -1;

    Bind();

    }

    4.2.8 管理员密码修改

    管理员密码修改页面如图4-24所示。

    图4-24 管理员密码修改页面

    主要代码如下:

    protected void btnSubmit_Click(object sender,EventArgs e)

    {

    BLL.Admin_BLL admin_BLL = new BLL.Admin_BLL();

    admin_BLL.AdminName = lblAdmin.Text;

    if (admin_BLL.getPwd()==oldPwd.Text )

    {

    admin_BLL.AdminPwd =newPwd.Text;

    admin_BLL.updatePsd();

    }

    else

    {

    Response.Write("<scriptalert("原密码输入错误!")</script");

    }

    }

    上页 下页 余下全文

    专业大实验(一)总结报告模板

    5 总结

    由于时间紧迫,与客户交流有些障碍导致功能不够完善。另外在做需求分析的时候,由于考虑欠佳,还存在一些小问题。比如管理员在后台进行登录时,如果用户名、密码错误,在IE中布局会发生错位,而在Firefox中则显示正常。但是本网站还有不少闪光点,例如网站布局合理色调清新;购物车中商品的持久化存储;用户从匿名身份到实名身份的转换。

    6 参考文献

    [1] 施燕妹.C#语言程序设计教程[M].北京:中国水利水电出版社,2004.[2] 郑小平.Visual C#.NET开发实践[M].北京:人民邮电出版社,2001.[3] 施威铭.SQL Server2000中文版设计实务[M].北京:人民邮电出版社,2001.[4] 张龙祥.UML与系统分析设计(第二版) [M].北京:人民邮电出版社,2007.[5] 李代平.软件工程(第2版)[M].北京:清华大学出版社,2008.

    [6] 刘烨,吴中元.C#编程及应用程序开发教程[M].北京:清华大学出版社,2003.[7] 赵松涛.中文版SQL Server 2000应用及实例集锦[M].北京:人民邮电出版社,2002.[8] 刘丽.精通ASP.NET2.0+SQL Server 2005项目开发[M].北京:人民邮电出版社,2003.[9] 孟军.精通ASP.NET网络编成[M].北京:人民邮电出版社,2002.

    [10] 朱归良.基于Web的网络考试系统安全性研究[M].北京:人民邮电出版社,2002.

    23

    专业综合大实验(一)考核表

    指导教师(签字):

    年月日

    上页

      以上是《专业大实验(一)总结报告模板》的范文参考详细内容,主要描述商品、系统、管理、信息、数据、数据流、管理员、可以,觉得好就请(CTRL+D)收藏下。

    • 办公文档
    • 研究报告
    • 管理文献
    • 应用文书
    • 学术论文
    • 金融行业
    • 地理文化

    推荐访问

    推荐一个好地方作文四年级上册优秀作文 推荐一个好地方四年级上册优秀作文(13篇) 一个好地方四年级上册优秀作文(13篇) 二年级作文我美丽的家乡10篇精选怎么写 二年级作文我美丽的家乡10篇精选 二年级作文我美丽家乡10篇 我能行作文600字 中考作文我能行600字5篇 中考作文我能行600字合集 2022十月朋友圈说说 2022十月你好的句子发朋友圈100句精选 十月你好句子发朋友圈100句 以清澈的爱只为中国为主题的演讲稿 “清澈爱只为中国”爱国主题演讲稿合集 三年级作文范文 猜猜他是谁三年级作文范文(精选26篇) 猜猜他是谁三年级作文范本(26篇) 以乡愁为话题的中考作文5篇作文 以乡愁为话题的中考作文5篇 以乡愁为话题中考作文合集 地理老师教学工作的总结范文5篇字数 地理老师教学工作的总结范文5篇 地理老师教学工作总结范本合集 司机岗位的工作个人总结报告5篇是什么 司机岗位的工作个人总结报告5篇 司机岗位工作个人总结报告合集 销售阶段性工作总结报告 销售阶段性工作情况的个人心得模板范文 销售阶段性工作情况个人心得模板范本 记一次愉快的寒假小作文5篇作文 记一次愉快的寒假小作文5篇 记一次愉快寒假小作文合集 我热爱这样的初中生活600字作文记叙文 我是如此地热爱中考语文作文(8篇) 我是如此地热爱中考语文作文(8篇) 地热 大学迎新活动创意策划 大学迎新创意策划(2022)5篇 大学迎新创意策划合集 销售本职工作内容的个人总结范文5篇字数 销售本职工作内容的个人总结范文5篇 销售本职工作内容个人总结范本合集 2022年度个人工作总结范文五篇图片 2022年度个人工作总结范文五篇 度个人工作总结范本五篇 社区放电影活动总结的缺点 社区放电影活动总结 放电影 2022大学军训心得体会 2022大一学生军训心得感悟范文最新7篇(实用) 大一学生军训心得感悟范本最新7篇(实用)