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
rulec444
NA
81
0
Pass selected items to query in SQL Server
May 25 2004 11:33 AM
I have built a C# application where users can select from multiple lists of criteria to develop a "set of search criteria" to build a query in SQL Server. This involves multiple listboxes (multi items can be selected), combo boxes (only 1 item can be selected) and a even a datagrid. I'm not sure how to capture all the "selected items" and pass them to parameters into SQL Server. I started to do a massive foreach statement, but I don't even know if that's going to work. Does anyone have a suggestion? Thanks.
Reply
Answers (
4
)
Form encapsulated
displaying arrays in the datagrid.