title: Comparison operators in string format convert to actual operator
body: <p>I have the following table in vb.net this is not my data but I need to use it so it is what it is</p>
  
  <pre><code>column   condition    value    icon
  c1       equals       1        127
  c1       greater than 10       128
  c1       equals       5        129
  </code></pre>
  
  <p>what I need to do is take each row evaluate the data so I can set the icon depending on value of <code>myvalue</code> like the following  the ????? would be the comparison operator converted from <code>row("condition")</code> .</p>
  
  <pre><code>dim myvalue as integer = 5
  dim newiconnum as integer = 1
  for each row in dt.rows
       if myvalue ????? row("value") then
          newiconnum = row("icon")
       end if
  next
  </code></pre>
  
  <p>what I don't understand is how to make the ?????  into the actually comparison operator as in "equals" is = and "greater than" is > from the condition table </p>