资源简介
sqlserver数据库课程设计,阿里巴巴酒店管理系统,包含数据库源码,运行说明,课程设计报告

代码片段和文件信息
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.xml.Linq;
using System.Data.SqlClient;
public partial class 修改入住信息 : System.Web.UI.Page
{
string connStr = “initial catalog=ALBB; data source=localhost; integrated security=sspi“;
protected void Page_Load(object sender EventArgs e)
{
if (!IsPostBack) //网页第一次加载时
{
string name = Request.QueryString[“name“];
string mySql = “select * from 客户入住信息 where name=‘“ + name + “‘“;
SqlConnection myConn = new SqlConnection(connStr);
SqlCommand myCommand = new SqlCommand(mySql myConn);
myConn.Open();
SqlDataReader myReader = myCommand.ExecuteReader();
if (myReader.Read())
{
Name.Text = myReader[“name“].ToString();
}
myReader.Close();
myConn.Close();
}
}
protected void Button3_Click(object sender EventArgs e)
{
string name = Name.Text;
string room_id = Room_id.Text;
string oldroom_id = oroom_id.Text;
string check_in_time = Check_in_time.Text;
string check_out_time = Check_out_time.Text;
SqlConnection myConn = new SqlConnection(connStr);
string mySql = “update 客户入住信息 set room_id=‘“ + room_id + “‘check_in_time=‘“ + check_in_time + “‘ check_out_time=‘“ + check_out_time + “‘ where name=‘“ + name+ “ ‘ “;
SqlCommand myCommand = new SqlCommand(mySql myConn);
myConn.Open();
myCommand.ExecuteNonQuery();
SqlConnection myConn1 = new SqlConnection(connStr);
string mySql1 = “update 客房 set room_condition =‘已定‘where room_id=‘“ + room_id + “‘ “;
SqlCommand myCommand1 = new SqlCommand(mySql1 myConn1);
myConn1.Open();
myCommand1.ExecuteNonQuery();
SqlConnection myConn2 = new SqlConnection(connStr);
string mySql2 = “update 客房 set room_condition =‘空闲‘ where room_id=‘“ + oldroom_id + “‘ “;
SqlCommand myCommand2 = new SqlCommand(mySql2 myConn2);
myConn2.Open();
myCommand2.ExecuteNonQuery();
Response.Redirect(“预订客房.aspx“);
}
protected void Button1_Click(object sender EventArgs e)
{
Calendar1.Visible = true;
}
protected void Calendar1_Selectionchanged(object sender EventArgs e)
{
Check_in_time.Text = Calendar1.SelectedDate.ToShortDateString();
Calendar1.Visible = false;
}
protected void Button2_Click(object sender EventArgs e)
{
Calendar2.Visible = true;
}
protected void Calendar2_Selectionchanged(object sender EventArgs e)
{
Check_out_time.Text =
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-12-29 16:36 阿里巴巴酒店数据库设计\
文件 2119168 2018-07-04 00:52 阿里巴巴酒店数据库设计\ALBB
目录 0 2018-10-20 10:29 阿里巴巴酒店数据库设计\ALBB运行源程序\
文件 64836 2018-07-04 00:40 阿里巴巴酒店数据库设计\ALBB运行源程序\1.jpg
文件 66901 2018-07-04 00:40 阿里巴巴酒店数据库设计\ALBB运行源程序\10.jpg
文件 58450 2018-07-04 00:40 阿里巴巴酒店数据库设计\ALBB运行源程序\2.jpg
文件 243835 2018-07-04 00:40 阿里巴巴酒店数据库设计\ALBB运行源程序\3.jpg
文件 286420 2018-07-04 00:40 阿里巴巴酒店数据库设计\ALBB运行源程序\4.jpg
文件 108681 2018-07-04 00:40 阿里巴巴酒店数据库设计\ALBB运行源程序\5.jpg
文件 155368 2018-07-04 00:40 阿里巴巴酒店数据库设计\ALBB运行源程序\6.jpg
文件 53858 2018-07-04 00:40 阿里巴巴酒店数据库设计\ALBB运行源程序\9.jpg
目录 0 2018-07-04 00:42 阿里巴巴酒店数据库设计\ALBB运行源程序\App_Data\
文件 7970 2018-07-04 00:39 阿里巴巴酒店数据库设计\ALBB运行源程序\修改入住信息.aspx
文件 3171 2018-07-04 00:39 阿里巴巴酒店数据库设计\ALBB运行源程序\修改入住信息.aspx.cs
文件 3722 2018-07-04 00:42 阿里巴巴酒店数据库设计\ALBB运行源程序\客房状态.aspx
文件 2024 2018-07-04 00:43 阿里巴巴酒店数据库设计\ALBB运行源程序\客房状态.aspx.cs
文件 7101 2018-07-04 00:37 阿里巴巴酒店数据库设计\ALBB运行源程序\用户注册.aspx
文件 1378 2018-07-04 00:37 阿里巴巴酒店数据库设计\ALBB运行源程序\用户注册.aspx.cs
文件 1839 2018-07-04 00:37 阿里巴巴酒店数据库设计\ALBB运行源程序\登陆.aspx
文件 1269 2018-07-04 00:37 阿里巴巴酒店数据库设计\ALBB运行源程序\登陆.aspx.cs
文件 9041 2018-07-04 00:37 阿里巴巴酒店数据库设计\ALBB运行源程序\选择客房.aspx
文件 2647 2018-07-04 00:37 阿里巴巴酒店数据库设计\ALBB运行源程序\选择客房.aspx.cs
文件 10664 2018-07-04 00:36 阿里巴巴酒店数据库设计\ALBB运行源程序\选择机票.aspx
文件 2473 2018-07-04 00:37 阿里巴巴酒店数据库设计\ALBB运行源程序\选择机票.aspx.cs
文件 4316 2018-07-04 00:39 阿里巴巴酒店数据库设计\ALBB运行源程序\酒店主页.aspx
文件 664 2018-07-04 00:39 阿里巴巴酒店数据库设计\ALBB运行源程序\酒店主页.aspx.cs
文件 4976 2018-07-04 00:38 阿里巴巴酒店数据库设计\ALBB运行源程序\预订客房.aspx
文件 3414 2018-07-04 00:38 阿里巴巴酒店数据库设计\ALBB运行源程序\预订客房.aspx.cs
文件 6414 2018-07-04 00:36 阿里巴巴酒店数据库设计\ALBB运行源程序\预订机票.aspx
文件 3465 2018-07-04 00:37 阿里巴巴酒店数据库设计\ALBB运行源程序\预订机票.aspx.cs
文件 8829 2018-07-04 00:44 阿里巴巴酒店数据库设计\web.config
............此处省略2个文件信息
相关资源
- pb 酒店管理系统(代码、sql数据库)
- sqlserver学习ppt 全套共18个
- 门禁系统论文及数据库sqlserver2005数据
- 企业人事管理系统【SQLServer数据库+课
- 数据字典导出工具 导出SqlServer数据库
- 安装SQLServer 2008 R2安装详细图文教程
- SQLServer2008R2简体中文版(64位)
- SQL Server 2000 绿色版
- sql server 2012 R2企业版安装光盘ISO
- SqlServer+ServHA Cluster双机热备配置实战
- 易语言SQLserver数据库操作例程源码
- SqlServer日志恢复数据工具
- 数据库系统概念第六版大学模式数据
- sqlserver图片导出工具
- 深入解析SQL SERVER 2008
- SQL Server数据挖掘与商业智能基础及案
- Microsoft SQL Server 2008技术内幕T-SQL语言
- 本科毕业设计开题报告(红旗酒店管
- 课程设计人事管理系统
- SQL.Server.2005.技术内幕四部中文版 PD
- 餐厅管理信息系统课程设计
- Delphi实现excel和SQLserver数据的导入导出
- MSSQL数据库查看器
- 酒店管理系统(sql+yuanma)
- sqldecryptor_3.0.8.rar
- Microsoft SQL Server 2008技术内幕:T-SQL查
- Oracle课程设计管理系统
- 物料管理系统
- SqlServer智能提示插件-SQLPrompt
- oracle数据库课程设计学生成绩管理系
评论
共有 条评论