Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Delete query

$
0
0
Hi,

Im trying to delete a selected row from my table name 2,and add a data from my table name 1. I can add data but my delete query is not doing it's job

Here's my code

connectToDatabase()
openConnection()
ds.clear()
ds.Tables.clear()
addmonitorIn()
adapter.Fill(ds)
closeConnection

connectToDatabase()
openConnection()
ds.clear()
ds.Tables.clear()
delete()
adapter.Fill(ds)
'I am certain that this is where im mistaken, never use delete query before so i dont know what adapter command to use,
'but if you have better idea,kindly state it to me thanks

closeConnection






sorry it was deleteme() and forgot to qoute the other comment

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>