Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-03-07
6
Medium Priority
?
222 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:Murray Brown
  • 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:Murray Brown
ID: 39916747
Hi. Yes
0
 

Author Comment

by:Murray Brown
ID: 39920177
Thanks
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 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:Murray Brown
ID: 39942562
Thanks very much
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

885 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