Home > database >  PB to develop WEB applications export EXCEL question
PB to develop WEB applications export EXCEL question

Time:10-16

I use PB11.5+ASP.NET WEB application development, export EXCEL, two problems, please grant instruction:
First: export route choice only option C: \ temp and D: \
Second: the exported file without any data
Under the CS version test all OK

CodePudding user response:

First: export route choice only option C: \ temp and D: \
Answer: can because of permissions problems, need the guide into the directory in iis, and then download to your local directory

Second: the exported file without any data
Answer: the export to the default directory should be ok

CodePudding user response:

If dw_zhcx. SaveAs (' c: \ webforms. XLS, Excel8! , true)=1 then
# IF DEFINED PBWEBFORM THEN
DownloadFile (' c: \ webforms. XLS, true)
# END IF
End the if
Try this
  • Related