验证Request传过来的值是否为空
string imgUrl = "";
if (!string.IsNullOrEmpty(Request["picUrl"]))
imgUrl = Request.QueryString["picUrl"].ToString();
if (imgUrl == "")
{
imgUrl="aaa";
}
文章标题:验证Request传过来的值是否为空
本文路径:http://dtcuyxr.com/article/gdeheh.html


咨询
建站咨询
