Asp.net Response.Flush

Response.Write的字节必须大于256

        private void Write(string content)
        {
            content = content.Length <= 256 ? content.PadRight(300 - content.Length,'F') : content;
            Response.Write(content + "\r\n");
            Response.Flush();
            Response.Clear();
        }

  

posted @ 2012-12-06 17:18  黑冰.org  阅读(1204)  评论(0编辑  收藏  举报