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
yusuf
NA
57
0
Linq Queries with array
Sep 11 2009 6:28 AM
Hi,
i got some int values like 1,4,9 lets say (an array) etc. and have a table Product. With Linq query i gotta check if ProducutID contains any value in that array.
i just did something by trial and error like below, and sure it doesn't work.
int[] nValue = new int[emlakListesi.Count];
nValue[0] = 48;
nValue[1] = 1;
var query = from s in db.Emlaks
from n in nValue
where s.EmlakID.ToString().Contains(n)
select s;
thanks.
Reply
Answers (
1
)
code for caps lock on tooltip dispay
Multipal Selection checkboxes in DataGridView