Solved

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

Posted on 2014-03-07
6
211 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

3 Use Cases for Connected Systems

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

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.NET bulk update  of a table from another table 4 36
Linq Help 1 35
SQL Login 17 40
Get Client IP on RDS - VB.NET 15 27
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now