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
368.8k
data table to dictionary
Dec 23 2016 5:25 AM
I have a data table .i want to load my entire data table to my dictionary without reading each row every time.suggest me some ideas?
data table dt=new data table();
//I have some data in my table
Dictionary
<
string
, object
>
lst
=
new
Dictionary
<
string
, object
>
();
try
{
lst.Add(row["Time"].ToString(), row["Inuse"] as string);
}
catch (Exception ex)
{
throw ex;
}
return lst;
I tried this.But i want to load data table without using foreach loop .
Reply
Answers (
3
)
How can I Decryption This HashSha256 algorithm?
list object if contain one value then return another one c#