Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,162,340 members, 7,850,231 topics. Date: Tuesday, 04 June 2024 at 04:44 PM

Pls Help Me Out On This Vb.net Problem. - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Pls Help Me Out On This Vb.net Problem. (823 Views)

VB.NET Problem, Printing Receipt With Thermal Printer From Crystal Report. / I Need A Help To Write A Simple Login Form Using Vb.net / Post Ur Vb 6.0 Questions Here (2) (3) (4)

(1) (Reply) (Go Down)

Pls Help Me Out On This Vb.net Problem. by PRAISEPHS: 6:14pm On Jan 04, 2013
I have a tab control with two tabs and two different datagridview controls on a form. How do I code it such that when I click on the 1st tab, it should be able to display the 1st datagridview control and when I click on the 2nd tab, it should display the 2nd datagridview control. Thanks and waiting in anticipation of your generous replies.
Re: Pls Help Me Out On This Vb.net Problem. by Nov1ce(m): 11:59am On Jan 05, 2013
Itz been a while I coded in VB.NET but am sure you can place both gridviews on different tabs on the same tab control.
Don't place them directly on the form, rather put each on it's respective tab from scratch!
Re: Pls Help Me Out On This Vb.net Problem. by Tamorion: 5:06pm On Jan 07, 2013
Yep, very correct @Nov1ce
add a TabControl on ur form, then place ur Gridview1 on the default tab. Add a new tab2, then place ur Gridview2 inside. smiley
Re: Pls Help Me Out On This Vb.net Problem. by PRAISEPHS: 6:40pm On Jan 07, 2013
@Nov1ce and Tamorion....Thanks a lot for the replies. May God continue to bless u.

(1) (Reply)

Please, Help On This Resume Builder Project / What Will Happen To N20,000 Coding NL Contests / Baljinder Singh Chohan: Which CMS Is Best For E-commerce Website?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.