title: FilterExpression Does Not Work? Why?
body: <p>ObjectDataSource1.FilterExpression = "userid LIKE '{0}' AND action LIKE '{1}'";
      ObjectDataSource1.FilterParameters.Add("userid", ddlUsers.SelectedValue);
      ObjectDataSource1.FilterParameters.Add("action", ddlAction.SelectedValue);</p>
  
  <p>I wirte like this code.</p>
  
  <p>when I run it grid view is empty. BUT, when I write and run it works good.</p>
  
  <pre><code>ObjectDataSource1.FilterExpression = "userid LIKE '{0}' AND action LIKE '{Login}'";
  ObjectDataSource1.FilterParameters.Add("userid", ddlUsers.SelectedValue);
  ObjectDataSource1.FilterParameters.Add("action", ddlAction.SelectedValue);
  </code></pre>
  
  <p>Without parameters (action)
  its shows all login of selected ddlUsers.SelectedValue.</p>
  
  <p>Why does not work like this?</p>
  
  <pre><code>ObjectDataSource1.FilterExpression = "userid LIKE '{0}' AND action LIKE '{1}'";
  ObjectDataSource1.FilterParameters.Add("userid", ddlUsers.SelectedValue);
  ObjectDataSource1.FilterParameters.Add("action", ddlAction.SelectedValue);
  </code></pre>