的Response.Write [英] response.write

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

问题描述

我在一个将xml转换为html的组件中创建html字符串。

Works o.k.使用小的html字符串,但需要永远响应。编写

大html字符串。

是否有可能加快速度?

解决方案

你可以把它分成块和response.write,比如说,1024或2048字节在

a时间吗?


-
http://www.aspfaq.com/

(反向地址回复。)


" Ed Slen" < ED ****** @ yahoo.com>在消息中写道

news:53 ************************** @ posting.google.c om ...

我在一个组件中创建html字符串,将xml转换为html。
工作正常使用小的html字符串,但需要永远响应。编写
大html字符串。
是否有可能加快速度?



你是否正在进行大量的字符串连接?


如果是这样,请参阅以下内容以获得更有效的方法
http://www.15seconds.com/howto/pg000929.htm

-

Mark Schupp

开发负责人

诚信电子学习
www.ielearning.com

" Ed Slen" < ED ****** @ yahoo.com>在消息中写道

news:53 ************************** @ posting.google.c om ...

我在一个组件中创建html字符串,将xml转换为html。
工作正常使用小的html字符串,但需要永远响应。编写
大html字符串。
是否有可能加快速度?






Mark,我不是在进行字符串会话。

我正在转换并在组件级别创建html字符串,

将完整的html字符串返回到asp页面,然后返回response.writing

it。


Aaron, - 我正在寻找类似的东西,但我怎么能把它打成块b / b
***通过Developersdex发送 http://www.developersdex.com ***

不要只是参加USENET ......获得奖励!

I am creating html string in a component that transforms xml into html.
Works o.k. with small html strings, but takes forever to response.write
big html strings.
Is it possible to speed it up?

解决方案

Can you break it into chunks and response.write, say, 1024 or 2048 bytes at
a time?

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Ed Slen" <ed******@yahoo.com> wrote in message
news:53**************************@posting.google.c om...

I am creating html string in a component that transforms xml into html.
Works o.k. with small html strings, but takes forever to response.write
big html strings.
Is it possible to speed it up?



Are you doing a lot of string concatenation?

If so, see the following for a more efficient method
http://www.15seconds.com/howto/pg000929.htm
--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Ed Slen" <ed******@yahoo.com> wrote in message
news:53**************************@posting.google.c om...

I am creating html string in a component that transforms xml into html.
Works o.k. with small html strings, but takes forever to response.write
big html strings.
Is it possible to speed it up?





Mark, I am not doing string concats.
I am transforming and creating html string at the component level,
returning full html string back to asp page and then response.writing
it.

Aaron , - I am looking for something like this, but how can I break it
into chunks?
*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!


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

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