SQL Desktop Engine and ADO.NET question

D

David Young

Hello,
I recently installed MSDE and the .NET QuickStart tutorials. I'm trying
to write an app that uses the Northwinds database installed on my local
host. As I understand it, I should be able to drag the database from the
Server Explorer to my form. Is this incorrect? I've also tried dragging
the SqldataAdapter object from the tool box to my form and opening a
connection that way, but the wizard is never able to find the database. I'm
using the SQL OLEDB provider. What am I missing or doing wrong? Thanks in
advance.
 
W

William \(Bill\) Vaughn

You should be using SqlClient for SQL Server (MSDE is SQL Server). I would
step through the walkthroughs (there are lots of them) provided. These will
show you how to drag and drop objects to the form and get VS.NET to build
source code and form controls to expose your data.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top