title: custom sql parameter using IN clause in gridview - C#
body: <p>When I placed the the following SQL query,</p>
  
  <pre><code>SELECT
     [ItemID], [Name], [RelDate], [Price], [Status] 
  FROM 
     [item_k] 
  WHERE 
     [ItemID] IN (" + itemIDs + ")
  </code></pre>
  
  <p>in gridview custom sql statements, it gets transformed to,</p>
  
  <pre><code>SELECT 
     ItemID, Name, RelDate, Price, Status   
  FROM 
     item_k 
  WHERE 
     (ItemID IN ([ + itemIDs + ]))
  </code></pre>
  
  <p>and when I execute the query the following error is shown</p>
  
  <pre><code>SQL Execution Error
  Invalid column name '+ itemIDs+'
  </code></pre>
  
  <p>what seems to be the problem?</p>
  
  <p>thanks</p>