且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法写入.CSV文件

更新时间:2022-04-02 08:39:39

您可能会在数据库中遇到超时问题.
我非常怀疑您在服务器上运行的是exe.您实际上是否只是单击网页上的一个按钮,然后该按钮消失了,服务器上的代码背后是否需要进行处理?
如果您遇到的问题仅与600行左右的记录集超时有关,那么您可能需要研究优化用于查询数据的查询.
You are likely running into a timeout issue in the database.
I very much doubt you are running an exe on the server. Are you actually just clicking on a button in a web page that then goes off and the code-behind on the server does the processing you require?
If you are running into problems relating to timeouts on recordsets that are only 600 or so rows then you may need to look into optimizing the queries used to query the data.