What is the best way to visualize a DataTable while debugging?
10,373
Solution 1
Use the DataTable visualizer; hold your mouse over the variable and click on the magnifying glass this will open the DataTable visualizer.
Btw, there are more VS2010 visualizers for other actions. I really like the WPF Tree visualizer: hold your mouse on a WPF control and click the magnifying glass ;-)
Solution 2
Open the DataSet visualizer. Either hover over the variable in the source code or look at one of the variables in a debugger window (Locals, Auto, etc.) Then click the magnifying glass.
MSDN article on How to Use a Visualizer.
Comments
-
Oren A almost 2 years
I have some very big
DataTable
s, which I need to see their content while debugging.
Is there a better way to do that other than opening theColumn
s' androw
s' lists Properties in the Watch panel?Thanks.
-
Oren A over 13 yearsThanks for the quick answer. How do you get there? (-:
-
Contristo almost 11 yearsHelping people 3 years in the future. Thanks!
-
Ali Saeed almost 9 yearsHelping people 5 years in the future. This is super awesome! Thanks Microsoft