MxWeiXinPF.Web/weixin/hotel/hotel_detail.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using MxWeiXinPF.Common;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MxWeiXinPF.Web.weixin.hotel
{
public partial class hotel_detail : WeiXinPage
{
public int hotelid = 0;
public string openid = "";
BLL.wx_hotels_info hotelbll = new BLL.wx_hotels_info();
Model.wx_hotels_info hotel = new Model.wx_hotels_info();
BLL.wx_hotel_pic picbll = new BLL.wx_hotel_pic();
public string address = "";
public string tel = "";
public string jieshao = "";
public string tupian = "";
public string tabid = "";
public string xplace = "";
public string yplace = "";
public int numdingdan = 0;
protected void Page_Load(object sender, EventArgs e)
{
hotelid = MyCommFun.RequestInt("hotelid");
openid = MyCommFun.QueryString("openid");
if (!Page.IsPostBack)
{
BLL.wx_hotel_dingdan dingdanbll = new BLL.wx_hotel_dingdan();
DataSet dr = dingdanbll.GetList(openid, hotelid);
if (dr.Tables[0].Rows.Count > 0)
{
numdingdan = dr.Tables[0].Rows.Count;
}
else
{
numdingdan = 0;
}
List(hotelid);
}
}
public void List(int hotelid)
{
hotel = hotelbll.GetModel(hotelid);
if (hotel!=null)
{
address = hotel.hotelAddress;
xplace = hotel.xplace.ToString();
yplace = hotel.yplace.ToString();
tel = hotel.hotelPhone;
jieshao = hotel.hotelIntroduct;
DataSet dr = picbll.GetList(hotelid);
后面还有 27 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
