Thread
:
Delete a row in a table and simultaneously delete it in the database
View Single Post
#
2
(
permalink
)
12-24-2007, 01:01 PM
Erel
Administrator
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Total Awards
: 1
CommandText is just a string, so you should use '&' to insert a variable inside:
Code:
cmd.CommandText =
"
DELETE from gaz WHERE ROWID =
"
& idrow1
Erel
View Public Profile
Send a private message to Erel
Find all posts by Erel