Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
datarow to array from data table
Dinesh Santhalingam
8y
261
1
Reply
I have a data table .I want to filter some item from data table and append the filtered item into an array.
DataTable
dt
=
new
DataTable();
DataView
dv
=
new
DataView(dt);
dv.RowFilter
= (("
Name
=
ProE
"));
var
tableEnumerable
=
dv
.AsEnumerable();// It showing error
var
tableArray
=
tableEnumerable
.ToArray();
Suggest some Ideas.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Array to dictionary
Data table to array and return array