简体   繁体   English

在调试时可视化DataTable的最佳方法是什么?

[英]What is the best way to visualize a DataTable while debugging?

I have some very big DataTable s, which I need to see their content while debugging. 我有一些很大的DataTable ,在调试时需要查看它们的内容。
Is there a better way to do that other than opening the Column s' and row s' lists Properties in the Watch panel? 除了在“监视”面板中打开“ Column ”和“ row ”列表属性之外,还有更好的方法吗?

Thanks. 谢谢。

Use the DataTable visualizer; 使用DataTable可视化工具; hold your mouse over the variable and click on the magnifying glass this will open the DataTable visualizer. 将鼠标悬停在变量上,然后单击放大镜,这将打开DataTable可视化器。

Btw, there are more VS2010 visualizers for other actions. 顺便说一句,还有更多的VS2010可视化工具可用于其他操作。 I really like the WPF Tree visualizer: hold your mouse on a WPF control and click the magnifying glass ;-) 我真的很喜欢WPF树可视化工具:将鼠标放在WPF控件上,然后单击放大镜;-)

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. 将鼠标悬停在源代码中的变量上,或在调试器窗口中查看变量之一(Locals,Auto等),然后单击放大镜。

MSDN article on How to Use a Visualizer . 有关如何使用Visualizer的 MSDN文章。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 筛选数据表的最佳方法是什么? - What is best way of filter datatable? 使列表对象与数据表绑定的最佳方法是什么 - What is the best way to make a listobject binded with datatable 从数据表中删除重复项的最佳方法是什么? - What is the best way to remove duplicates from a datatable? 从数据表中获取记录的最佳方法是什么? - What is the best way to get records from Datatable? 在 MVC 4 脚本部分初始化 jQuery DataTable 时隐藏表数据的最佳方法是什么 - What's the best way to Hide the Table data while jQuery DataTable is being initialized in MVC 4 Scripts Section 使用某些类型的图可视化我的小型C程序的最佳方法是什么? - What is the best way to visualize my small c programs using some type of diagrams? 从多个不均匀列表创建数据表的最佳方法是什么 <T> ? - What is the best way to create datatable from multiple uneven list<T>? 在循环中迭代大量数据并准备数据表的最佳方法是什么 - What is the best way to iterate large volume of data in loop and prepare datatable 在ASP和C#中实现JQuery DataTable的最佳方法是什么 - What is the best way achieving JQuery DataTable in ASP and C# 使用 Linq 到 Datatable 显示日期时间的最佳方法是什么? - What is the best way to display date time using Linq to Datatable?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM