ConsumeManage/ConsumePrint.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
//文件名:ConsumePrint.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;
/// <summary>
/// 51as/px.com
/// </summary>
public partial class ConsumeManage_ConsumePrint : System.Web.UI.Page
{
private ConsumeManage_ConsumeForm MyConsumeForm;
protected void Page_Load(object sender, EventArgs e)
{//显示旅客消费登记信息
MyConsumeForm = (ConsumeManage_ConsumeForm)Context.Handler;
string MyTitle = Session["MyCompanyName"].ToString() + "消费登记单";
string My消费编号 = "消费编号:" + MyConsumeForm.MyTable.Rows[0][2].ToString();
string My入住编号 = " 入住编号:" + MyConsumeForm.MyTable.Rows[0][1].ToString();
string My操作人员 = "操作人员:" + MyConsumeForm.MyTable.Rows[0][8].ToString();
string My打印日期 = " 打印日期:" + DateTime.Now.ToLongDateString();
string My入住房号 = "房号:" + MyConsumeForm.My入住房号;
string My客人姓名 = " 姓名:" + MyConsumeForm.My客人姓名;
this.Label1.Text = MyTitle;
this.Label2.Text = My消费编号;
this.Label3.Text = My操作人员;
TableRow row = new TableRow();
TableCell cell = new TableCell();
cell.HorizontalAlign = HorizontalAlign.Left;
cell.ColumnSpan = 5;
cell.Width = 600;
cell.Text = " " + My入住房号
+ "  " + My客人姓名
+ "  " + My入住编号
+ "  " + My打印日期;
row.Cells.Add(cell);
this.Table1.Rows.Add(row);
TableRow row1 = new TableRow();
TableCell cell1 = new TableCell();
cell1.HorizontalAlign = HorizontalAlign.Center;
cell1.Text = "序号";
cell1.Width = 50;
row1.Cells.Add(cell1);
TableCell cell2 = new TableCell();
cell2.HorizontalAlign = HorizontalAlign.Center;
cell2.Text = "商品名称";
cell2.Width = 150;
row1.Cells.Add(cell2);
TableCell cell3 = new TableCell();
cell3.HorizontalAlign = HorizontalAlign.Center;
cell3.Text = "消费数量";
cell3.Width = 100;
row1.Cells.Add(cell3);
TableCell cell4 = new TableCell();
后面还有 62 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
