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 @   黑冰.org  阅读(1206)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示