Solved

Databinding to multiple positions?

Posted on 2004-10-17
2
227 Views
Last Modified: 2010-04-23
I've got say 10 label controls on my windows form lined up in a column and I'd like the text in each one to be bound to data in my dataset. Obviously when I bind the label control text to the dataset and my binding position is set to say 0, all labels read the same text. Is it possible to bind label 1 to position 0, label 2 to position 1, label 3 to position 2 etc?
0
Comment
Question by:Astraoid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
123654789987 earned 500 total points
ID: 12336354
Yes it is possible.

Follow this link

http://www.bluevisionsoftware.com/WebSite/Books/CustomControlsAndDesignersVB/Chapter6.pdf

It shows how databinding can be done on different columns of the datatable
0
 

Author Comment

by:Astraoid
ID: 12337792
Brilliant! Just what I needed thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

740 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