ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Retrieving QueryString Error: Input string was not in a correct format<p>Hey <a class="username" rel="democloud"> democloud</a>,</p> <p>Please provided different parameter name. you have pass same name for parameters so that value come with comma and throw error.</p> <p><span style="text-decoration: underline;"><strong>Code</strong></span></p> <p><strong>CS.aspx</strong></p> <pre class="brush: csharp">protected void Page_Load(object sender, EventArgs e) { string url = &#34;~/abc.aspx?ID=&#34; + 1 + &#34;&amp;eId=&#34; + Server.UrlEncode(2.ToString()); Response.Redirect(url); }</pre> <p><strong>abc.aspx</strong></p> <pre class="brush: csharp">protected void Page_Load(object sender, EventArgs e) { int Id = Convert.ToInt32(Request.QueryString[&#34;eId&#34;]); }</pre> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/194536/Retrieving-QueryString-Error-Input-string-was-not-in-a-correct-format/https://www.aspforums.net:443/Threads/194536/Retrieving-QueryString-Error-Input-string-was-not-in-a-correct-format/Tue, 08 Jan 2019 05:39:18 GMT