Welcome to Dream.In.Code
Getting VB.NET Help is Easy!

Join 136,459 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 1,836 people online right now. Registration is fast and FREE... Join Now!




Displaying SQL Database info in controls on multiple tabcontrol tab pa

 
Reply to this topicStart new topic

Displaying SQL Database info in controls on multiple tabcontrol tab pa

LudwigNel
25 Jul, 2008 - 03:42 AM
Post #1

New D.I.C Head
*

Joined: 25 Jul, 2008
Posts: 3

I have a tabcontrol on a form with three tab pages.
I use a datareader to read the info from the SQL db.
On the selectedindexchanged event of a combobox the info needs to be displayed in the various controls on the tab pages.
It works fine on the first tab page but nothing gets displayed on the other tab pages
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Displaying SQL Database Info In Controls On Multiple Tabcontrol Tab Pa
25 Jul, 2008 - 05:00 AM
Post #2

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 8,993



Thanked: 125 times
Dream Kudos: 8625
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
Since you're using a DataReader that tells me you're using VB.NET (VB 2005, VB 2008, etc) so Im moving this to the VB.NET forum. You will need to show us the code you're using to accomplish so we can see how you're doing it. When posting your code please put it inside code tags, like so => code.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 03:54PM

Live VB.NET Help!

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month