Viewing the Contents of a DataSet while in Debug Mode

While in debug mode in Visual Studio .NET, do you ever get tired
of typing in the following commands into the Intermediate window?

    ?ds.Tables(0).Rows(0).Item(0)
Or
    ?ds.Tables(0).Columns(0).ColumnName

Well there is an easier way to see the contents of a DataSet! 
Try typing in the following:

    ?ds.GetXml
Or
    ?ds.GetXmlSchema

Enjoy!

 

3 Comments

Comments have been disabled for this content.