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

Filter does not evaluate to a boolean term

Thread ID:





56903 Feb 22,2007 04:54 AM UTC Feb 22,2007 11:27 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On February 22, 2007 04:54 AM UTC

Hi there,
I'm trying to filter rows using a data view:

string pid = portfolioID;

DataView dv = new DataView(this.dtDataHubTrancheTable, pid, "portfolioId", DataViewRowState.CurrentRows);

I get an exception that pid does not evaluate to a boolean term. I checked and the values match?

Can you help?


Administrator [Syncfusion]
Replied On February 22, 2007 11:27 AM UTC

Exactly what is portfolioID? The RowFilter passed into the constructor must be a valid expression. So, it must look something like

"[colName] < 1000"


"[portfolioID] = 18782"

or some other string that is a valid expression that evaluates to true or false. See the MShelp on DataView.RowFilter for more information.


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