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
4
Answers
cannot convert type 'datarow ' to 'datatable.' c#
Mani Kandan
7y
242
1
Reply
I have a dataset, that contain list of rows. I want last row from the dataset. Then asign this dataset to datatable.
DataTable dt = (DataTable)ds.Tables[0].Rows[ds.Tables[0].Rows.Count - 1];
How to solve this error?
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
What are the differences and similarities of Get and Head ?
zoom in and zoom out in iframe