Results 1 to 10 of 10

Thread: bindingsource.filter syntax

Threaded View

  1. #1

    Thread Starter
    Fanatic Member Crash893's Avatar
    Join Date
    Dec 2005
    Posts
    930

    Resolved bindingsource.filter syntax

    hi all

    I want to run a few different filters on different feilds i have in a bindingsource

    i understand how to do filter one COL to match a string but all the examples i have found only have this


    i want to know how to filter by date or between dates and use OR's or ANDs to add another filter

    right now i have

    gridinfo.Filter = "rootcause = '" + comboBox2.Text + "'"; but what if i wanted to filter rootcause to something and User to something else

    or rootcuase to something and opendate to between 12/12/07 and 12/12/06
    Last edited by Crash893; Jul 25th, 2007 at 04:59 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width