I am a newbie in vb. I am wondering..is it possible to Delete records in the database (the database that I use is Microsoft Access and has only two fields which are 'ID' and 'Picture') ONLY for a specific field and NOT the whole row.
For example, I understand that, the code as below...
Dim sql As String = "Delete From enroll where ID = 1"
....will delete the whole row with ID = 1 (both the Picture and ID field will be deleted).
So, what should be the code if I want it to delete ONLY the data in the Picture field where ID= 1 (without deleting the ID field). Is it possible? I hope you guys can help me. I really appreciate it.
For example, I understand that, the code as below...
Dim sql As String = "Delete From enroll where ID = 1"
....will delete the whole row with ID = 1 (both the Picture and ID field will be deleted).
So, what should be the code if I want it to delete ONLY the data in the Picture field where ID= 1 (without deleting the ID field). Is it possible? I hope you guys can help me. I really appreciate it.