Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
unable to cast object of type 'system.int32' to type 'system
Sundar
Jun 19 2017 6:08 AM
200
Reply
unable to cast object of type 'system.int32' to type 'system.string'
I got the above error, when i tried the below line
int nOut = datatable.Rows.IndexOf(datatable.AsEnumerable().Where(c => c.Field
(4) == lblFirst.Value && c.Field
(6) == "0").FirstOrDefault());
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Application workbook open event is not triggered VSTO + C#
Connection String Problem