M
matthew
Hi all,
I am now writing a aspx that get a session variable (string) and then write
it out using Response.Write.
The string length is: 494710.
But Response.Write only write the string partially!
I tried using following code, but it doesn't work, the page is keep loading.
if(stringcontent.Length > 500)
{
Response.Write(stringcontent.Substring(0,500));
stringcontent = stringcontent.Substring(500);
while(stringcontent.Length > 500)
{
Response.Write(stringcontent.Substring(0,500));
pagecontent = stringcontent.Substring(500);
}
}
Response.Write(stringcontent);
How I can solve it?? Thx a lot.
Matthew
I am now writing a aspx that get a session variable (string) and then write
it out using Response.Write.
The string length is: 494710.
But Response.Write only write the string partially!
I tried using following code, but it doesn't work, the page is keep loading.
if(stringcontent.Length > 500)
{
Response.Write(stringcontent.Substring(0,500));
stringcontent = stringcontent.Substring(500);
while(stringcontent.Length > 500)
{
Response.Write(stringcontent.Substring(0,500));
pagecontent = stringcontent.Substring(500);
}
}
Response.Write(stringcontent);
How I can solve it?? Thx a lot.
Matthew