Use the httpresponse.write method for string series

xiaoxiao2021-03-06  121

This method provides very effective buffering and connection services. However, if you are performing a wide connection, use multiple response.write calls. The techniques shown in the examples shown in the examples are faster than a single call connection string for the Response.Write method.

[C #]

Response.write ("a");

Response.write (MyString);

Response.write ("b");

Response.write (MyObj.toString ());

Response.write ("c");

Response.write (mystring2);

Response.write ("D");

[Visual Basic]

Response.write ("a")

Response.write (MyString)

Response.write ("b")

Response.write (MyObj.toString ())

Response.write ("c")

Response.write (MyString2)

Response.write ("D")

转载请注明原文地址:https://www.9cbs.com/read-101645.html

New Post(0)