prblem in where clause
LINQ
3
Posts
3
Posters
3
Views
1
Watching
-
hi, like SQL query : select * from table where n between 0 and 10 how can i convert above query into LINQ ???
-
hi, like SQL query : select * from table where n between 0 and 10 how can i convert above query into LINQ ???
Assume N is some integer column,
var results = from element in table
where element.N >= 0 && element <= 10
select element;Tech, life, family, faith: Give me a visit. I'm currently blogging about: Upon this disciple I'll build my new religion? The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
hi, like SQL query : select * from table where n between 0 and 10 how can i convert above query into LINQ ???