C#技术百科
问问你的心你有没有信心 做事情要专一坚定,执着
   Dim str() As String = "1,2,4".Split(",") '{"1", "2", "3"}
        For i As Integer = 0 To Me.CheckBoxList1.Items.Count - 1
            For j As Integer = 0 To str.Length - 1
                If str(j) = Me.CheckBoxList1.Items(i).Value Then
                    Me.CheckBoxList1.Items(i).Selected = True
                End If
            Next
        Next 
posted on 2008-06-12 00:36  王德田  阅读(169)  评论(0编辑  收藏  举报