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(); }