salegatheringprint.aspx.cs

来自「基于w/s模式的资产管理系统,可以参考参考,忘了什么时候从网络下的,还可以」· CS 代码 · 共 40 行

CS
40
字号
//文件名:SaleGatheringPrint.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 SaleManage_SaleGatheringPrint : System.Web.UI.Page
{
    private SaleManage_SaleGatheringForm MyPrintForm;
    protected void Page_Load(object sender, EventArgs e)
    {//打印商品销售收款信息
        if (Session["MyCompanyName"] != null)
        {
            this.Label1.Text = Session["MyCompanyName"].ToString() + "商品销售收款单";
        }
        this.Label2.Text = "打印日期:" + DateTime.Now.ToShortDateString();
        MyPrintForm = (SaleManage_SaleGatheringForm)Context.Handler;
        this.Label3.Text = "销售收款单号:" + MyPrintForm.MyPrint销售收款单号;
        this.Label4.Text = "客户名称:" + MyPrintForm.MyPrint客户名称;
        this.Label5.Text = "应收金额:" + MyPrintForm.MyPrint应收金额;
        this.Label6.Text = "实收金额:" + MyPrintForm.MyPrint实收金额;
        this.Label7.Text = "经办人员:" + MyPrintForm.MyPrint经办人员;
        this.Label8.Text = "收款方式:" + MyPrintForm.MyPrint收款方式;
        this.Label9.Text = "收款日期:" + MyPrintForm.MyPrint收款日期;
        this.Label10.Text = "补充说明:" + MyPrintForm.MyPrint补充说明;
        this.Label11.Text = "开户银行:" + MyPrintForm.MyPrint开户银行;
        this.Label12.Text = "银行账户:" + MyPrintForm.MyPrint银行账号;
        if (Session["MyUserName"] != null)
        {
            this.Label31.Text = "操作员:" + Session["MyUserName"].ToString();
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?