CookieHelper.WriteCookie("DEPID", "theway", depid); //先写入cookie//再读取cookie UserDataBind(int.Parse(CookieHelper.GetCookie("PEOID", "theway").ToString()), int.Parse(CookieHelper.GetCookie("DEPID", "theway").ToString()));