Solved

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

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

679 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