SELECT * FROM items Where cat_ID = ? Is an Oracle format query not TSQL. How you go about fixing this depends on what database your using. If it's SQL Server, then you'll need to amend the query to use the proper format (named parameters). If it's oracel then you'll need to swap out the datasource for the Oracle equivelent
Freestyle Interactive Ltd Martin on .Net Follow Me on Twitter