Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS1955: Non-invocable member 'System.Web.HttpRequest.QueryString' cannot be used like a method. Source Error: Line 19: Line 20: Line 21: string imageUrl = Request.QueryString("img"); Line 22: Line 23: int imageHeight = Request.QueryString("h");
Seems like you are using C# and the way used QueryString is like VB the correct way is
string imageUrl = Request.QueryString["img"];
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.