Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL syntax problems w/ OLEDB provider?
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00839308
Message ID:
00839538
Vues:
38
> // use the full path to the table because there is no dbc
> 1)//return this.GetDataSet("SELECT * From c:\\gmgwin\\main\\arypat01.dbf WHERE custid = '" + tccustid + "'");

Just a quick guess, but try escaping out the single quotes:
return this.GetDataSet("SELECT * From c:\\gmgwin\\main\\arypat01.dbf WHERE custid = \'" + tccustid + "\'");
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform