title: How can select like % between 2 string of Datatable?
body: <p>This is my code , i want check a input code exist in Datatable:</p>
  
  <pre><code>Dim dtColor = New DataTable
  dtColor.Columns.Add("Code")
  Dim dr=dtColor.newrow
  dr("Code")="AB%M"
  dtColor.Rows.Add(dr)
  dr=dtColor.newrow
  dr("Code")="BCT%"
  dtColor.Rows.Add(dr)
  
  Dim strCode="AB100Z"
  Dim Arr=dtColor.Select(String.Format("'{0}' like Code ", strCode))
  </code></pre>
  
  <p>But it occur error:</p>
  
  <pre><code>Error in Like operator: the string pattern 'AB%M' is invalid.
  </code></pre>
  
  <p>How can select like % between 2 string of Datatable?</p>