Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

list a records from a dataset onto a single form

Posted on 2006-04-11
4
Medium Priority
?
258 Views
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

ta
hb
0
Comment
Question by:hb21l6
  • 3
4 Comments
 
LVL 5

Accepted Solution

by:
tsay earned 1110 total points
ID: 16426328
Dim rRow As YourDataset.YourTableRow
For Each rRow In YourDataset.YourTable()
  'do your thing
Next

Is this what you need?
0
 
LVL 2

Author Comment

by:hb21l6
ID: 16426378
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. -

thanks
hb
0
 
LVL 2

Author Comment

by:hb21l6
ID: 16426586
maybe a visual representation might help explain what im trying to acheive

http://www.harrisonit.co.uk/screen5.gif

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
hb
0
 
LVL 2

Author Comment

by:hb21l6
ID: 16427640
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


hb
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses

571 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