验证Request传过来的值是否为空
string imgUrl = ""; if (!string.IsNullOrEmpty(Request["picUrl"])) imgUrl = Request.QueryString["picUrl"].ToString(); if (imgUrl == "") { imgUrl="aaa"; }
本文名称:验证Request传过来的值是否为空
URL链接:http://azwzsj.com/article/gdeheh.html
string imgUrl = ""; if (!string.IsNullOrEmpty(Request["picUrl"])) imgUrl = Request.QueryString["picUrl"].ToString(); if (imgUrl == "") { imgUrl="aaa"; }