Runtime DataSet & DataTable viewer

This component basically allows you to inspect the contents of any Data Set or a Data Table at runtime without breaking into the debugger again and again.

Features:

  • Open any data table or data set on separate UI thread or the callling thread.
  • Modify the in-memory actual data from the launched window
  • Export the data to XML file

Tool UI when data set is opened

Code sample:

 

DataSet dataSet = new DataSet();
//Add code to populate the data set...

//Show the data set form a XML file in a new window in new thread
AshuSoft.Test.TableDataViewer.ShowDataSet(@"C:\DataDump.xml", "Hello");
//OR
//Show the data set in a new window in new thread
AshuSoft.Test.TableDataViewer.ShowDataSet(dataSet, Environment.StackTrace);
//OR

//Show only a table AshuSoft.Test.TableDataViewer.ShowTable(dataSet.Tables["Employee"], Environment.StackTrace);

Last edited Sep 19, 2012 at 4:28 PM by hi_its_ashu, version 5