What exactly is the syntax for the FilterExpression? Sometimes it looks VB-like, other time C#-like. For example:
IsEmpty: (it["Member"] = "")
NotIsEmpty: (it["Member"] <> "")
IsNull: (it["Member"] == Convert.DBNull)
NotIsNull: ((it["Member"] != Convert.DBNull))
The first two linq expressions use = and <>, which is VB-like, but the second two use == and !=, which is C#-like!
Note: These were generated one after the other on the same grid with no other changes. Column type is GridBoundColumn (created in code-behind) with DataType = System.String.
IsEmpty: (it["Member"] = "")
NotIsEmpty: (it["Member"] <> "")
IsNull: (it["Member"] == Convert.DBNull)
NotIsNull: ((it["Member"] != Convert.DBNull))
The first two linq expressions use = and <>, which is VB-like, but the second two use == and !=, which is C#-like!
Note: These were generated one after the other on the same grid with no other changes. Column type is GridBoundColumn (created in code-behind) with DataType = System.String.