Guest User

Untitled

a guest
Jan 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.49 KB | None | 0 0
  1. // Yes!
  2.             if (Request.QueryString["ID"] != null)
  3.             {
  4.                 int EventID = 0;
  5.                 int.TryParse(Request.QueryString["ID"], out EventID);
  6.                 if (EventID > 0)
  7.                 {
  8.  
  9.                 }
  10.             }
  11. // No..
  12.             int eventid = 0;
  13.             string eventidstring = Request.QueryString["ID"];
  14.             eventid = int.Parse(eventidstring);
  15.             if (eventid != 0)
  16.             {
  17.  
  18.             }
Add Comment
Please, Sign In to add comment