473,397 Members | 1,949 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

SQLDataAdapter. ODBCDataAdapter etc. Habe they disappeared from .Net 2.0 Webforms

SQLDataAdapter. ODBCDataAdapter etc. Have they disappeared from .Net 2.0
Webforms?

can somone please elaborate as I cannot seem to find support for these..
Nov 30 '05 #1
3 1076
Uhmm...

http://msdn2.microsoft.com/en-us/lib...taadapter.aspx

http://msdn2.microsoft.com/en-us/lib...taadapter.aspx

Are you sure you have the System.Data assembly referenced?

Karls

--

MY ASP.Net tutorials
http://www.openmymind.net/

"Rob Dob" <ro************@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
SQLDataAdapter. ODBCDataAdapter etc. Have they disappeared from .Net 2.0
Webforms?

can somone please elaborate as I cannot seem to find support for these..

Nov 30 '05 #2
Hi Rob,

If you mean that they are not in the toolbox (I think that they do not
appear by default in VS 2005):

- Ensure that you have referenced System.Data
- Right-click on the toolbox, "Add/Remove Items..." and select the data
adapters from the list.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Rob Dob" <ro************@yahoo.com> escribió en el mensaje
news:%2****************@TK2MSFTNGP14.phx.gbl...
SQLDataAdapter. ODBCDataAdapter etc. Have they disappeared from .Net 2.0
Webforms?

can somone please elaborate as I cannot seem to find support for these..

Dec 1 '05 #3
Hi,

What I meant to say was by default the SQLDataAdapter is not being added to
the toolbox, however if I add it in via "Add new item" then it appears,
when I try to use it I need to first flip into "View Component Designer"
from there I drag my SQLDataAdapter onto the form, and go through the
wizard, I then have to manually add an Initialize() within my Form_Load(),
everything compiles fine, no error, however when I run my application it
Blows up with a System.Resources.MissingManifestResourceException,

Please not that if I only select a couple fields within my SQL query then
the program does not bomb.. when I further investigated this I see that it
is putting the lengthy select statements into a resource that it for some
reason doesn't seem to know it has at runtime... The two statements that it
seems to be adding to it when the select strings are longer are:
private void Initialize()

{

System.ComponentModel.ComponentResourceManager resources = new
System.ComponentModel.ComponentResourceManager(typ eof(articles_wanted));

this.sqlCommand2.CommandText =
resources.GetString("sqlCommand2.CommandText"); // this is where the error
occurs, apparently it is not loading the component resource

This is why I figured that Microsoft had dropped support, I do notice that
the docs still say its supported and that it not marked as being
obsolete..., However this error is becoming a real bother as I am working
with a vs2003 application which has been converted into the vs2005
environment..

I have tried performing the exact same steps within a regular winform and is
too creates the resource file, but everything runs correctly...

Any help would be greatly appreciated..

If you have a moment maybe you could try the same on your end, creating a
sample project, I'm sure it will fail,, and if it doesn't then maybe you
could zip it up and send it to me and I will try it on this end.. I have
also tried loading VS2005 and retrying the same steps on a fresh machine...

thanks.
Dec 1 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Rob Dob | last post by:
SQLDataAdapter. ODBCDataAdapter etc. Have they disappeared from .Net 2.0 Webforms? can somone please elaborate as I cannot seem to find support for these..
2
by: Tony Girgenti | last post by:
Hello. I'm developing and testing a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1. I'm using a web form. During testing, i guess i installed and...
2
by: Tony Girgenti | last post by:
Hello. I'm developing and testing a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1. I'm using a web form. During testing, i guess i installed and...
2
by: monteiro | last post by:
Hi, I am using OdbcDataAdapter to insert data to postgreeSQL.. Everything’s seems to be fine, but nothing is inserting in the database. Andy Idea?? Thanks in advance string selectCommand =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.