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
Solved

VB.net Adding  DataGridViews next to each other in a TableLayoutPanel

Posted on 2014-03-07
6
213 Views
Last Modified: 2014-03-20
What VB.net code would I use to add DataGridViews one at a time to a TableLayoutPanel
so that these new controls are next to each other
0
Comment
Question by:murbro
  • 3
  • 2
6 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 39914515
You mean you want to avoid having one in one row and the other in next row?
0
 

Author Comment

by:murbro
ID: 39916747
Hi. Yes
0
 

Author Comment

by:murbro
ID: 39920177
Thanks
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 39940179
If you have not done this already, I think the solution would be to make sure that the sum of the width of both grids plus some more pixels does not exceed the width of the form.
0
 

Author Closing Comment

by:murbro
ID: 39942562
Thanks very much
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

838 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