We help IT Professionals succeed at work.
Get Started

Better way to bind hundreds of text boxes to datatable

113 Views
Last Modified: 2020-01-28
I was asked to create a read only user interface to an old database where I'll need to display the data across multiple tab pages and a couple of hundred text boxes.  Ordinarily it's not a big deal to use the binding source and connect the boxes to the tables but I lost count around 200.   I poked around a little bit with creating all the boxes at run time looping through the columns to create them (and bind them) but I didn't care for the layout and it became more of a hassle.  Now I have this project with even more boxes to bind to datatables and I'm looking at dozens of hours.  Ok, maybe a day, but I still wonder if there's a more efficient way?

I'm using VB.net and Visual Studio 2017

Thanks for any thoughts
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant

An Experts Exchange subscription includes unlimited access to online courses.

Get Started
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE