行 184:
行 185: //上一页、下一页,下方轮播
行 186: int max = Convert.ToInt32(dbhz.GetDataSet("select top 1 pd_Id from Product where pd_CompanyId=" + comid + " and pd_show=1 and pd_Check=1 order by pd_Id desc", CommandType.Text).Rows[0][0].ToString());
行 187: int min = Convert.ToInt32(dbhz.GetDataSet("select top 1 pd_Id from Product where pd_CompanyId=" + comid + " and pd_show=1 and pd_Check=1 order by pd_Id asc", CommandType.Text).Rows[0][0].ToString());
行 188: DataTable qtup = dbhz.GetDataTable("top 1 pd_Id", "Product", "pd_CompanyId=" + comid + " and pd_Id<" + Convert.ToInt32(proid) + " and pd_show=1 and pd_Check=1", "pd_Id desc");
|