Newbie at ASP.Net . . .
Trying to query a DB with a querystring in a URL (ending) like ... ArtworkByArtist.aspx?artist_ID_PK=20
When the WHERE clause in the query on my webform is hardcoded to a value such as artist_ID_PK=20 everything works fine. If the query WHERE clause is artist_ID_PK=@artist_ID_PK the webform returns no data even though the URL is formed properly.
Can someone point me in the right direction? [Not that it should matter, but the DB backend is MySQL.]
I recognise such querystrings may not be the best method, but I'd like to learn the simplest way before getting into something more complex.
Thanks!
...
Go to the complete details ...