I'm getting some images from my db and i also attach a checkbox under every image. The checkbox gets the same ID as the image it belongs to. I want to update several recods at a time for all the images that are checked. How do i get which images (checkboxes) are checked? I never know the amount of images that are fetched.
Any ideas?
This is my code.
Dim oConn As MySqlConnection = DBConn.getConn("myDB")
oConn.Open()
Dim getSQL As String = "SELECT * FROM images WHERE deleted = '0'"
Dim command As MySqlCommand = New MySqlCommand(getSQL, oConn)
Dim r As MySqlDataReader
r = command.ExecuteReader()
While r.Read()
images_lbl.Text &="<img src='images/'" & r("iName") & "'><br><input id='" & r("iID") & "' name='" & r(& ...
Go to the complete details ...