In your query in where condition only two parameters and you passed three parameters.
and when you pass the table name using the parameter then select type QueryString not a value