Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ language="C#" %>
- <%
- string jontycat = "Jonty built this in ASP.NET!";
- string requestURL;
- string secondParam;
- requestURL = Request.QueryString["param"];
- secondParam = Request.QueryString["two"];
- if(requestURL == null && secondParam == null)
- {
- Response.Write("Both params are empty, fill 'em");
- }
- else
- {
- if(requestURL == null || secondParam == null)
- {
- Response.Write("One of your params are null");
- }
- else
- {
- Response.Write(jontycat + requestURL + secondParam);
- }
- }
- %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement