Also, in your qry string, you need to use a real fild/column name in the "WHERE" clause. I used "fieldname" since I had no idea what your database design was.. So, let's assume you were selecting all rows in the "music" table where the
column whose name "title" has values equal to the parameter's value:
rrrsr7205
Participant
1304 Points
313 Posts
Re: Passing a textbox value through a hyperlink
Apr 08, 2012 02:24 PM|LINK
Sorry - typo. The "()" should be "[]"
Try: Request.QueryString["field1"];
Also, in your qry string, you need to use a real fild/column name in the "WHERE" clause. I used "fieldname" since I had no idea what your database design was.. So, let's assume you were selecting all rows in the "music" table where the column whose name "title" has values equal to the parameter's value:
"SELECT * FROM music WHERE title - @0"