Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17



Posted on 2007-04-05
Medium Priority
Last Modified: 2008-03-10
In MS Visual Studio.NET I am trying to make a simple data display page as part of a WebApplication, but I cannot instatiate the SqlComnnection or SqlDataAdapter object.

When i attempt to reference it, i get the following error:

"Dim myDA As New sqldataadapter" --> TYPE SQLDATAADAPTER NOT DEFINED

I have created a simple DataGrid object on the same page, and populated it with an sql Table using the drag-and-drop method.  This works Fine.  However, i want to be able to code the page manually.

Pls help
Question by:PeterMatthews
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

Accepted Solution

dctuck earned 2000 total points
ID: 18856806

Imports System.Data.SqlClient

at the top of the file you are working in

Author Comment

ID: 18856823
Thanks DC!

Featured Post

Technology Partners: 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

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK ( for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

715 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