• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 208
  • Last Modified:

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.
0
gtrapp
Asked:
gtrapp
  • 3
1 Solution
 
sm394Commented:
add watch and then type in ds.Tables[0].Rows[0]["ColName"]
0
 
sm394Commented:
something like this
ds.jpg
0
 
gtrappAuthor Commented:
Thanks. How would you do a DataTable?
0
 
sm394Commented:
lets say dt is your datatable
dt.Rows[0]["ColName"]
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now