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
Avatar of Member_2_6317024
Member_2_6317024
Flag of United States of America image

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
Avatar of pritipatel0408
pritipatel0408

ASKER

the links dont mention tabs
ASKER CERTIFIED SOLUTION
Avatar of Member_2_6317024
Member_2_6317024
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
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.
Avatar of 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
.NET Programming
.NET Programming

The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.

137K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo