毕业设计量身定做,高校研究生全力为您服务。信誉就是最好的保障,口碑创造价值。
QQ34168873,官方网站:www.lunwen101.com
string sql2 = string.Empty;
if (string.IsNullOrEmpty(id))//添加 {
sql2 = \
YuDing(YuDingRen,YuDingDate,Tel,RenShu,Content,DingJin) \;
sql2 += \ + txtYuDingRen.Text + \ +
txtYuDingDate.Text + \ + txtTel.Text + \ + txtRenShu.Text + \ + txtContent.Text + \ + txtDingJin.Text + \; }
else//修改 {
sql2 = \
YuDingRen='{0}',YuDingDate='{1}',Tel='{2}',RenShu='{3}',Content='{4}',DingJin='{5}' where YuDingId=\ + id;
sql2 = string.Format(sql2, txtYuDingRen.Text, txtYuDingDate.Text, txtTel.Text, txtRenShu.Text, txtContent.Text, txtDingJin.Text); }
SqlConnection cn = DB.OpenConnection(); SqlCommand cmd = new SqlCommand(sql2, cn); cmd.ExecuteNonQuery(); cn.Close(); cn.Dispose();
Common.ShowMessage(this.Page, \信息保存成功!\, \, \);
5.3.3 客房管理
截图与部分代码:
26
毕业设计量身定做,高校研究生全力为您服务。信誉就是最好的保障,口碑创造价值。
QQ34168873,官方网站:www.lunwen101.com
string sql2 = string.Empty;
if (string.IsNullOrEmpty(id))//添加 {
sql2 = \
ZhuSu(ZhuSuRen,KaiFangTime,Tel,FangHao,JinE,TuiFangTime) \;
sql2 += \ + txtZhuSuRen.Text + \ + txtKaiFangTime.Text + \ + txtTel.Text + \ + txtFangHao.Text + \ + txtJinE.Text + \ + txtTuiFangTime.Text + \; }
else//修改 {
sql2 = \
ZhuSuRen='{0}',KaiFangTime='{1}',Tel='{2}',FangHao='{3}',JinE='{4}',TuiFangTime='{5}' where ZhuSuId=\ + id;
sql2 = string.Format(sql2, txtZhuSuRen.Text, txtKaiFangTime.Text, txtTel.Text, txtFangHao.Text, txtJinE.Text, txtTuiFangTime.Text); }
SqlConnection cn = DB.OpenConnection(); SqlCommand cmd = new SqlCommand(sql2, cn); cmd.ExecuteNonQuery(); cn.Close(); cn.Dispose();
Common.ShowMessage(this.Page, \信息保存成功!\, \, \);
5.3.4 餐饮管理
截图与部分代码:
27
毕业设计量身定做,高校研究生全力为您服务。信誉就是最好的保障,口碑创造价值。
QQ34168873,官方网站:www.lunwen101.com
string sql2 = string.Empty;
if (string.IsNullOrEmpty(id))//添加 {
sql2 = \; sql2 += \ + txtCanYinName.Text + \ + ddlTypeName.SelectedValue + \ + txtJiaGe.Text + \; }
else//修改 {
sql2 = \
CanYinName='{0}',TypeName='{1}',JiaGe='{2}' where CanYinId=\ + id; sql2 = string.Format(sql2, txtCanYinName.Text, ddlTypeName.SelectedValue, txtJiaGe.Text); }
SqlConnection cn = DB.OpenConnection(); SqlCommand cmd = new SqlCommand(sql2, cn); cmd.ExecuteNonQuery(); cn.Close(); cn.Dispose();
Common.ShowMessage(this.Page, \信息保存成功!\, \, \);
28
毕业设计量身定做,高校研究生全力为您服务。信誉就是最好的保障,口碑创造价值。
QQ34168873,官方网站:www.lunwen101.com
5.3.5 餐饮帐单管理
页面截图、主要程序代码:
string sql2 = string.Empty;
if (string.IsNullOrEmpty(id))//添加 {
sql2 = \
ZhangDan(XiaoFeiDate,JinE,Content,IsFuKuan) \;
sql2 += \ + txtXiaoFeiDate.Text + \ + txtJinE.Text + \ + txtContent.Text + \ + rblIsFuKuan.SelectedValue + \;
}
else//修改 {
sql2 = \
XiaoFeiDate='{0}',JinE='{1}',Content='{2}',IsFuKuan='{3}' where ZhangDanId=\ + id;
sql2 = string.Format(sql2, txtXiaoFeiDate.Text,
29
毕业设计量身定做,高校研究生全力为您服务。信誉就是最好的保障,口碑创造价值。
QQ34168873,官方网站:www.lunwen101.com
txtJinE.Text, txtContent.Text, rblIsFuKuan.SelectedValue); }
SqlConnection cn = DB.OpenConnection(); SqlCommand cmd = new SqlCommand(sql2, cn); cmd.ExecuteNonQuery(); cn.Close(); cn.Dispose();
Common.ShowMessage(this.Page, \信息保存成功!\, \, \);
5.3.6 员工管理
页面截图、主要程序代码:
5.3.7 员工考勤管理
页面截图、主要程序代码:
30