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
Rohit Sharma
NA
100
44.6k
How to filter datatable
Nov 29 2012 7:08 AM
Helle sir/madam
i want to filter datatable. for that i am using linq in this way its not working its give an error " The source contains no DataRows."
first i get a value in a datatable dt.
now i am using Linq
var query = from r in dt.AsEnumerable()
where r.Field<string>("AI_No_Of_Conception") == ""
select r;
DataTable dtLink=new DataTable();
dtLink = query.CopyToDataTable();
if any another option how to apply a query on datatable and bind it another Datatable then please suggest my.
Reply
Answers (
6
)
merge rows in datatable
how can make datagridcomboboxcolumn with sql data