orderinfo.aspx.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Web.Security;
namespace SCard
{
/// <summary>
/// orderinfo 的摘要说明。
/// </summary>
public partial class orderinfo : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Label lblPFPrice;
protected System.Web.UI.WebControls.Label lblPNPrice;
protected System.Web.UI.WebControls.Label lblIsStock;
protected System.Web.UI.HtmlControls.HtmlImage myImg;
protected System.Web.UI.WebControls.Label lblPName1;
protected void Page_Load(object sender, System.EventArgs e)
{
if (!IsPostBack)
{
if (Session["myOrder"] == null)
{
Response.Redirect("index.aspx");
return;
}
//返回操作
if (Request.QueryString["key"] == null || Request.QueryString["key"].ToString() == String.Empty)
{
Response.Redirect("index.aspx");
return;
}
string strBack = Request.QueryString["key"].ToString();
strBack = Server.UrlDecode(strBack);
lblBack.Text = "<a href='index.aspx'>返回</a>";
Order myOrder = (Order)Session["myOrder"];
string strOID = myOrder.OID;
string strPID = myOrder.PID;
string strPName = myOrder.PName;
string strPNum = myOrder.PNum;
string strPPrice = myOrder.PPrice;
string strTotalPrice = myOrder.TotalPrice;
string strTName = myOrder.TName;
string strEmail = myOrder.Email;
string strPhone = myOrder.Phone;
string strPCPrice = myOrder.PCPrice;//成本
后面还有 133 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
