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
Nebula
NA
36
25.4k
Search value with datatable select in specific row range
May 6 2019 10:41 PM
Hi, I am trying to get value from specific row range.
This is the code i tried but not sure where should i use the variable rows.
var rows = dt.AsEnumerable().Skip(0).Take(15);
string
value =
"CB123"
;
DataRow[] result = dt.Select(
"BOOKCODE like '%"
+ value +
"%'"
);
//foreach (var col in rows)
//{
if
(result.Count() > 0)
{
MessageBox.Show(
"BookCode Not Found"
);
//Application.Exit();
}
//}
Reply
Answers (
8
)
How to pick the corresponding value of the key in the Dictio
Can Array Lists Store a collection of arrays?