Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / February 2007

Tip: Looking for answers? Try searching our database.

SqlDataSource wizard showing SQL with wrong syntax

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Reggie Burnett - 15 Feb 2007 18:29 GMT
I've set the quoted identifier stuff in all the  locations I can think of
and yet SqlDataSource wizard still shows the SQL as SELECT [col1], [col2]
from [table].  This syntax doesn't work for us.  How does it determine what
syntax to use if it's not using things like DataSourceInformation?

Reggie
MySQL, Inc.
Carlos Guzmán Álvarez - 26 Feb 2007 12:37 GMT
Hello:

> I've set the quoted identifier stuff in all the  locations I can think
> of and yet SqlDataSource wizard still shows the SQL as SELECT [col1],
> [col2] from [table].  This syntax doesn't work for us.  How does it
> determine what syntax to use if it's not using things like
> DataSourceInformation?

In the Firebird .NET provider i was having the same problem, looks like
VS is setting the DataAdapter QuotePreffix and QuoteSuffix two times,
the first one with the correct value ( " in the case of the .NET
provider ) and a second one using brackets ...

The only way i found to solve it wqas doing a hack in those properties
to be always " ( As firebird didn't allow other it can be valid for now.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.