ASP Execute နည်းလမ်း
❮ ဆာဗာအရာဝထ္ထုရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။
Execute နည်းလမ်းသည် အခြား ASP ဖိုင်အတွင်းမှ ASP ဖိုင်ကို လုပ်ဆောင်သည်။ .asp ဖိုင်ကို လုပ်ဆောင်ပြီးနောက်၊ ထိန်းချုပ်မှုကို မူရင်း .asp ဖိုင်သို့ ပြန်သွားခဲ့သည်။
အထားအသို
Server.Execute(path)
Parameter | Description |
---|---|
path | Required. The location of the ASP file to execute |
ဥပမာ
File1.asp:
<%
response.write("I am in File 1!<br>")
Server.Execute("file2.asp")
response.write("I am back in File 1!")
%>
File2.asp:
<%
response.write("I am in File 2!<br>")
%>
Output:
I am in File 1!
I am in File 2!
I am back in File 1!
Server.Execute နှင့် Server.Transfer နည်းလမ်းများကြားခြားနားချက်ကိုကြည့်ရန် Server.Transfer နည်းလမ်းကိုလည်းကြည့်ရှုပါ။
❮ ဆာဗာအရာဝထ္ထုရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။