I have a dataset in my project that is connected to oracle. In the dataset i created a tableadapter fillbyEmplLIst. In short the query looks like this:
Where :Value is a parameter. In my code i have this:
where for example empllist.tostring = '9874454','8732874','2386428'
when i run it, i get nothing returned. If i put in just a single value, it works. If in the Dataset Designer I click on the query and do preview data, if i put in one value, it works, if i put in two it doesnt. Then if in the query i replace :Value with the values, it works.
Please help. I can provide screenshots if necessary.
VB.NET:
Select * from table where name in (:Value)
Where :Value is a parameter. In my code i have this:
VB.NET:
oraddt = oradta.GetDataByEmplList(empllist.ToString)
where for example empllist.tostring = '9874454','8732874','2386428'
when i run it, i get nothing returned. If i put in just a single value, it works. If in the Dataset Designer I click on the query and do preview data, if i put in one value, it works, if i put in two it doesnt. Then if in the query i replace :Value with the values, it works.
Please help. I can provide screenshots if necessary.