depositprint.aspx.cs

来自「酒店源码」· CS 代码 · 共 36 行

CS
36
字号
//文件名: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 + =
减小字号Ctrl + -
显示快捷键?