NeedDetail.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;
namespace HouseSystem
{
/// <summary>
/// DetailXq 的摘要说明。
/// </summary>
public partial class DetailXq : System.Web.UI.Page
{
protected string strArea;
protected string strFYHX;
protected string strInfoType;
protected string strTS;
protected string WebName;
protected void Page_Load(object sender, System.EventArgs e)
{
// 在此处放置用户代码以初始化页面
DataRow row1;
int num1;
DateTime time1;
this.WebName = ConfigurationSettings.AppSettings["My_WebName"];
string text1 = "";
string text2 = "";
if (!this.Page.IsPostBack)
{
string text3;
text1 = base.Request.QueryString["ID"];
if ((text1 == string.Empty) || (text1 == null))
{
this.lblMsg.Text = "错误,请尝试从正确的链接进入系统!";
return;
}
if (!Tools.IsInt(text1))
{
this.lblMsg.Text = "错误,请尝试从正确的链接进入系统!";
return;
}
text2 = "SELECT Type ,Area_ID ,Ht_ID ,IsAgency ,Addr ,Square ,Price ,FYHX ,ZXQK ,Other ,LinkMan ,Tel1 ,Tel2 ,Email ,Expire ,IpAddr, AddTime FROM Need WHERE ID=" + text1;
row1 = SQLDAL.SQLHelper.ExecuteDataRow(text2);
if (row1 == null)
{
this.lblMsg.Text = "\u9519\u8bef\uff0c\u5f53\u524d\u8bb0\u5f55\u5df2\u7ecf\u88ab\u5220\u9664\uff01";
return;
}
if (row1["Type"].ToString() == "1")
{
text3 = "求租";
this.strInfoType = "求租";
后面还有 86 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
