我正在尝试使用数组中的项目构建组合框,但出现此错误:
这是我的代码:
Private Sub frmInventory_Load(sender As Object, e As EventArgs) Handles Me.Load
Dim InvArray As Array
InvArray = Inventory.BuildInvArray()
Option Strict Off
For i As Integer = 0 To 5
cmbSystem.Items.Add(InvArray(i,1))
Next
End Sub