ASP ကျူတိုရီရယ်များ

ASP ပင်မစာမျက်နှာ

WP ကျူတိုရီရယ်

ဝဘ်စာမျက်နှာများ နိဒါန်း ဝဘ်စာမျက်နှာများ သင်တုန်းဓား ဝဘ်စာမျက်နှာများ အပြင်အဆင် ဝဘ်စာမျက်နှာများ ဖိုဒါများ WebPages Global ဝဘ်စာမျက်နှာများ ပုံစံများ ဝဘ်စာမျက်နှာများ အရာဝတ္ထုများ WebPages ဖိုင်များ ဝဘ်စာမျက်နှာများ ဒေတာဘေ့စ်များ ဝဘ်စာမျက်နှာများ အကူအညီပေးသူများ ဝဘ်စာမျက်နှာများ WebGrid ဝဘ်စာမျက်နှာများ ဇယားများ ဝဘ်စာမျက်နှာများ အီးမေးလ် ဝဘ်စာမျက်နှာများ လုံခြုံရေး ဝဘ်စာမျက်နှာများ ထုတ်ဝေခြင်း။ ဝဘ်စာမျက်နှာများ ဥပမာများ WebPages အတန်းများ

ASP.NET Razor

သင်တုန်းမိတ်ဆက် Razor Syntax Razor C# Variables Razor C# ကွင်း သင်တုန်း C# ယုတ္တိဗေဒ Razor VB Variables Razor VB Loops Razor VB Logic

ASP Classic

ASP မိတ်ဆက် ASP Syntax ASP Variables ASP လုပ်ထုံးလုပ်နည်းများ ASP အခြေအနေများ ASP Looping ASP ပုံစံများ ASP Cookies ASP Session ASP လျှောက်လွှာ ASP #ပါဝင်ပါသည်။ ASP Global.asa ASP AJAX ASP အီးမေးလ် ASP ဥပမာများ

ASP အကိုးအကား

ASP VB လုပ်ဆောင်ချက်များ ASP VB သော့ချက်စာလုံးများ ASP တုံ့ပြန်မှု ASP တောင်းဆိုချက် ASP လျှောက်လွှာ ASP Session ASP ဆာဗာ ASP အမှား ASP ဖိုင်စနစ် ASP TextStream ASP Drive ASP ဖိုင် ASP Folder ASP အဘိဓာန် ASP AdRotator ASP BrowserCap ASP အကြောင်းအရာ ချိတ်ဆက်ခြင်း။ ASP အကြောင်းအရာ Rotator ASP အမြန် Ref

ADO ကျူတိုရီရယ်

ADO မိတ်ဆက် ADO ချိတ်ဆက်မှု ADO မှတ်တမ်းအစုံ ADO ရုပ်ထွက် ADO မေးခွန်း ADO အမျိုးအစား ADO ထည့်ပါ။ ADO အပ်ဒိတ် ADO ဖျက်ပါ။ ADO ဒီမို ADO အရှိန်မြှင့်ပါ။

ADO အရာဝတ္ထုများ

ADO Command ADO ချိတ်ဆက်မှု ADO အမှား ADO Field ADO Parameter ADO အိမ်ခြံမြေ ADO မှတ်တမ်း ADO မှတ်တမ်းအစုံ ADO တိုက်ရိုက်ကြည့်ရှုခြင်း။ ADO ဒေတာအမျိုးအစားများ

VBScript လုပ်ဆောင်ချက်ကို အစားထိုးပါ ။


❮ VBScript အကိုးအကားကို အပြီးသတ်ပါ။

Replace လုပ်ဆောင်ချက်သည် string တစ်ခု၏ သတ်မှတ်ထားသော အစိတ်အပိုင်းတစ်ခုကို အခြားစာကြောင်းတစ်ခုဖြင့် အကြိမ်အရေအတွက် သတ်မှတ်ပေးသည်။

အထားအသို

Replace(string,find,replacewith[,start[,count[,compare]]])

Parameter Description
string Required. The string to be searched
find Required. The part of the string that will be replaced
replacewith Required. The replacement substring
start Optional. Specifies the start position. Default is 1. All characters before the start position will be removed.
count Optional. Specifies the number of substitutions to perform.
Default value is -1, which means make all possible substitutions
compare Optional. Specifies the string comparison to use. Default is 0

Can have one of the following values:

  • 0 = vbBinaryCompare - Perform a binary comparison
  • 1 = vbTextCompare - Perform a textual comparison

ဥပမာများ

ဥပမာ ၁

"လှပသော" ဟူသောစကားလုံးကို "စိတ်ကူး" ဖြင့် အစားထိုးပါ။

<%

txt="This is a beautiful day!"
response.write(Replace(txt,"beautiful","fantastic"))

%>

အထက်ဖော်ပြပါ ကုဒ်၏ အထွက်သည်-

This is a fantastic day!

ဥပမာ ၂

စာလုံး "i" ကို "##" ဖြင့် အစားထိုးပါ။

<%

txt="This is a beautiful day!"
response.write(Replace(txt,"i","##"))

%>

အထက်ဖော်ပြပါ ကုဒ်၏ အထွက်သည်-

Th##s ##s a beaut##ful day!

ဥပမာ ၃

အက္ခရာ "i" ကို "##" ဖြင့် အနေအထား 15 တွင် အစားထိုးပါ။

ရာထူး 15 မတိုင်မီ စာလုံးအားလုံးကို ဖယ်ရှားကြောင်း သတိပြုပါ။

<%

txt="This is a beautiful day!"
response.write(Replace(txt,"i","##",15))

%>

အထက်ဖော်ပြပါ ကုဒ်၏ အထွက်သည်-

t##ful day!

ဥပမာ ၄

စာလုံး "i" ၏ ပထမအကြိမ် 2 ခုကို "##" ဖြင့် အနေအထား 1 တွင် အစားထိုးပါ-

<%

txt="This is a beautiful day!"
response.write(Replace(txt,"i","##",1,2))

%>

အထက်ဖော်ပြပါ ကုဒ်၏ အထွက်သည်-

Th##s ##s a beautiful day!

ဥပမာ ၅

အက္ခရာ "t" ကို "##" ဖြင့် စာသား၊ နှင့် ဒွိ၊ နှိုင်းယှဉ်ချက်ဖြင့် အစားထိုးပါ-

<%

txt="This is a beautiful day!"
response.write(Replace(txt,"t","##",1,-1,1) & "<br />")
response.write(Replace(txt,"t","##",1,-1,0))

%>

အထက်ဖော်ပြပါ ကုဒ်၏ အထွက်သည်-

##his is a beau##iful day!
This is a beau##iful day!

❮ VBScript အကိုးအကားကို အပြီးသတ်ပါ။