老师,以下为什么excel报表中只出来一条记录 ?需要表中全部记录都转到Excel中。
Dim Book As New XLS.Book(ProjectPath & "Attachments\Data.xlsx")
Dim Result As DialogResult
Dim Proc As New Process '打开工作簿
Dim fl As String = ProjectPath & "Attachments\Data1.xlsx"
Book.Build()
Book.Save(fl) '保存工作簿
Proc.File = fl
Proc.Start()
|
|
<END> |
|
|
|
|
|
|
|
|
|
|
|
|
|
OrderDate |
EndCustomer |
PO |
PartNo |
OrderQty |
DeliveredQty |
销售类别 |
产品类别 |
cSCloser |
Sales |
|
<Orderlist2> |
[OrderDate] |
[EndCustomer] |
[AxaltaPO] |
[PartNo] |
[OrderQty] |
[DeliveredQty] |
[销售类别] |
[产品类别] |
[cSCloser] |
[Sales] |
|
|
|
|
|
|
|
|
|
|
|
|
|
<END> |
|
|
|
|
|
|
|
|
|
|
|