title: VB.NET Error: "Operand Missing" when using RowFilter Command
body: <p>I am trying to filter a dataview based on two different columns: StartTime(DateTime) and EndTime(DateTime)...</p>
  
  <p>Code:</p>
  
  <pre><code> Dim dvLosses As New DataView(dsLossData.Tables("AllData").DefaultView.ToTable(True, New String(){"ID", "Name", "StartTime", "EndTime", "Loss"}), "", "StartTime desc", DataViewRowState.CurrentRows)
  
   dvLosses.RowFilter = "Where StartTime &gt; '" + hfFrom.Value + "' and EndTime &lt; '" + hfTo.Value + "'"
  </code></pre>
  
  <blockquote>
    <p>Error: Exception details: Syntax error: Missing operand after
    'StartTime' operator.  at System.Data.ExpressionParser.Parse() at
    System.Data.DataExpression..ctor(DataTable table, String expression,
    Type type) at System.Data.DataView.set_RowFilter(String value)</p>
  </blockquote>