'把me.tab中的數(shù)據(jù)填充到列表項(xiàng)myitem中 myitem.Items.Clear()
TryDim i =0With myitem
DoWhile i <Me.tab.Rows.Count
.Items.Add(Me.tab.Rows(i)(0))
i +=1Loop'If .Items.Count > 0 Then' .SelectedIndex = 0'End IfEndWithCatch ex As Exception
MsgBox(ex.Message)
EndTry