Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
For i As Integer = 0 To ListBox1.Items.Count - 1
'Here you would do the code that would pass it to the database to be saved
Next
End Sub
This should give you the general idea of what you need to do if you need more help then just shout.