title: Pass string parameter to SqlDataSource in asp.net
body: <p>i have placed a SqlDataSource component on my aspx page but while configuring the SqlDataSource in the "Test Query" Step I am passing the following parameters :</p>
  
  <p><img src="https://i.stack.imgur.com/HO4tR.png" alt="alt text"></p>
  
  <p>But when i click ok it returns following error:</p>
  
  <p><img src="https://i.stack.imgur.com/JRoQA.png" alt="alt text"></p>
  
  <p>This error occurs when i pass the string :</p>
  
  <p>INFO, WARN, ERROR,</p>
  
  <p>I have tried a lot of combinations but nothing works. It works only if i pass one of the three words in single quotes like this :</p>
  
  <p>'ERROR'</p>
  
  <p>Infact the INFO WARN and ERROR are the various levels available in the table. Each record can have only one level  and in the sql query i am using IN("-----") to match the criteria, hope you understand.</p>
  
  <p>Any idea to pass the string with comas between them will be highly appreciated.</p>