Additional SQL Server features and topics not covered by specific categories
Did you also try a statement like this?
objCmdLiveAlbums = New SqlDataAdapter("SELECT . . . AND Artist_Code=" &
Request.QueryString("id") & " ORDER BY Year DESC", objConn)
By the way, to protect your site against attacks, it is recommended to avoid such string concatenations. Consider parameters. Check some examples: https://learn.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqldataadapter.selectcommand.