L
Lander Debeuf
the UPDATE statement with the OleDbCommand class wont work with me
i cant seem to get it right
i use for an example the following statement:
'update tbl_DynCountry set Country = @Country where CountryID = @CountryID'
then i add the parameters, and i add the database connection to the command!
when i am in debugmode, everything seems ok, dataconnection is open,
parameters are attached, with the right value,
then i use the method
command.ExecuteNonQuery();
and the return value is 0 -- meaning 0 rows affected!
i cant seem to find the problem
insert statements are working fine, but the update aint
did anybody have the same problem in the past??? and how do i solve it?
i cant seem to get it right
i use for an example the following statement:
'update tbl_DynCountry set Country = @Country where CountryID = @CountryID'
then i add the parameters, and i add the database connection to the command!
when i am in debugmode, everything seems ok, dataconnection is open,
parameters are attached, with the right value,
then i use the method
command.ExecuteNonQuery();
and the return value is 0 -- meaning 0 rows affected!
i cant seem to find the problem
insert statements are working fine, but the update aint
did anybody have the same problem in the past??? and how do i solve it?