QuerryString
-
Hello, Is there anything wrong with this piece of code: int inLogUs=System.Convert.ToInt32(Request.QueryString.Get("us")); I got an error message saying that part of the syntax is wrong. I am tryin to get parameters being passed to this page from other pages but it is not working.... thanks in advance... Commickey
-
Hello, Is there anything wrong with this piece of code: int inLogUs=System.Convert.ToInt32(Request.QueryString.Get("us")); I got an error message saying that part of the syntax is wrong. I am tryin to get parameters being passed to this page from other pages but it is not working.... thanks in advance... Commickey
int inLogUs=System.Convert.ToInt32(Request.QueryString.Get("us")); just rewrite it as int inLogUs=System.Convert.ToInt32(Request.QueryString.("us").ToString());