473,395 Members | 1,532 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,395 software developers and data experts.

Problems in using VS.Net 2003's DataAdapter

When i try to use OleDbDataAdapter's QueryBuilder, when i type some SQL
Statement "Select Top X .....", it works and display the correct result,
however i cannot generate the select statement successfully....
what can i do?
Nov 20 '05 #1
6 2891
Whats the error?

"Norton" <no********@hotmail.com> wrote in message
news:ed*************@tk2msftngp13.phx.gbl...
When i try to use OleDbDataAdapter's QueryBuilder, when i type some SQL
Statement "Select Top X .....", it works and display the correct result,
however i cannot generate the select statement successfully....
what can i do?

Nov 20 '05 #2
Whats the error?

"Norton" <no********@hotmail.com> wrote in message
news:ed*************@tk2msftngp13.phx.gbl...
When i try to use OleDbDataAdapter's QueryBuilder, when i type some SQL
Statement "Select Top X .....", it works and display the correct result,
however i cannot generate the select statement successfully....
what can i do?

Nov 20 '05 #3
it only claims "There were errors configuring the data adapter."

and the SQL Statement is
"SELECT Top 10 Content, DateID, Title FROM SoHappy ORDER BY DateID DESC"

when i remove Top 10 , it works, donno y

Thx for your help ~
"CJ Taylor" <no****@blowgoats.com> ¦b¶l¥ó
news:10*************@corp.supernews.com ¤¤¼¶¼g...
Whats the error?

"Norton" <no********@hotmail.com> wrote in message
news:ed*************@tk2msftngp13.phx.gbl...
When i try to use OleDbDataAdapter's QueryBuilder, when i type some SQL
Statement "Select Top X .....", it works and display the correct result,
however i cannot generate the select statement successfully....
what can i do?


Nov 20 '05 #4
it only claims "There were errors configuring the data adapter."

and the SQL Statement is
"SELECT Top 10 Content, DateID, Title FROM SoHappy ORDER BY DateID DESC"

when i remove Top 10 , it works, donno y

Thx for your help ~
"CJ Taylor" <no****@blowgoats.com> ¦b¶l¥ó
news:10*************@corp.supernews.com ¤¤¼¶¼g...
Whats the error?

"Norton" <no********@hotmail.com> wrote in message
news:ed*************@tk2msftngp13.phx.gbl...
When i try to use OleDbDataAdapter's QueryBuilder, when i type some SQL
Statement "Select Top X .....", it works and display the correct result,
however i cannot generate the select statement successfully....
what can i do?


Nov 20 '05 #5
Norton,

Does the Top 10 contains null value which null is not allowed for this
field?

Thanks,
Cynthia
DDSE QA
--------------------
From: "norton" <no********@hotmail.com>
References: <ed*************@tk2msftngp13.phx.gbl> <10*************@corp.supernews.com>Subject: Re: Problems in using VS.Net 2003's DataAdapter
Date: Wed, 7 Apr 2004 00:20:47 +0800
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <#k**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: 210006240068.ctinets.com 210.6.240.68
Path: cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTF EED01.phx.gbl!TK2MSFTNGP08
..phx.gbl!TK2MSFTNGP10.phx.gblXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:193597
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

it only claims "There were errors configuring the data adapter."

and the SQL Statement is
"SELECT Top 10 Content, DateID, Title FROM SoHappy ORDER BY DateID DESC"

when i remove Top 10 , it works, donno y

Thx for your help ~
"CJ Taylor" <no****@blowgoats.com> ¦b¶l¥ó
news:10*************@corp.supernews.com ¤¤¼¶¼g...
Whats the error?

"Norton" <no********@hotmail.com> wrote in message
news:ed*************@tk2msftngp13.phx.gbl...
> When i try to use OleDbDataAdapter's QueryBuilder, when i type some SQL
> Statement "Select Top X .....", it works and display the correct result, > however i cannot generate the select statement successfully....
>
>
> what can i do?
>
>




Nov 20 '05 #6
Norton,

Does the Top 10 contains null value which null is not allowed for this
field?

Thanks,
Cynthia
DDSE QA
--------------------
From: "norton" <no********@hotmail.com>
References: <ed*************@tk2msftngp13.phx.gbl> <10*************@corp.supernews.com>Subject: Re: Problems in using VS.Net 2003's DataAdapter
Date: Wed, 7 Apr 2004 00:20:47 +0800
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <#k**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: 210006240068.ctinets.com 210.6.240.68
Path: cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTF EED01.phx.gbl!TK2MSFTNGP08
..phx.gbl!TK2MSFTNGP10.phx.gblXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:193597
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

it only claims "There were errors configuring the data adapter."

and the SQL Statement is
"SELECT Top 10 Content, DateID, Title FROM SoHappy ORDER BY DateID DESC"

when i remove Top 10 , it works, donno y

Thx for your help ~
"CJ Taylor" <no****@blowgoats.com> ¦b¶l¥ó
news:10*************@corp.supernews.com ¤¤¼¶¼g...
Whats the error?

"Norton" <no********@hotmail.com> wrote in message
news:ed*************@tk2msftngp13.phx.gbl...
> When i try to use OleDbDataAdapter's QueryBuilder, when i type some SQL
> Statement "Select Top X .....", it works and display the correct result, > however i cannot generate the select statement successfully....
>
>
> what can i do?
>
>




Nov 20 '05 #7

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

Similar topics

0
by: Gregor Valentin | last post by:
Hi! one Question. Is here anybody who had success in accessing a mySQL database via the ODBCDataAdapter in the Visual Studio design view? I get always Errors after creating the select...
10
by: BBFrost | last post by:
We just recently moved one of our major c# apps from VS Net 2002 to VS Net 2003. At first things were looking ok, now problems are starting to appear. So far ... (1) ...
6
by: Norton | last post by:
When i try to use OleDbDataAdapter's QueryBuilder, when i type some SQL Statement "Select Top X .....", it works and display the correct result, however i cannot generate the select statement...
10
by: Richard | last post by:
I have created a form which sets up a dataview. The form views one record at a time using a currencymanager. This works fine. All my text boxes bind. However I have a combo box which gets its...
1
by: Ray Nimmo | last post by:
This is driving me nuts, been at it now for the last week, anyone any ideas on wher im going wrong? using a list box pipeLB and a date/time picker pDate, im trying to populate the list box with...
1
by: Franklin M. Gauer III | last post by:
I create a simple DATAADAPTER in a webservice project. It creates the UPDATE, INSERT, DELETE commands for me - no problem. In vS2005 it creates these commands as RESOURCES in the RESX file (i.e....
10
by: Doug | last post by:
If I am grabbing a lot of rows (say 10,000 from SQL) would I be helping or hurting the network by using a DataReader? I would think helping because it's really only returning 1 row at a time,...
1
by: ankz | last post by:
Hi Guys I have got 3 tables - in Access Database with Student ID as primary Key in all and all tables are linked with 1 to 1 relationship. I have code the everying with manual program to...
7
by: koonda | last post by:
Hi guys, I am trying to create a web interface in C# using ASP.NET. The database being used is SQL Server. I have some problems loading the tables in the datalist controls. When I run the program...
1
by: tbo | last post by:
The code below works fine to update my database by adding rows of data to my dataTable. However when I use the same commands (changing the names of database, datatable and rows) with another...
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
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
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,...
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.