2015年12月--C#酒店管理系统
标签:
•
文件类型: .rar
•
文件大小: 12.32MB
•
下载次数: 1
•
本酒店的主要功能:
(1)酒店的入住
(2)酒店的预定
(3)酒店系统的登录
(4)拍照录入照片
(5)锁屏,手工和自动
(6)信息的录入,修改,查找。
(7)客房的清洁,维修。
(8)界面清晰,简单易懂,图片美化,功能较全
(9)日结报表数据导出excel
(10)前台与后台分离,便于管理
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 941608 2015-12-16 20:56 QQ截图20151216205555.jpg
文件 4259840 2015-12-16 21:01 hotelmanage.mdf
文件 1064960 2015-12-16 21:01 hotelmanage_log.ldf
文件 953 2015-12-16 21:30 使用必看帮助文档.txt
文件 198237 2015-12-16 21:31 QQ截图20151216213155.jpg
文件 231991 2015-12-16 21:32 QQ截图20151216213250.jpg
文件 413 2015-12-13 01:32 text extapp.config
文件 187 2015-12-04 12:59 text extinApp.config
文件 44544 2013-07-15 23:04 text extinDebugAForge.Controls.dll
文件 17920 2013-07-15 23:04 text extinDebugAForge.dll
文件 262656 2013-07-15 23:04 text extinDebugAForge.Imaging.dll
文件 61440 2013-07-15 23:04 text extinDebugAForge.Video.DirectShow.dll
文件 20992 2013-07-15 23:04 text extinDebugAForge.Video.dll
..A..H. 182 2015-12-13 22:25 text extinDebughotelLog.txt
文件 24148 2015-12-10 18:38 text extinDebugimagesActive.png
文件 3610 2015-12-06 11:17 text extinDebugimagesadd.jpg
文件 5754 2015-11-02 12:20 text extinDebugimagesaymax.jpg
文件 249992 2015-12-07 12:28 text extinDebugimagesBGImage0.jpg
文件 126124 2015-10-02 19:15 text extinDebugimagesBGImage1.jpg
文件 766 2015-12-06 11:12 text extinDebugimagesc1.ico
文件 766 2015-12-06 11:12 text extinDebugimagesc2.ico
文件 766 2015-12-06 11:12 text extinDebugimagesc3.ico
文件 135484 2015-12-09 08:40 text extinDebugimagesday_BGImage.jpg
文件 4808 2015-12-06 11:18 text extinDebugimagesdelete.jpg
文件 7015 2015-12-07 21:17 text extinDebugimagesfind.png
文件 36277 2015-11-14 06:55 text extinDebugimageskenan.jpg
文件 16958 2015-12-08 00:55 text extinDebugimagesLock.ico
文件 4746 2015-12-10 20:49 text extinDebugimagesLock.png
文件 98335 2015-12-08 19:27 text extinDebugimageslocking_BGImage.jpg
文件 110675 2015-12-09 09:09 text extinDebugimageslock_BGImage.jpeg
............此处省略266个文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace hotelInitalData
{
public partial class admin : Form
{
public admin()
{
InitializeComponent();
CellsAlignment();//单元格居中对齐
}
private void CellsAlignment()
{
this.dataGridView1.RowsDefaultCellstyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
this.dataGridView2.RowsDefaultCellstyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
this.dataGridView3.RowsDefaultCellstyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
this.dataGridView4.RowsDefaultCellstyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
this.dataGridView1.ColumnHeadersDefaultCellstyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
this.dataGridView2.ColumnHeadersDefaultCellstyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
this.dataGridView3.ColumnHeadersDefaultCellstyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
this.dataGridView4.ColumnHeadersDefaultCellstyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
}
/**
* string msg = String.Format(“第{0}行,第{1}列“dataGridView1.CurrentCell.RowIndexdataGridView1.CurrentCell.ColumnIndex);
*
*/
private void admin_Load(object sender EventArgs e)
{
this.roomInitalTableAdapter.Fill(this.hotelmanageDataSet.RoomInital);
this.guestInfoTableAdapter.Fill(this.hotelmanageDataSet.GuestInfo);
this.roomInfoTableAdapter.Fill(this.hotelmanageDataSet.RoomInfo);
this.loginTableAdapter.Fill(this.hotelmanageDataSet.login);
dataGridView1.ColumnHeadersDefaultCellstyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
}
private void button1_Click(object sender EventArgs e)
{
}
private void dataGridView1_CellEndEdit(object sender DataGridViewCellEventArgs e)
{
int result = 0;
if (String.IsNullOrEmpty(this.dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString()) ||
String.IsNullOrWhiteSpace(this.dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString()))
{
return;
}
switch (e.ColumnIndex)
{
case 1:
result = SqlHelper.ExecuteNonQuery(“update login set UserName = @name where Id = @Id“
new SqlParameter(“@name“ this.dataGridView1.Rows[e.RowIndex].Cells[1].Value.ToString()
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 941608 2015-12-16 20:56 QQ截图20151216205555.jpg
文件 4259840 2015-12-16 21:01 hotelmanage.mdf
文件 1064960 2015-12-16 21:01 hotelmanage_log.ldf
文件 953 2015-12-16 21:30 使用必看帮助文档.txt
文件 198237 2015-12-16 21:31 QQ截图20151216213155.jpg
文件 231991 2015-12-16 21:32 QQ截图20151216213250.jpg
文件 413 2015-12-13 01:32 text extapp.config
文件 187 2015-12-04 12:59 text extinApp.config
文件 44544 2013-07-15 23:04 text extinDebugAForge.Controls.dll
文件 17920 2013-07-15 23:04 text extinDebugAForge.dll
文件 262656 2013-07-15 23:04 text extinDebugAForge.Imaging.dll
文件 61440 2013-07-15 23:04 text extinDebugAForge.Video.DirectShow.dll
文件 20992 2013-07-15 23:04 text extinDebugAForge.Video.dll
..A..H. 182 2015-12-13 22:25 text extinDebughotelLog.txt
文件 24148 2015-12-10 18:38 text extinDebugimagesActive.png
文件 3610 2015-12-06 11:17 text extinDebugimagesadd.jpg
文件 5754 2015-11-02 12:20 text extinDebugimagesaymax.jpg
文件 249992 2015-12-07 12:28 text extinDebugimagesBGImage0.jpg
文件 126124 2015-10-02 19:15 text extinDebugimagesBGImage1.jpg
文件 766 2015-12-06 11:12 text extinDebugimagesc1.ico
文件 766 2015-12-06 11:12 text extinDebugimagesc2.ico
文件 766 2015-12-06 11:12 text extinDebugimagesc3.ico
文件 135484 2015-12-09 08:40 text extinDebugimagesday_BGImage.jpg
文件 4808 2015-12-06 11:18 text extinDebugimagesdelete.jpg
文件 7015 2015-12-07 21:17 text extinDebugimagesfind.png
文件 36277 2015-11-14 06:55 text extinDebugimageskenan.jpg
文件 16958 2015-12-08 00:55 text extinDebugimagesLock.ico
文件 4746 2015-12-10 20:49 text extinDebugimagesLock.png
文件 98335 2015-12-08 19:27 text extinDebugimageslocking_BGImage.jpg
文件 110675 2015-12-09 09:09 text extinDebugimageslock_BGImage.jpeg
............此处省略266个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)