ShopingNet/Pages/Proscenium/MoneyCount.aspx.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
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;
using Bll;
using Model;
public partial class Pages_Proscenium_MoneyCount : System.Web.UI.Page
{
string cName, toName, toAdd, zipCode, toTel, sign;
double price;
CustomersManagement cm;
ProductClassManagment pcm;
OrdersManagement om;
OrdersDetManangement odm;
protected void Page_Load(object sender, EventArgs e)
{
try
{
om = new OrdersManagement();
odm = new OrdersDetManangement();
cm = new CustomersManagement();
pcm = new ProductClassManagment();
price = Convert.ToDouble(Request.QueryString["price"]);
cName = Request.QueryString["cname"].ToString();//客户账号
toName = Request["toname"].ToString();//收货人地址
toAdd = Request["toadd"].ToString();//收货人地址
zipCode = Request["zipcode"].ToString();//邮政编码
toTel = Request["totel"].ToString();//接收人电话
sign = Request["sign"].ToString();
string signx = MoneyCount.GetMD5(price.ToString() + cName + toName + toAdd + zipCode + toTel, "utf-8");
if (signx == sign)
{
this.TextBox1.Text = price.ToString("0.00");
}
else
{
Response.Redirect("~/Error/Error.aspx?info=试图非法修改");
}
DataSet ds = pcm.ProductClassSelect(" ProductParentID = 0");
this.Repeater1.DataSource = ds.Tables[0];
this.Repeater1.DataBind();
}
catch
{
Response.Redirect("~/Error/Error.aspx?info=试图非法修改");
}
}
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
//System.DateTime currentTime = new System.DateTime();
//currentTime = System.DateTime.Now;
后面还有 98 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
