web 2.0

ASP.NET(vb.net) Response.Buffer(),BufferOutput() - Response Object

ASP.NET(vb.net) Response.Buffer(),BufferOutput() - Response Object - Response.Buffer(),BufferOutput() : The Buffer property indicates whether to buffer page output. When page output is buffered, the server does not send a response to the client until all of the server scripts on the current page have been processed, or until the Flush or End method is called.

ShotDev Focus:
- ASP.NET(vb.net) Response.Buffer(),BufferOutput() - Response Object

Example

AspNetResponseBuffer.aspx

<%@ Page Language="VB" %>
<script runat="server">
Sub Page_Load(sender As Object, e As EventArgs)
Response.BufferOutput = True
'Response.Buffer = True

Dim i As Integer
For i = 0 To 10000
Response.write(i & "<br>")
Next
End Sub
</script>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<form id="form1" runat="server">
<asp:Label id="lblText" runat="server"></asp:Label>
</form>
</body>
</html>

Screenshot

ASP.NET(vb.net) Response.Buffer(),BufferOutput() - Response Object
.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (No Ratings Yet)
Loading ... Loading ...

One Response to “ASP.NET(vb.net) Response.Buffer(),BufferOutput() - Response Object”

  1. 3self-defense…

Leave a Reply

You must be logged in to post a comment.