View Single Post
  #2 (permalink)  
Old 12-24-2007, 01:01 PM
Erel's Avatar
Erel Erel is offline
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

CommandText is just a string, so you should use '&' to insert a variable inside:
Code:
 cmd.CommandText = "DELETE from gaz WHERE ROWID = " & idrow1
Reply With Quote