R
Randy
Hello All,
I'm trying to use a DataView and in the rowfilter, base it on two fields in
the table. I can't find any examples on this. Is there a way to do it. I'm
talking about something like...
DataView dv = new DataView(myTable,
"field1 like '" + buffer + "*' and field2 = true",
"field1",
DataViewRowState.CurrentRows);
The above doesn't seem to work. I'm not sure if I'm supposed to use the
"and" in it...also I'm not sure how to do the boolean check for true in the
rowfilter.
One of my fields is a boolean (checkbox) and I need to pull only records
where it is true, but I can't find any examples on this either. Does anyone
know how to do this?
Thanks
Cheers
I'm trying to use a DataView and in the rowfilter, base it on two fields in
the table. I can't find any examples on this. Is there a way to do it. I'm
talking about something like...
DataView dv = new DataView(myTable,
"field1 like '" + buffer + "*' and field2 = true",
"field1",
DataViewRowState.CurrentRows);
The above doesn't seem to work. I'm not sure if I'm supposed to use the
"and" in it...also I'm not sure how to do the boolean check for true in the
rowfilter.
One of my fields is a boolean (checkbox) and I need to pull only records
where it is true, but I can't find any examples on this either. Does anyone
know how to do this?
Thanks
Cheers