资源简介
酒店管理系统 ( VS2008 + C# + SQLServer)。看大小就知道是好东西。

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Configuration;
using System.Data.SqlClient;
using BinModel;
namespace BinDal
{
public class CustomBookServices
{
private Dals dal;
private SqlConnection connection;
private SqlCommand command;
public CustomBookServices()
{ }
///
/// 添加顾客基本信息
///
///
/// 受影响的记录
public int addCustomBooksServices(CustomBooks customBook)
{
int i = 0;
this.dal = new Dals();
using (this.connection = dal.connection)
{
this.connection.Open();
DateTime bc_time = customBook.Cb_time;
string bc_name = customBook.Cb_cusName;
int bc_room = 1;
DateTime bc_entertime = customBook.Cb_enterTime;
string bc_CusType = customBook.Cb_type;
string bc_connection = customBook.Gb_connection;
int bc_Group = customBook.Cb_Group;
string bc_note = customBook.Cb_note;
string sql = string.Format(“insert into CustomBook values(‘{0}‘‘{1}‘‘{2}‘‘{3}‘‘{4}‘‘{5}‘‘{6}‘‘{7}‘)“ bc_name bc_room bc_Group bc_connection bc_time bc_entertime bc_CusType bc_note);
this.command = new SqlCommand();
this.command.Connection = this.connection;
this.command.CommandText = sql;
i = this.command.ExecuteNonQuery();
}
return i;
}
///
/// 获得最新客户预定信息的主键 Id号
///
///
public int getLastCustomBooks()
{
int i = 0;
this.dal = new Dals();
using (this.connection = dal.connection)
{
this.command = new SqlCommand();
this.command.Connection = this.connection;
this.connection.Open();
this.command.CommandText = “select max(cb_id) from CustomBook “;
i = (int)this.command.ExecuteScalar();
}
return i;
}
///
/// 获得所有的预定 客户的信息
///
///
public IList getAllCustomBooks()
{
IList cusBookss = new List();
this.dal = new Dals();
using (this.connection = dal.connection)
{
this.command = new SqlCommand();
this.command.Connection = this.connection;
this.command.CommandText = “getAllCustomerBooks“;
this.command.CommandType = CommandType.StoredProcedure;
this.connection.Open
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 176 2001-08-19 17:55 酒店管理系统\酒店管理系统\BinBal\obj\BinBal.csproj.FileList.txt
文件 222 2008-07-03 13:41 酒店管理系统\酒店管理系统\BinBll\obj\BinBll.csproj.FileList.txt
文件 1005 2008-11-24 22:37 酒店管理系统\酒店管理系统\BinBll\obj\Debug\BinBll.csproj.FileListAbsolute.txt
文件 178 2008-07-03 13:41 酒店管理系统\酒店管理系统\BinBal\obj\BinDal.csproj.FileList.txt
文件 787 2008-11-24 22:37 酒店管理系统\酒店管理系统\BinBal\obj\Debug\BinDal.csproj.FileListAbsolute.txt
文件 138 2008-07-03 13:41 酒店管理系统\酒店管理系统\BinModel\obj\BinModel.csproj.FileList.txt
文件 583 2008-11-24 22:37 酒店管理系统\酒店管理系统\BinModel\obj\Debug\BinModel.csproj.FileListAbsolute.txt
文件 138 2008-07-03 13:41 酒店管理系统\酒店管理系统\BinTools\obj\BinTools.csproj.FileList.txt
文件 583 2008-11-24 22:37 酒店管理系统\酒店管理系统\BinTools\obj\Debug\BinTools.csproj.FileListAbsolute.txt
文件 1468 2009-05-04 21:37 酒店管理系统\CodePub.Com说明.txt
文件 1689 2009-05-16 22:13 酒店管理系统\酒店管理系统\CodePub.Com说明.txt
文件 3355 2008-07-03 13:43 酒店管理系统\酒店管理系统\FiveStarGinShopManager\obj\FiveStarGinShopManager.csproj.FileList.txt
文件 9638 2009-01-19 23:22 酒店管理系统\酒店管理系统\FiveStarGinShopManager\obj\Debug\FiveStarGinShopManager.csproj.FileListAbsolute.txt
文件 269 2008-05-28 13:24 酒店管理系统\酒店管理系统\GinShopModels\obj\GinShopModels.csproj.FileList.txt
文件 1689 2009-05-16 22:13 酒店管理系统\酒店管理系统\readme.txt
文件 851968 2008-11-24 22:37 酒店管理系统\酒店管理系统\FiveStarGinShopManager\bin\Debug\FiveStarGinShopManager.exe
文件 851968 2008-11-24 22:37 酒店管理系统\酒店管理系统\FiveStarGinShopManager\obj\Debug\FiveStarGinShopManager.exe
文件 14328 2009-01-19 23:22 酒店管理系统\酒店管理系统\FiveStarGinShopManager\bin\Debug\FiveStarGinShopManager.vshost.exe
文件 16384 2008-05-28 13:07 酒店管理系统\酒店管理系统\GinShopModels\bin\Debug\GinShopModels.exe
文件 16384 2008-05-28 13:07 酒店管理系统\酒店管理系统\GinShopModels\obj\Debug\GinShopModels.exe
文件 5632 2005-12-08 14:51 酒店管理系统\酒店管理系统\GinShopModels\bin\Debug\GinShopModels.vshost.exe
文件 337408 2008-06-16 09:28 酒店管理系统\酒店管理系统\GinShopSetUp\GinShopSetUp\Debug\setup.exe
文件 20480 2008-06-12 14:47 酒店管理系统\酒店管理系统\BinBal\obj\Debug\Refactor\BinBal.dll
文件 40960 2008-11-24 22:37 酒店管理系统\酒店管理系统\BinBal\bin\Debug\BinBal.dll
文件 40960 2008-11-24 22:37 酒店管理系统\酒店管理系统\BinBal\obj\Debug\BinBal.dll
文件 40960 2008-11-24 22:37 酒店管理系统\酒店管理系统\BinBll\bin\Debug\BinBal.dll
文件 40960 2008-11-24 22:37 酒店管理系统\酒店管理系统\FiveStarGinShopManager\bin\Debug\BinBal.dll
文件 12800 2008-11-24 22:37 酒店管理系统\酒店管理系统\BinBll\bin\Debug\BinBll.dll
文件 12800 2008-11-24 22:37 酒店管理系统\酒店管理系统\BinBll\obj\Debug\BinBll.dll
文件 12800 2008-11-24 22:37 酒店管理系统\酒店管理系统\FiveStarGinShopManager\bin\Debug\BinBll.dll
............此处省略440个文件信息
相关资源
- ASP.NET实验室预约管理系统
- 020ASP.NET车辆综合管理系统.zip
- 基于c#的实验室设备管理系统621530
- c# 高校档案信息管理系统
- 用C#做的鲜花管理系统
- ASP.NET C# 工资管理系统
- 班级管理系统(C#实现)
- 一款漂亮的灯光闪烁的圣诞树(C# V
- ASP.NET客户管理系统(毕业设计 C#
- 医院门诊管理系统 aspc#access数据库
- 医院业务管理系统(C#源代码)
- 学生信息管理系统(C# 控制台下)
- 酒店管理系统(c#.net源码)
- 图书管理系统-----------C# 版
- 海益ERP数据管理系统2.0源码
- C# 简单学生管理系统(附数据库)
- C#图书管理系统(源码+数据库)
- 宿舍管理系统(源码+数据库脚本)
- 开源版C#商场超市收银商品管理财务管
- 企业OA管理系统
- 门禁管理系统源码(设备设置、机构
- VS2019图书管理系统-C#
- 学生宿舍管理系统(毕业设计 C#实现
- C# 网吧管理系统源码(附数据库脚本
- 网吧管理系统(包附数据库)
- C# 斑马手持终端WINCE开发 MC32N0 vs2008
- 班级考勤管理系统(源码+数据库)
- 书店销售管理系统(源码+数据库)
- 基于easy-mvc的后台管理系统源码 v1.1
- 门诊收费管理系统的设计与实现(数
评论
共有 条评论