📄 bookprint.aspx.cs
字号:
//文件名:BookPrint.aspx.cs
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.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class RoomManage_BookPrint : System.Web.UI.Page
{
private RoomManage_BookForm MyBookForm;
protected void Page_Load(object sender, EventArgs e)
{//显示指定旅客的酒店客房预约信息
MyBookForm = (RoomManage_BookForm)Context.Handler;
this.Label1.Text = Session["MyCompanyName"].ToString() + "旅客预订单";
this.Label2.Text = "打印日期:" + DateTime.Now.ToShortDateString();
if (Session["MyUserName"] != null)
{//设置操作用户
this.Label12.Text = "操作人员:" + Session["MyUserName"].ToString();
}
this.Label3.Text = "预约房号:" + MyBookForm.MyPrint预约房号;
this.Label4.Text = "客人性别:" + MyBookForm.MyPrint客人性别;
this.Label5.Text = "联系电话:" + MyBookForm.MyPrint联系电话;
this.Label6.Text = "客人姓名:" + MyBookForm.MyPrint客人姓名;
this.Label7.Text = "预收押金:" + MyBookForm.MyPrint预收押金;
this.Label8.Text = "住宿人数:" + MyBookForm.MyPrint住宿人数;
this.Label9.Text = "入住日期:" + MyBookForm.MyPrint入住日期;
this.Label10.Text = "离开日期:" + MyBookForm.MyPrint离开日期;
this.Label11.Text = "预约说明:" + MyBookForm.MyPrint预约说明;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -