Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27156

VS 2010 .RowFilter search multiple words

$
0
0
Hi,

Im using datagridview with

Code:

.RowFilter = "loc like '%" + txtSearchT.Text + "%'"
Everything works fine when i filter one word but when i write in the txtSearchT box something like "find this" (multiple words) i get errors.

Is there a solution to that that would be straight forward or a solution would be to split the string in arrays and then to search them with OR / AND operators in the row filter string?


Cheers!

Viewing all articles
Browse latest Browse all 27156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>