Filtering data SOLVED

  • 15 years ago

    How can I filter data in a datatable by two criteria?


    ex. (column1 with value1 and column2 with value2)


    using dataview rowfilter i get one criteria, i need to filter that values with 2'nd criteria


    I'm using dataset.



    I created rowfilter like this, and it works :


    Me.DataView1.RowFilter = "ID_Grupe  =" & Me.ComboBox1.SelectedValue.ToString & " AND Log1 = '1'"


Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Computer Science is no more about computers than astronomy is about telescopes.” - E. W. Dijkstra