I am using .net framework 2.0. In immediate window running debug mode with VS 2008, how I retrieve and display all column names and the content of all rows of a dataview object? Thanks.

Recommended Answers

All 3 Replies

Not straight off the bat, if you put a watch on the dataview you should then be able to see a count of the rows and columns...

Then add a quick watch for each row / column combo...

i.e. dataview.Rows(0).Column(0).value

OR
If you know the number of columns in the view then loop through the rows with a watch on each column in the datarow.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.