📄 registerprint.aspx.cs
字号:
//文件名:RegisterPrint.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_RegisterPrint : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
this.Label1.Text = Session["MyCompanyName"].ToString()+"住宿登记单";
this.Label2.Text = "编号:" + Response.Cookies["My入住编号"].Value.ToString();
this.Label3.Text = "日期:" + DateTime.Now.ToShortDateString();
this.Label4.Text = "操作员:" + Response.Cookies["My操作人员"].Value.ToString();
this.Label5.Text = "房号:" + Response.Cookies["My入住房号"].Value.ToString();
this.Label6.Text = "折扣价格:" + Response.Cookies["My折扣价格"].Value.ToString();
this.Label7.Text = "证件名称:" + Response.Cookies["My证件名称"].Value.ToString();
this.Label8.Text = "姓名:" + Response.Cookies["My客人姓名"].Value.ToString();
this.Label9.Text = "预收押金:" + Response.Cookies["My预收押金"].Value.ToString();
this.Label10.Text = "证件号码:" + Response.Cookies["My证件号码"].Value.ToString();
this.Label11.Text = "性别:" + Response.Cookies["My客人性别"].Value.ToString();
this.Label12.Text = "入住日期:" + Response.Cookies["My入住日期"].Value.ToString();
this.Label13.Text = "证件地址:" + Response.Cookies["My证件地址"].Value.ToString();
this.Label14.Text = "人数:" + Response.Cookies["My住宿人数"].Value.ToString();
this.Label15.Text = "离开日期:" + Response.Cookies["My离开日期"].Value.ToString();
this.Label16.Text = "联系电话:" + Response.Cookies["My联系电话"].Value.ToString();
this.Label17.Text = "说明:" + Response.Cookies["My登记说明"].Value.ToString();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -