Violeta Popa

Violeta Popa

  • NA
  • 137
  • 164.3k

filter datagridview

Apr 25 2013 6:14 PM
Hi there :)

I need to filter a datagridview. But i don't know how exactly to write the code, here's what i've written.

 politaGridView.DataSource = dataSet.Tables["obtine"].DefaultView;
dataSet.Tables["obtine"].DefaultView.RowFilter = date+"<='" + date1 + "'";//it's not working, it says sth about missing operand

Answers (2)