Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27192

update table

$
0
0
I have this table structure.

Table 1: Students
StudentID
StudentName

Table 2: ClassList
ID
StudentID
ClassName

I have a checked-listbox with all student names appearing.

When a user enters a class name (i.e. workshop) all students the appear with the class list are checked. This works a treat.

What I want to do is update/delete rows when students are unchecked or checked.

I thought, I could delete the entire class list and add them all again but that seems unnecessary, is there a better way?

Viewing all articles
Browse latest Browse all 27192

Trending Articles



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