Hi Thanks for the help but I am getting a compiler error:
Server Error in '/' Application.
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.HttpRequestBase.QueryString' cannot be used like a method.
Source Error:
Line 1: @{
Line 2: var s = Request.QueryString("field1"); Line 3: var db=Database.Open("myMusic");
Line 4: var qry="SELECT * FROM music WHERE fieldname=@0";
Source File: c:\Users\Ian\Documents\My Web Sites\myMusic\results.cshtml
Line: 2
Bramstone
None
0 Points
12 Posts
Re: Passing a textbox value through a hyperlink
Apr 08, 2012 02:12 PM|LINK
Hi Thanks for the help but I am getting a compiler error:
Server Error in '/' Application.
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.HttpRequestBase.QueryString' cannot be used like a method.
Source Error:
Line 1: @{ Line 2: var s = Request.QueryString("field1"); Line 3: var db=Database.Open("myMusic"); Line 4: var qry="SELECT * FROM music WHERE fieldname=@0";Source File: c:\Users\Ian\Documents\My Web Sites\myMusic\results.cshtml Line: 2
Not sure how to handle this?