ImageVerifierCode 换一换
格式:DOCX , 页数:16 ,大小:535.83KB ,
资源ID:8019166      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/8019166.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(小型旅游信息管理系统课程设计.docx)为本站会员(b****6)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

小型旅游信息管理系统课程设计.docx

1、小型旅游信息管理系统课程设计旅游管理系统开发设计报告 2013年6月25日前言 本系统旨在开发应用于旅行社的小型旅游信息管理系统,帮助人们更加方便的获取旅游方面的信息,及时了解信息更新情况以及更加方便的管理信息。以ASP.NET为开发平台,SQL Server为数据库建立环境,实现该旅游管理系统的基本功能。在此系统中,游客可以查看旅游项目,旅游路线,以及选择旅游方式,定酒店并留言等功能。系统管理者可以删除或修改旅游项目,查看留言等。 具体内容参见本系统说明书正文部分。 由于时间仓促以及编写者水平所限,本说明书还有许多不足之处,真诚希望您的批评指正。目录第一章 项目概述 11.1 项目介绍 11

2、.2 开发团队 11.3 开发计划 1第二章 系统分析 22.1 系统用户定义 22.2 系统功能概述 22.2.1 系统功能结构图 22.2.2 系统功能描述 22.3 系统数据流程 22.3.1 系统数据流程图 22.3.2 系统数据字典 2第三章 系统设计及实现 33.1 系统界面设计 33.1.1 系统界面设计原则 43.1.2 系统界面设计 43.2 系统程序及算法描述 7第四章 总结与展望 13第一章 项目概述1.1 项目介绍 该项目以旨在建立应用于旅行社的小型旅游管理系统。以ASP.NET为开发平台,SQL Server为数据库建立环境,实现该旅游管理系统的基本功能。在此系统中,

3、游客可以查看旅游项目,旅游路线,以及选择旅游方式,定酒店并留言等功能。系统管理者可以删除或修改旅游项目,查看留言等。 1.2 开发团队 该项目开发人员为:重庆交通大学管理学院信息管理及信息系统专业一班,崔喜梅。感谢林鹰老师的教学指导。1.3 开发计划 该项目开发计划共有四步:.对项目进行需求分析,了解该旅行社的基本功能及组织结构,完成系统需求分析报告。.根据报告数据结构图、数据流图建立系统数据库,完成表约束。.完成网页界面的前台页面设计,后台功能实现及其之间的相互协调。.进行系统的调试及维护。第二章 系统分析2.1 系统用户定义该系统的用户为普通浏览者,注册用户,以及系统管理者。2.2 系统功

4、能概述2.2.1 系统功能结构图 2.3 系统数据流程2.3.1 系统数据流程图第三章 系统设计及实现3.1 系统界面设计3.1.1 系统界面设计原则 该系统界面设计原则遵循简洁大方的原则,力求使用户在第一时间内了解网站所表达的信息。并且力求界面富有自然气息,引导浏览者产生对大自然的向往。3.1.2 系统界面设计3.2 系统程序及算法描述 using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;usi

5、ng System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;public partial class _Default : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) if (!IsPostBack) rptList1.DataSource = DB.getDataTable(select top 10 * fr

6、om JingDian order by JingDianId desc); rptList1.DataBind(); rptList2.DataSource = DB.getDataTable(select top 16 * from JiuDian order by JiuDianId desc); rptList2.DataBind(); rptList3.DataSource = DB.getDataTable(select top 11 * from XianLu order by XianLuId desc); rptList3.DataBind(); rptList4.DataS

7、ource = DB.getDataTable(select top 8 * from JiaoTong order by JiaoTongId desc); rptList4.DataBind(); using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.W

8、ebControls.WebParts;using System.Web.UI.HtmlControls;public partial class JiaoTongInfo : System.Web.UI.Page protected string title = string.Empty; protected string content = string.Empty; string id = string.Empty; protected void Page_Load(object sender, EventArgs e) id = Request.QueryStringid; if (!

9、IsPostBack) DataTable dt = DB.getDataTable(select * from VI_JiaoTong where JiaoTongId= + id); if (dt.Rows.Count 0) title = dt.Rows0title.ToString(); content = dt.Rows0Content.ToString(); public partial class Comment : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) if (!IsPos

10、tBack) rptList.DataSource = DB.getDataTable(select * from Comment order by CommentId desc); rptList.DataBind(); if (Request.Cookiesmemberinfo != null) txtCommentUser.Text = Server.UrlDecode(Request.CookiesmemberinfoUserName); protected void btnSubmitComment_Click(object sender, EventArgs e) string u

11、sername = txtCommentUser.Text.Trim(); string content = txtCommentContent.Text.Trim(); if (!string.IsNullOrEmpty(username) & !string.IsNullOrEmpty(content) string sql = insert into Comment(UserName,Content) ; sql += values( + username + , + content + ); SqlConnection cn = DB.OpenConnection(); SqlComm

12、and cmd = new SqlCommand(sql, cn); cmd.ExecuteNonQuery(); cn.Close(); cn.Dispose(); Common.ShowMessage(this.Page, 留言成功, , comment.aspx); else JavaScriptHelper.Alert(留言人和留言内容不能为空); return; using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System

13、.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.Data.SqlClient;public partial class System_ManagerThisWay : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) if (!IsPostBack

14、) protected void imbtnSubmit_Click(object sender, ImageClickEventArgs e) ltlMess.Text = ; string user = Common.UrnHtml(txt_user.Text.Trim(); string pwd = FormsAuthentication.HashPasswordForStoringInConfigFile(txt_pwd.Text, SHA1); string sql = select * from Manager where Manager_User= + user + and Ma

15、nager_Pwd= + pwd + ; SqlDataReader dr = DB.getDataReader(sql); if (AuthCode1.IsMatch) if (dr.Read() HttpCookie cookies; cookies = new HttpCookie(xzfgw); cookies.Values.Add(Manager, HttpUtility.UrlEncode(this.txt_user.Text.Trim(); cookies.Expires = DateTime.Now.AddHours(24);/1天有D效24小?时 Response.Cooki

16、es.Set(cookies);/存?储!? dr.Close(); dr.Dispose(); Response.Redirect(MainFrame.aspx); else dr.Close(); dr.Dispose(); /Common.ShowMessage(Page, 用?户名?或密码?错误., ); ltlMess.Text = 登?录?帐号?或密码?错误.; else dr.Close(); dr.Dispose(); /Common.ShowMessage(Page, 验证码?错误., ); ltlMess.Text = 验证码?错误.; using System;using

17、 System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.Data.SqlClient;public partial class System_JiuDianOpe

18、r : System.Web.UI.Page string id = string.Empty; protected void Page_Load(object sender, EventArgs e) id = Request.QueryStringid; if (!IsPostBack) if (!string.IsNullOrEmpty(id) Image1.Visible = true; Get_Data(); else Image1.Visible = false; void Get_Data() try DataTable dt = DB.getDataTable(select *

19、 from JiuDian where JiuDianId= + id); if (dt.Rows.Count = 1) txtJiuDianName.Text = dt.Rows0JiuDianName.ToString(); txtJiaGe.Text = dt.Rows0JiaGe.ToString(); txtTel.Text = dt.Rows0Tel.ToString(); txtAddress.Text = dt.Rows0Address.ToString(); Image1.ImageUrl = /Program + dt.Rows0PicAddress.ToString();

20、 txtContent.Value = dt.Rows0Content.ToString(); catch (Exception ex) Common.ShowMessage(this.Page, 页3面?加载?时出?现?异常。, ); return; / / 按钮事?件t:o提交?信?息 / / / protected void btnSubmit_Click(object sender, EventArgs e) try string picaddress = string.Empty; string sql2 = string.Empty; if (string.IsNullOrEmpt

21、y(id)/添加 picaddress = Common.UploadFile(FileUpload1, this.Page, false); if (picaddress = false) return; sql2 = insert into JiuDian(JiuDianName,PicAddress,Content,JiaGe,Tel,Address) ; sql2 += values( + txtJiuDianName.Text + , + picaddress + , + txtContent.Value + , + txtJiaGe.Text + , + txtTel.Text +

22、 , + txtAddress.Text + ); else/修T改? if (FileUpload1.HasFile) picaddress = Common.UploadFile(FileUpload1, this.Page, false); else picaddress = Image1.ImageUrl.Replace(/Program, ); sql2 = update JiuDian set JiuDianName=0,PicAddress=1,Content=2,JiaGe=3,Tel=4,Address=5 where JiuDianId= + id; sql2 = stri

23、ng.Format(sql2, txtJiuDianName.Text, picaddress, txtContent.Value, txtJiaGe.Text.Trim(), txtTel.Text, txtAddress.Text.Trim(); SqlConnection cn = DB.OpenConnection(); SqlCommand cmd = new SqlCommand(sql2, cn); cmd.ExecuteNonQuery(); cn.Close(); cn.Dispose(); Common.ShowMessage(this.Page, 信?息保存?成功|!?,

24、 , jiudianmanage.aspx); catch (Exception ex) Common.ShowMessage(this.Page, 信?息保存?失败,?请?稍?后重?试?。, ); return; 第四章 总结与展望通过对本系统的完成过程,使我充分的理解了学习软件工程课程过程中,实践的重要性。我们虽然在课堂上认真学习书本知识,可是动手能力很是欠缺,仅仅完成上学期的课程设计,校园博客系统所积累的经验是不够的。动手能力欠缺的后果就是开始无从下手,不知道该从哪个方面着手开始系统的构建,从而导致了大量时间的浪费,以至于到后期难以完成整个系统。旅游管理系统的开发可以从很大程度上清晰,快捷的整理信息,为人们提供很大的方便,从而很大程度上解放了人力,使得人们可以更加方便的进行日常的管理工作。在本系统的基础上,还可以根据实际需求增加更多的辅助功能,逐步完善该系统的管理功能,从而使其更加具有管理系统所具备的良好功能。

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1