转成什么数据类型?
追问转成integer 或者 decimal
追答那原来又是什么类型呢?
追问text
追答 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim a(,) As String = {{"34", "67", "67"}, {"34", "56", "78"}}
Dim b() As Integer
ReDim b(a.GetLength(0) - 1)
For i = 0 To a.GetLength(0) - 1
b(i) = CInt(a(i, a.GetLength(1) - 1))
Next
MsgBox(b(0) & "," & b(1))
End Sub
本回答被网友采纳