Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question on using VFP OLE DB provider
Message
De
30/09/2003 10:21:33
 
 
À
30/09/2003 09:16:12
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00833430
Message ID:
00833473
Vues:
18
Kevin,

I think you're right in that it's the /n causing the problem. And it's not just VFP backends, it happens with SQL Server also (and probably others). Yes, you can code around it by converting all the /n's before you send the data to the backend.

~~Bonnie



>This isn't really an ado.net question, but I didn't know where to put it.
>
>I have a winforms apps that's using VFP data and the newest OLE DB Provider.
>
>I have a screen with an edit box, that eventually gets saved to a memo field in the VFP database file.
>
>If the user enters some text and then hits and enters some more text in the edit box...the update back to the database table fails with an OLE DB exception error.
>
>I'm guesing it's because there's a '\n' in the string that gets posted back.
>
>Has anyone run into this? Can I code around it?
>
>Thanks,
>Kevin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform