1 Validate only alphabets Function In VB.Net [Programming] 10th October 2009, 2:03 pm
sHa92
Founder
က်ေနာ္ အခု ၿပန္လည္မွ်ေ၀ေပးမယ့္ Code ကေတာ့ user ဆီကေနၿပီးေတာ့ A to Z ကို သာလက္ခံသြားမယ့္ Code ၿဖစ္ပါတယ္။
ဘာမွေတာ့ မခက္ခဲပါဘူး။ Beginner ေတြအတြက္ Logic Sharing ၿပန္လုပ္တဲ့သေဘာပါ။
ဘာမွေတာ့ မခက္ခဲပါဘူး။ Beginner ေတြအတြက္ Logic Sharing ၿပန္လုပ္တဲ့သေဘာပါ။
- Code:
Function CheckAtoZ(chr1) As Boolean
CheckAtoZ = True
If ((Asc(chr1) < 65) Or (Asc(chr1) > 90)) Then
CheckAtoZ = False
End If
End Function