I was wondering about it, but you have still to read the selected items in a CheckBoxList manually - like in old ASP.

StringBuilder bv = new StringBuilder("");

foreach(ListItem bvh in Bauvorhaben.Items) {
   
if(bvh.Selected) {
       
bv
.Append(bvh.Value + ", ");
   
}
}

Dein Kommentar