list a records from a dataset onto a single form

Posted on 2006-04-11
Last Modified: 2010-04-23
hello all.

MS VB 2005 Express edition

remember in VB where you can do a " while not RSname.eof " and loop through all the records in a table,
well I want to do the same thing in a project im creating in VB 2005 express.

basically I want to list a single column in a table, so when I click on the item, It will show the full record on another panel.
I did manage to get a label on the form with a single record, but not all of them.

is there a way I can list the column info without using a datagrid?

as you can tell from my descriptions, im a complete newbie to .net

Question by:hb21l6
    LVL 5

    Accepted Solution

    Dim rRow As YourDataset.YourTableRow
    For Each rRow In YourDataset.YourTable()
      'do your thing

    Is this what you need?
    LVL 2

    Author Comment

    thanks Tsay..

    it sure looks like what i need, im just trying to find out how to put it into the panel on my form. -

    LVL 2

    Author Comment

    maybe a visual representation might help explain what im trying to acheive

    On the left hand side is where I want to create a list of names ( titles )

    hope this makes it a bit more clearer.

    sorry and thanks
    LVL 2

    Author Comment

    ive found in a datagrid i can remove all the borders, background colours, row boxes etc.. thou its not the way i wanted to create it - it will do for now..

    thanks anyway


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Suggested Solutions

    Article by: jpaulino
    XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String ( Literal, only instead of starting and ending with w…
    A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    759 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

    10 Experts available now in Live!

    Get 1:1 Help Now