SQL Desktop Engine and ADO.NET question

  • Thread starter Thread starter David Young
  • Start date Start date
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.
 
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.
__________________________________
 
Back
Top