Published in: VB.NET
Bitwise operators don't work in RowFilter strings, so I found this snippet which does.
'set bit to filter on Dim bit As String = Convert.ToString(cmbFilter.SelectedValue) 'bitwise row filter bs.Filter = "Convert((_state - _state % " & bit & ")/" & bit & ", 'System.Int32') % 2 = 1"
You need to login to post a comment.
