We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

RecordFilterDescriptor, filter on boolean

Thread ID:





71775 Feb 12,2008 10:13 PM UTC Feb 13,2008 08:47 AM UTC WinForms 1
Tags: GridControl
Mark Atkinson
Asked On February 12, 2008 10:13 PM UTC

What's the best way to create a RecordFilterDescriptor that filters on boolean values? I haven't seen any examples and the couple of things I tried didn't work.


Jeba S [Syncfusion]
Replied On February 13, 2008 08:47 AM UTC

Hi Mark,

Thank you for posting query to us.

You can add a RecordFilterDescriptor to the TableDescriptor's RecordFilters collection and filter the boolean values using the LIKE operator. Below is the code snippets:

RecordFilterDescriptor rfd = new RecordFilterDescriptor();
rfd.Expression="[BoolColumn] LIKE 'False'";

Please refer the sample which implements the above said feature:

Kindly let us know if you need any further assistance.

Best Regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon