Link to home
Start Free TrialLog in
Avatar of gtrapp
gtrapp

asked on

How to see data in a DataSet during dubug with watch?

How to see data in a DataSet during dubug with watch? I see lots of properties and attributes in the data type, but don't know where to look. I am using VS 2005 and using the debug trace and trying to see what was placed into the DataSet.
Avatar of Faizan Sarwar
Faizan Sarwar
Flag of United Kingdom of Great Britain and Northern Ireland image

add watch and then type in ds.Tables[0].Rows[0]["ColName"]
something like this
ds.jpg
Avatar of gtrapp
gtrapp

ASKER

Thanks. How would you do a DataTable?
ASKER CERTIFIED SOLUTION
Avatar of Faizan Sarwar
Faizan Sarwar
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial