Excel Download

OrderID
10277
10329
10337
10338
10348
10349
10353
10356
10357
10358
10360
10363
10364
OrderID10277
CustomerIDMORGK
EmployeeID2
OrderDate9/9/1994 12:00:00 AM
RequiredDate10/7/1994 12:00:00 AM
ShippedDate9/13/1994 12:00:00 AM
ShipVia3
Freight125.77
ShipNameMorgenstern Gesundkost
ShipAddressHeerstr. 22
ShipCityLeipzig
ShipRegion
ShipPostalCode04179
ShipCountryGermany

bottom next goreload download

[1 - 13 : 710]

Download as Excel
<script language="vb" runat="server">
Sub Page_Load(Source as Object, E as EventArgs)
  Dim XL As New Tornado.Z()
  Dim qp as string = "U=28| M=Dh| S=13| PS=13| D=nwind.mdb| Q=Orders| df=0,1,2,3,4,5,6"
  qp &= "| Gdf=0| DownloadParams=excel=true| ni=b5,download| Th=Tit=Excel Download"
  XL.dbQP=  XL.ASPdbNET()
End Sub
</script>
In this 'Simple' download sample application, you only need one line of code to display 4 fields with a pagesize of 10 and download only 2 fields of the entire recordset.


Send comments on this topic.
Copyright (c) 1998-2006 ASP-db