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

VS 2010 Cannot perform 'Like' operation

$
0
0
hello guys:wave:
i was making a filtering option for the datagridview whose source is access accdb but im getting this error for entering any number or letter
(ps: datatype for this Field is 'Number'.)
for textbox1 changed method i am using this:

Me.TrainedtblBindingSource.Filter = "PRNO like '%" & TextBox1.Text & "%'"

the error im getting :
EvaluateException Was Unhandled
Cannot perform 'Like' operation on System.Double and System.String.

is there any way to solve This by some conversion?

Boing!

Viewing all articles
Browse latest Browse all 27329

Trending Articles



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