.net - Formatting a String for a SQL IN Clause -


I need to format a string and pass an SQL as the parameter of these sections like:

Select from the table where in x (@ param1)

The literal string passed as an atom looks like this:

"item1, item 2, item 3"

does not seem to work for this any suggestions? Thanks!

I believe what you want to do can be found here:


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -