Solved

TYPE SQLDataAdapter NOT DEFINED

Posted on 2007-04-05
2
740 Views
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
Regards
0
Comment
Question by:PeterMatthews
[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 7

Accepted Solution

by:
dctuck earned 500 total points
ID: 18856806
Put

Imports System.Data.SqlClient

at the top of the file you are working in
0
 

Author Comment

by:PeterMatthews
ID: 18856823
Thanks DC!
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

749 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