錄入﹕
string myValue="";
foreach(ListItem li in myList.Items)
{
if(li.Selected)
{
myValue+="," + li.Value;
}
}
顯示﹕
從資料中撈出myValue
dim str() as string
str=myValue.split(",")
dim i,j as integer
for i=0 to str.length-1
for j=1 to checkboxlist1.items
if checkboxlist1.items(j).text=str(i).tostring.trim then checkboxlist1.items(j).checked
next
next