TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
darma teja
NA
496
336.3k
array in sql-where
Dec 16 2013 5:36 AM
Hi,
I have a string array.
Example:
string[] test
=new string[3] {"abc,def", "ghy,spd", "xyz,uni"};
How can put this array in sql where clause:
My final output query should like this:
Select *
from tableName
where id in ('abc', '
def
', '
ghy
', '
spd
', 'xyz', '
uni
');
Thanks,
Darma
Reply
Answers (
4
)
How to save multiple webgrid rows on click of button
gridview