Solved

Databinding to multiple positions?

Posted on 2004-10-17
2
215 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
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exit the loop 4 49
Call windows 10 virtual keyboard from windows forms app 2 50
Help with preventing downloading a zip file 10 45
Open a link in vb.net 2 15
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

839 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