Solved

conncting vb.net nad sql

Posted on 2008-06-18
2
202 Views
Last Modified: 2013-11-26
Suppose I make a database and sql and interface in vb.net.Anybody knows how to connect them? I do not want random links from the google. Rather just selected and good info/or tutorial link will do. Thanks
0
Comment
Question by:mahmood_786
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 total points
ID: 21819272
from .net, you have several options, but the most efficient is to use the SqlConnection object to connect to the database, and using SqlCommand object (with SqlParameter objects for the query parameters) to run queries and procedures from the database, and receive the results in DataReaders or datasets.

here is a good tutorial:
http://www.programmersheaven.com/2/Les_VBNET_13_p1
0
 
LVL 3

Assisted Solution

by:amritgill
amritgill earned 250 total points
ID: 21819287
try these they are video tutorials for beginners..till the advanced level...very usefull..trust me i used them to learn asp.net
http://www.asp.net/learn/videos/default.aspx?tabid=63&wwwaspnetrdirset=1
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question