Result1.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>
	/// Result1 的摘要说明。
	/// </summary>
	public partial class Result1 : System.Web.UI.Page
	{
		// Fields
		protected byte bType;
		protected string strType;
		protected string WebName;
	
		protected void Page_Load(object sender, System.EventArgs e)
		{
			// 在此处放置用户代码以初始化页面
			this.WebName = ConfigurationSettings.AppSettings["My_WebName"];
			if (!this.Page.IsPostBack)
			{
				byte num1 = Tools.GetPerPageSize();
				if ((base.Request.QueryString["type"] == null) || (base.Request.QueryString["type"] == ""))
				{
					this.Page.RegisterClientScriptBlock("AlertUrlError", "<script>alert('错误,请尝试从正确的链接进入系统!');</script>");
				}
				else
				{
					this.bType = byte.Parse(base.Request.QueryString["type"]);
					if (this.bType == 1)
					{
						this.strType = "出租";
					}
					else
					{
						this.strType = "出售";
					}
					if (this.Session["SQL"] != null)
					{
						int num2;
						string[] textArray1;
						string text1 = this.Session["SQL"].ToString();
						DataTable table1 = SQLDAL.SQLHelper.ExecuteDataTable(text1);
						PagedDataSource source1 = new PagedDataSource();
						source1.DataSource = table1.DefaultView;
						source1.AllowPaging = true;
						source1.PageSize = num1;
						if (base.Request.QueryString["Page"] != null)
						{
							num2 = Convert.ToInt32(base.Request.QueryString["Page"]);
后面还有 99 行代码,购买后查看完整代码

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

AI 解读 AI

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

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