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

Posted on 2008-11-11
Last Modified: 2013-12-17
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.
Question by:gtrapp
    LVL 13

    Expert Comment

    add watch and then type in ds.Tables[0].Rows[0]["ColName"]
    LVL 13

    Expert Comment

    something like this

    Author Comment

    Thanks. How would you do a DataTable?
    LVL 13

    Accepted Solution

    lets say dt is your datatable

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
    Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now