| |

VerySource

 Forgot password?
 Register
Search
View: 916|Reply: 4

Excel export expert? Strange problem solving !! Thank you !!

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-2-24 16:00:01
| Show all posts |Read mode
It is a very common procedure for exporting the GridView content to Excel. However, it is strange that the session in the program will be set to null somehow when debugging on the server section, but when debugging on the client, you can save Excel correctly?
Also, does this feature have anything to do with the version of Excel I have installed?
And the client does not have Excel installed. Is there an association?
Hope you all express your opinions, thank you!
Reply

Use magic Report

0

Threads

17

Posts

14.00

Credits

Newbie

Rank: 1

Credits
14.00

 China

Post time: 2020-5-9 20:15:01
| Show all posts
The landlord first posted your code to see.
Reply

Use magic Report

0

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-5-11 10:00:01
| Show all posts
The problem is not clearly described!
------------------
carry on
Reply

Use magic Report

0

Threads

13

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-5-17 13:15:01
| Show all posts
If the client does not have EXCEL installed, it will definitely not come out.
There is a way to transfer out of EXCEL, without adding EXCEL reference, use the file stream to transfer out
But after converting to .XLS file, how to open it in EXCEL format without EXCEL installed?
Reply

Use magic Report

0

Threads

3

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-9-1 21:30:01
| Show all posts
When debugging in the server segment, the session in the program will be set to null inexplicably

It should be your code that caused the IIS process to die and restart the IIS process, so the session is null
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list