<%@ Page Language="VB" %> <script runat="server"> Sub Page_Load(sender As Object, e As EventArgs) Response.write ("SessionID = " & Session.SessionID() &"<br><br>") Response.write("Default LCID = " & Session.LCID & "<br>") Response.write("Date Format = " & Date.ToDay() & "<br>") Response.write("Currency Format = " & FormatCurrency(100) & "<br><br>") Session.LCID = 1054 '*** Thailand Zone ***' Response.write("English - United States LCID = " & Session.LCID & "<br>") Response.write("Date Format = " & Date.ToDay() & "<br>") Response.write("Currency Format = " & FormatCurrency(100) & "<br><br>") End Sub </script> <html> <head> <title>ThaiCreate.Com ASP.NET - Session Object</title> </head> <body> <form runat="server"> </form> </body> </html>
ช่วยกันสนับสนุนรักษาเว็บไซต์ความรู้แห่งนี้ไว้ด้วยการสนับสนุน Source Code 2.0 ของทีมงานไทยครีเอท