473,385 Members | 2,243 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,385 software developers and data experts.

.NET Version 1.1 - Data Adapters

If I drag and drop a SQL table to a web form I get a connection and adapter
created. Nice!

If I drag a Visual Foxpro table to a web form or a table from the IBM AS/400
I get an error message: "The wizard detected the following problems when
configuring the data adapter for "mytable". Details: Generated SELECT
statement. There were errors configuring the data adapter."
Not Good!

I have tried the following providers and I get the error message for all of
them:
Microsoft OLE DB Simple Provider
Microsoft OLE DB Provider for Visual FoxPro
Microsoft OLE DB Provider for ODBC Drivers

Any suggestions? Thank you in advance.
Nov 18 '05 #1
1 1498
I am not very fond of the drag and drop stuff in .NET. I am currently
altering the Microsoft Data Access Application Block (free download) for
databases other than SQL Server and coding my own. It takes about 10 lines
of code to get back my dataset, versus the huge number it takes with the
drag and drop. Of course, it does not create full CRUD (beyond SELECT), but
I can code those with just a few lines as well.

Currently VS.NET works rather well with SQL Server, Access, and, in general,
Oracle. Beyond that, it is largely a crap shoot. ADO.NET, the underlying
technology, is sound across most of the spectrum, but the simple creation is
not.

Another option is to set up an Access or SQL Server database with the same
tables, et al, and switch Providers in the conn string after drag and drop.
You will have minimal clean up, if any, for most providers. It is worth a
shot if you want to drag and cannot do it against your DB.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************** ********************
Think Outside the Box!
************************************************** ********************
"Morys Kenworthy" <ma*******@mutualservice.com> wrote in message
news:eO**************@TK2MSFTNGP09.phx.gbl...
If I drag and drop a SQL table to a web form I get a connection and adapter created. Nice!

If I drag a Visual Foxpro table to a web form or a table from the IBM AS/400 I get an error message: "The wizard detected the following problems when
configuring the data adapter for "mytable". Details: Generated SELECT
statement. There were errors configuring the data adapter."
Not Good!

I have tried the following providers and I get the error message for all of them:
Microsoft OLE DB Simple Provider
Microsoft OLE DB Provider for Visual FoxPro
Microsoft OLE DB Provider for ODBC Drivers

Any suggestions? Thank you in advance.

Nov 18 '05 #2

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

Similar topics

1
by: Bob T | last post by:
Hi, I have been using SQLDataAdapters and Datasets in my project. I have a goal to simplify the project. Each data adapter has a corresponding dataset it retrieves values into. Even though...
5
by: Kevin C | last post by:
I was curious to know what some developers out in the industry are doing when it comes to exposing Data access logic, specifically persistence. This is assuming that your not using an O/R framework...
5
by: amanatio | last post by:
I have a huge form with many data bound controls on it and 34 tables in database (and of course 34 data adapters and 34 datasets). The form is extremely slow to design (huge delay when I go to code...
2
by: Mervin Williams | last post by:
I am using Infragistics UltraWebTab (a tab folder control for ASP.NET). My tab folder control will include five tab pages with a separate web form on each, and these web forms will share data. ...
3
by: Robin | last post by:
When adding a SQL Data Adapter to a page, is possible to configure it use a connection string in code? As I have found it regenerates the code each time and of the adapters are modified and does...
5
by: Rick | last post by:
The data adapter wizard allows you to add more than one table, but that doesn't seem to work right when setting up a dataset. Some of the documentation I have read states that only one table...
0
by: dimpy | last post by:
Hi everyone, I am using some big size data adapters to fill datasets to be sent to a web service. Now every time i get an error in datatype or constraints violations while filling the dataset, I...
0
by: Paul Craig | last post by:
Hi everyone, I have recently upgraded several of my projects from Visual Studio 2003 to 2005 and everything went across quite smoothly. The main problem that I am having is I have used SQL Data...
1
by: Justin | last post by:
We decided to upgrade to 2005 and upgrade our components. After fixing a few odds and end the upgrade was complete and our project was working fine. We didn't run into problems until we needed to...
12
by: Randy | last post by:
Hi, Trying to pass along a table row delete to the datasource, but I'm crashing. Here is the code: Private Sub btnDeleteIngr_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles...
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
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...
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
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...

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.