ASP Flush နည်းလမ်း
❮ ပြီးပြည့်စုံသော တုံ့ပြန်မှု Object ရည်ညွှန်းချက်
Flush နည်းလမ်းသည် buffed HTML အထွက်ကို ချက်ချင်း ပို့ပေးသည်။
မှတ်ချက်- တုံ့ပြန်မှု။ Buffer သည် မှားယွင်းနေပါက၊ ဤနည်းလမ်းသည် run-time error ဖြစ်လိမ့်မည်။
အထားအသို
Response.Flush
ဥပမာ
<%
Response.Buffer=true
%>
<html>
<body>
<p>I write some text, but I will control when the
text will be sent to the browser.</p>
<p>The text is not sent yet. I hold it back!</p>
<p>OK, let it go!</p>
<%
Response.Flush
%>
</body>
</html>
Output:
I write some text, but I will control when the
text will be sent to the browser.
The text is not sent yet. I hold it back!
OK, let it go!
❮ ပြီးပြည့်စုံသော တုံ့ပြန်မှု Object ရည်ညွှန်းချက်