📌  相关文章
📜  如果存在请求 c# 代码示例

📅  最后修改于: 2022-03-11 14:49:07.551000             🧑  作者: Mango

代码示例1
protected void Page_Load(object sender, EventArgs e)
    {
         if (!string.IsNullOrEmpty(Request.Params["para"]))
        {
            Response.Write(Request.Params["para"].ToString());
        }
        else
        {
            Response.Write("Request.Params[\"para\"] is null");
        }
    }