Sponsored Ad

Sunday, June 6, 2010

Response.Flush() in ASP-C#

This method is used to send output immediately to screen. Please note that Buffer shuould be true before calling flush() method.

 

Response.Flush() in ASP-C# Example:

<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" >

<%
Response.Buffer=true;
%>
<html>
<body>
<p>
The flush method send buffered output immeditly.
</p>
<%
    Response.Flush();
%>

</body>
</html>

0 comments:

Post a Comment

Sponsored Ad

More Related Articles

Website Update

Followers