How to view the Data fetched in DataTable or DataSet from Database at Runtime in Visual Studio

Last Reply on May 09, 2013 02:47 AM By Mudassar

Posted on May 09, 2013 02:40 AM

I have breakpoints on these 2 lines

            GridView1.DataSource = GetData(cmd);
can you show with a screenshot for the way to see what value "GetData" is having, during I debug the project?

when it is passing through the line below,

what to press to see the data of the Datasource above?

Posted on May 09, 2013 02:47 AM

1. Put breakpoint at DataBind

2 And when BreakPoint is hit, move mouse on DataSource and then choose DataTable Visualizer by clicking down arrow as shown below