Strings can be much bigger. If you cannot load at once, consider chunking it
in. As an example:
StringBuilder sb = new StringBuilder();
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
sb.Append("12345678901234567890");
....
string newString = sb.ToString();
Response.Write(newString);
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
************************************************
Think Outside the Box!
************************************************
"Marco Ivaldi" <an*******@discussions.microsoft.com> wrote in message
news:28*****************************@phx.gbl...
Hi,
I need load in a string about 500 characters.
String type has a capacity of 256.
What type i can use?
Thanks!