473,386 Members | 1,748 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,386 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 1528
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

1
by: Paul R | last post by:
Hi, I have a Winforms application that access some SQLServer2000 stored procedures. I have now written some new Webforms pages to use some of the same stored procs. The Webforms use the SAME...
3
by: jm | last post by:
I do not want to use the datagrid, datalist, etc. I want to retrieve simply the value from the query. I know the sql is returning data, because, if I use a grid, I can populate it. I have...
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..
4
by: 3Cooks | last post by:
I have a windows application written in Visual Basic 6.0 that is going to be redeveloped in dotNET. We are trying to decide if we should deploy using Webforms or Winforms and I need advice from...
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...
1
by: sbreytberg | last post by:
Hi all, I am a newbie at dotnet. Been going through someone else's code and here's a problem: I am loading a csv file into the database. When there's more than one record, it works fine, but...
1
by: paul.d.mcswain | last post by:
This has probably already been answered, but it didn't show up when I did a search. I need to be able to perform a batch insert using the ODBC ADO.NET objects (OdbcCommand, OdbcDataAdapter,...
0
by: roundcrisis | last post by:
hiL i have teh following code: string query = "select * FROM users"; OdbcCommand command = new OdbcCommand(query, conn); OdbcDataAdapter da = new OdbcDataAdapter(); da.SelectCommand = command;...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.