B
bob
Hi,
Its been a long time since I have had the joy of feeding parameterized
query CommandText strings to an OleDBCommand object.
I have tried all manner of versions of " update foo set bar = @bar
where id = @id"
I have wrapped the fields in square brackets and the parameters in
square brackets and all manner of other strange variations.
The ExecuteNonQuery fires but the table doesn't update.
Finally went back to the old standby of ? as parameter place holder
and relying on Parameters ordinal position in the collection.
Is it really still this primitive or am I just screwing up the syntax?
Thanks
Bob
Its been a long time since I have had the joy of feeding parameterized
query CommandText strings to an OleDBCommand object.
I have tried all manner of versions of " update foo set bar = @bar
where id = @id"
I have wrapped the fields in square brackets and the parameters in
square brackets and all manner of other strange variations.
The ExecuteNonQuery fires but the table doesn't update.
Finally went back to the old standby of ? as parameter place holder
and relying on Parameters ordinal position in the collection.
Is it really still this primitive or am I just screwing up the syntax?
Thanks
Bob