#1  
3rd January 2011, 06:39 PM
Unregistered
Guest
 
Posts: n/a

Steps on how to connect to a database in Visual Basic?


hey can you please tell in clear steps how to connect to a database in visual basic ?
please give me step by step details?




  #2  
13th January 2011, 03:51 PM
Sarabjeet Kaur
Junior Member
 
Join Date: Jul 2010
Location: india
Posts: 21
Default Re: Steps on how to connect to a database in Visual Basic?

1)When you click on the OK button, have
access to ADO Objects in your program.
Before we get too far, let's start the process of adding the ADO DataGrid Control
to our form. In order to do that, we need to select Project-Components
2)
When you click on the OK button, the DataGrid Control is added to visual basic tool box.
3)With the DataGrid control in your Toolbox, now it's time to add it to your form...
i hope this will help u...
  #3  
14th January 2011, 01:08 AM
Mrs_Praveen_Gola
Senior Member+++++
 
Join Date: Jun 2010
Location: Delhi
Posts: 2,926
Default Re: Steps on how to connect to a database in Visual Basic?

Follow these steps-
1. use an ADO connection if you are using VB6.
2. select Project-Components
3. start the process of adding the ADO DataGrid Control
4. click on the OK button, the DataGrid Control is added to visual basic tool box..
5. With the DataGrid control in your Toolbox, add it to your form
Do you have any question? or have anything to say?





Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
vBulletin Optimisation by vB Optimise.
Please also check: