📄 depositprint.aspx.cs
字号:
//文件名:DepositPrint.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_DepositPrint : System.Web.UI.Page
{
private RoomManage_DepositForm MyDepositForm;
protected void Page_Load(object sender, EventArgs e)
{//显示指定旅客的押金费用信息
MyDepositForm = (RoomManage_DepositForm)Context.Handler;
this.Label1.Text = Session["MyCompanyName"].ToString() + "押金费用表";
this.Label2.Text = "入住编号:" + MyDepositForm.MyPrint入住编号;
this.Label3.Text= "打印日期:" + DateTime.Now.ToShortDateString();
if (Session["MyUserName"] != null)
{//设置操作用户
this.Label4.Text="操作人员:"+Session["MyUserName"].ToString();
}
this.Label5.Text = "入住房号:" + MyDepositForm.MyPrint入住房号;
this.Label6.Text = "客人姓名:" + MyDepositForm.MyPrint客人姓名;
this.Label7.Text = "累交押金:" + MyDepositForm.MyPrint累交押金 + "元";
this.Label8.Text = MyDepositForm.MyPrint店内消费;
this.Label9.Text = MyDepositForm.MyPrint住宿费;
this.Label10.Text = MyDepositForm.MyPrint电话费;
this.Label11.Text = MyDepositForm.MyPrint用餐费;
this.Label12.Text = "费用总额:"+MyDepositForm.MyPrint费用总额+"元";
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -