行 22: FormView1.DataSource = dt;
行 23: FormView1.DataBind();
行 24: DataTable uptable = helper.GetDataTable(string.Format("select top 1 id,hoteltitle from hnhotel where hotelsort>='{0}' and id>{1} and hoteltype='{2}' and hoteldisplay='否' order by hotelsort desc,id desc", dt.Rows[0]["hotelsort"].ToString(), dt.Rows[0]["id"].ToString(), dt.Rows[0]["hoteltype"].ToString()));
行 25: DataTable downtable = helper.GetDataTable(string.Format("SELECT TOP 1 id, hoteltitle FROM hnhotel WHERE (hotelsort <= '{0}') AND (id < {1}) and hoteltype='{2}' and hoteldisplay='否' ORDER BY hotelsort DESC, id DESC", dt.Rows[0]["hotelsort"].ToString(), dt.Rows[0]["id"].ToString(), dt.Rows[0]["hoteltype"].ToString()));
行 26: if (uptable == null || uptable.Rows.Count == 0)
|