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
Dinesh Santhalingam
NA
737
368k
Array to dictionary
Dec 27 2016 2:13 AM
I have array contains {[Name][Age],[Marks]}.I want to add the marks into dictionary .How can I?
var
tableEnumerable
=
dt
.AsEnumerable();
var
tableArray
=
tableEnumerable
.ToArray();
foreach (var data in tableArray)
{
lst.Add(data["Name"].ToString(),data["Age"] as string);
}
Reply
Answers (
3
)
How to Deployment ASP.NET (Web App) on IIS Server with SQL ?
datarow to array from data table