The error I get is:
An unhandled exception of type System.InvalidOperationException occurred in system.data.dll.
Are you able to update VFP data from C#? Do you do it with the OleDbCommandBuilder?
Thanks,
Jerry
>What is the error you're getting with the CommandBuilder.GetDeleteCommand()?
>
>~~Bonnie
>
>>Is there an example of updating a VFP7 table with C#?
>>
>>I'm am able to query VFP7 tables in C# using a DataSet but I have not been able to perform an update. I have looked at using the
>>
>>OleDbCommandBuilder CommandBuilder = new OleDbCommandBuilder(DataAdapter);
>>
>>but I always get any error on:
>>DataAdapter.DeleteCommand = CommandBuilder.GetDeleteCommand();
>>
>>Is there a way to update VFP data from C#?
>>
>>Thanks,
>>
>>Jerry
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement