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!
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!