Dim Book As New XLS.Book("d:\test.xls") Dim Sheet As XLS.Sheet = Book.Sheets(0) Tables("订单").StopRedraw() Dim nms() As String = {"姓名","语文","数学"} For n As Integer = 1 To Sheet.Rows.Count -1 For m As Integer = 1 To nms.Length - 1 Dim r As Row = Tables("订单").AddNew() r("姓名") = Sheet(n,0).Value r("科目") = nms(m) r("分数") = Sheet(n,m).Value Next Next Tables("订单").ResumeRedraw()