Author: oguh | Posted on: 4/2/2009 5:19:58 PM | Views : 796

 Hi,
I have written some simple code so that a user can select multiple items from a listbox and then stored them into table. There is a connection string but its not shown in this code snippet.

            Dim commInsertCarLocations As SqlCommand
            Dim Item As ListItem


            For Each Item In LocationsList.Items

                If Item.Selected Then
                    commInsertcarLocations = New SqlCommand( _
                    "INSERT carLocation(carID, LocationI ...

Go to the complete details ...