UI/shoplist2.aspx.cs

(开头部分) 7KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Data.SqlClient;
using System.Data;
public partial class shoplist2 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Session["wholeprice"] != null && Session["wholeprocount"] != null)
            {
                wprice.Text = Session["wholeprice"].ToString();
                wholeprocount.Text = Session["wholeprocount"].ToString();
                wweight.Text = Session["wholeweight"].ToString();
                bindaddress();
                aa();
                //下载于www.51aspx.com
            }
            else
            {

            }
        }
        
    }
    public void bindaddress()
    {
        
        Model.address myaddress = new Model.address();
        myaddress.userid  = Convert.ToInt32(Session["_userid"]);
        BLL.BLLshoplist2 blll = new BLL.BLLshoplist2();
       SqlDataReader dr = blll.readaddress(myaddress);
       if (dr.Read())
       {
           address.Text = dr["_address"].ToString();
           tel.Text = dr["_tel"].ToString();
           mobile.Text = dr["_mobile"].ToString();
           receivename.Text = dr["_name"].ToString();
           mail.Text = dr["_mail"].ToString();
       }
       dr.Close();
       Label1.Text = receivename.Text+" ";
       Label2.Text =  address.Text + " ";
       Label3.Text = mobile.Text + " ";
       Label4.Text =  tel.Text + " ";
       Label5.Text = mail.Text + " ";
        
    }
    public void aa()
    {
        DataTable dt = null;
后面还有 168 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。