UserCenter/AddMyNeed.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 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.Configuration;
using HouseSystem.Components;
using HouseSystem.Modal;
namespace HouseSystem.UserCenter
{
/// <summary>
/// AddMyNeed 的摘要说明。
/// </summary>
public partial class AddMyNeed : System.Web.UI.Page
{
protected string WebName;
protected string strType;
protected void Page_Load(object sender, System.EventArgs e)
{
// 在此处放置用户代码以初始化页面
this.WebName = ConfigurationSettings.AppSettings["My_WebName"];
if (!this.Page.IsPostBack)
{
if (Tools.IsUserLogin()==false)
{
Response.Redirect("../login.aspx");
}
this.BindDrop();
byte num1 = 1;
if ((base.Request.QueryString["type"] == null) || (base.Request.QueryString["type"] == ""))
{
this.lblMsg.Text = "错误,请尝试从正确连接进入系统!";
}
else
{
num1 = byte.Parse(base.Request.QueryString["type"]);
if (num1 == 1)
{
this.strType = "求租";
}
else
{
this.strType = "求购";
this.lblPrice1.Text = "售价";
this.lblPrice2.Text = "万元";
}
if (Users.IsUserLogin())
{
this.LinkMan.Text = Tools.GetUserCookie("Name");
this.Email.Text = Tools.GetUserCookie("Email");
this.Tel1.Text = Tools.GetUserCookie("Tel1");
this.Tel2.Text = Tools.GetUserCookie("Tel2");
后面还有 85 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
