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.