ASP.NET LCase(),ToLower() เปลี่ยนข้อความให้อยู่ในรูปแบบตัวอักษรพิมพ์เล็ก
Syntax
LCase(String)
String.ToLower()
[code]Sample[/head]
<%@ Page Language="VB" %>
<script runat="server">
Sub Page_Load(sender As Object, e As EventArgs)
Dim strString As String = "I Love ThaiCreate.Com Version 2009 "
Me.lblText1.Text = LCase(strString)
Me.lblText2.Text = strString.ToLower()
End Sub
</script>
<html>
<head>
</head>
<body>
<form runat="server">
<asp:Label id="lblText1" runat="server"></asp:Label>
<br />
<asp:Label id="lblText2" runat="server"></asp:Label>
</form>
</body>
</html>