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
prasanna p
1.3k
470
105.1k
How to assign datatable value to a field in the list
Aug 19 2020 10:20 PM
Hi friends, I am assigning values in the list { Name=item.field
("name"), Date=dt.AsEnumerable() .where(y=>y.field
("name")=field
("name")) .Select(x=>x.field
("date")).To list() } But the value is not assigning to the variable and showing system.datarowLinq...text in the output. I am getting cannot convert string[] to string I tried.ToString(),First() and firstorDefault() But I am unable to assign value Mar-2020 to the variable. How to get the correct value in the variable?
Reply
Answers (
6
)
Select net value from sum of 2 columns in linq
Fill description textbox on the basis of value selected in partnumber