title: SQLDatasource parameters
body: <p>How can i set sql parameters for an sqlDatasource in the code behind?
  I am trying like this:</p>
  
  <pre><code>int id=1;
  SqlDataSource1.SelectCommand = "SELECT * FROM categ WHERE id=@id";
  SqlDataSourceArticole.SelectParameters.Add("@id", id);
  // and also like this:
  SqlDataSourceArticole.SelectParameters.Add("id", id);
  </code></pre>
  
  <p>but it doesn't work? What am i doing wrong?</p>