Response.Flush不工作ASP.NET [英] Response.Flush not working ASP.NET

查看:203
本文介绍了Response.Flush不工作ASP.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我在哪里处理了一大批从表中的记录,并做一些manipulation.after每个manipuation,(每个记录)的aspx页面,我有一个的Response.Write(记载:+ REC);
Response.Flush()

I have an aspx page where i am Processing a large number of records from a table and doing some manipulation.after each manipuation,(each record),I have a Response.Write("Record : "+rec); Response.Flush()

我已经将Response.Buffer属性设置为false。
这是工作的罚款
但如果我想渲染输出作为一个表行,它不是作为工作的的Response.Write
仅在循环fininshing所有记录之后,是越来越打印表

I have set Response.Buffer property to false. It is working fine But If i want to render the output as a table row,its not working as of Response.Write After fininshing all the records in the loop only , the table is getting printed

如何解决此问题?

推荐答案

大多数浏览器将不会呈现表直到表完成。您可以尝试使表固定格式,CSS表格布局:固定的,与指定列大小沿

Most browsers will not render tables until the table is complete. You can try making the table fixed format, css table-layout: fixed, along with specifying column sizes.

这篇关于Response.Flush不工作ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆