Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Dataset designer problem using sql IN clause

$
0
0

I have a query that works just fine agains the database using an in clause.

where id in (5,6,7)

However, when I try to use the dataset design and build a query using a in clause the designer is apparently looking at the data type of id and only allow me to pass in a valid integer for the parameter for the in clause.

where id in (?)

 

I have tried change the parameter definition and actually specify that the parameter is a string but it still complains.   Anyone know how to fix this?

 

Thanks


Viewing all articles
Browse latest Browse all 2535

Trending Articles



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