Avatar of pritipatel0408
pritipatel0408
 asked on

Windows forms multiple Tabs with datagridviews

Is there a good tutorial that will help with implementing tab control with tabs showing multiple datagridviews on a windows forms application?
.NET ProgrammingC#

Avatar of undefined
Last Comment
pritipatel0408

8/22/2022 - Mon
Member_2_6317024

I found two separate tutorial links for you. The first is a code project site link that does a walk through with a nice visual aid.

http://www.codeproject.com/Articles/252889/Multiple-DataGridViews-on-a-Form

The second is a Microsoft msdn tutorial link.

https://msdn.microsoft.com/en-us/library/vstudio/33w255ac(v=VS.100).aspx
pritipatel0408

ASKER
the links dont mention tabs
ASKER CERTIFIED SOLUTION
Member_2_6317024

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Member_2_6317024

http://cplus.about.com/od/learnc/ss/adv_winforms.htm#step10
Steps 1-10 obviously are not all about tab controls but it should be a good visual aid.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
pritipatel0408

ASKER
You rightly identified my problem statement
I have multiple results sets coming back from a server request against a datasource. I want to organise these with a WinForms tabPage for each result set, on a single tabControl. I am displaying the data in a DataGridView, but want to avoid having a DataGridView instance on each tabPage - I'd rather intercept the "switching to new tab page" message, and load up the appropriate results set from my local cache. Is there an easy/obvious way to do this?

I need a sample code
pritipatel0408

ASKER