62,041
社区成员
发帖
与我相关
我的任务
分享
if(Session["UserID"] != null)
{
if(Session["UserID"].ToString()!="")
{
string P_str_CartID = Session["UserID"].ToString();
string P_str_GoodsID = Request["GoodsID"];
DataSet ds = DB.reDs("select count(*) from tb_Cart where CartID=" + P_str_CartID + "and GoodsID=" + P_str_GoodsID);
}
}
else
{
Response.Redirect("x.aspx");//链接到错误页面
}