/ Published in: C#
Ensures that the querystring key that you require exists before using it.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if (!string.IsNullOrEmpty(Request.QueryString["somekey"])) //do some stuff }