User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 456,195 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,943 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 1272 | Replies: 2
Reply
Join Date: Oct 2006
Posts: 6
Reputation: usr1971ca is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
usr1971ca usr1971ca is offline Offline
Newbie Poster

how to display data from db

  #1  
May 5th, 2007
How do I display data (not dataset) on the form just like you see the inbox mail (not allow editing on the data and no first empty column on the left of dataset)?
I want to display the master list of names first, then click on the name to bring up that person's information details on the children form (where you can update).
Thanks
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Location: England
Posts: 156
Reputation: ptaylor965 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 19
Sponsor
ptaylor965's Avatar
ptaylor965 ptaylor965 is offline Offline
Junior Poster

Re: how to display data from db

  #2  
May 5th, 2007
you need to use datasets to store the data for viewing
try binding a datagrid to the data in a dataset

you could also try datareaders but they are used for tranfering data into variables, textboxes and other controls
Reply With Quote  
Join Date: Aug 2006
Location: India
Posts: 812
Reputation: arjunsasidharan is on a distinguished road 
Rep Power: 4
Solved Threads: 13
arjunsasidharan's Avatar
arjunsasidharan arjunsasidharan is offline Offline
Practically a Posting Shark

Re: how to display data from db

  #3  
May 9th, 2007
You know its really easy to type in what you want.. but have you worked on it? if so post the code and let me have a look into it..
There is just two ways to live your life.
One is as though nothing is a miracle.
The other is as if everything is.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb VB.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the VB.NET Forum

All times are GMT -4. The time now is 3:47 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC