WiredWorx || Web design || SEO || Bournemouth
Web design, website development and search engine optimisation (SEO) in Bournemouth, Dorset, UK.
Home ·
Website and SEO · C# tutorials and tips · Previewing a dataset in Visual Studio using dataset visualiser
Previewing a dataset in Visual Studio using dataset visualiser
03.07.2009. 11:26
For years I have had the problem of having populated datasets whilst debugging code but then not having a decent method of quickly previewing what was in these datasets, short of sticking a gridview on the page and looking that way!
After a day of particularly annoying day of coding I decided there must be a way to see what the data held whilst debugging low and behold after some research it seems that Microsoft have pre-empted me. It really is very simple as well...
Whilst debugging code, put a break point just after the dataset object has been populated. Once it hits this break point, hover over the dataset and a box should appear. If you look roughly in the middle of this box there is a tiny magnifying glass. If you hit this it will open the dataset visualiser which allows you to see exactly what is in there!