ASP.Net/Session Cookie/Session Local ID — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 14:53, 26 мая 2010
Session Current locale ID (VB.net)
<source lang="csharp">
<%@ Page Language="vb" %> <html>
<head> <script runat="server"> Sub Page_Load() Message.Text = "Current locale ID is: " & Session.LCID & "</br>" Message.Text &= "Current date and time is: " & DateTime.Now() & "</br>" Session.LCID = 1036 "France Message.Text &= "Current locale ID is: " & Session.LCID & "</br>" Message.Text &= "Current date and time is: " & DateTime.Now() & "</br>" End Sub </script> </head>
<body>
<asp:label id="Message" runat="server"/>
</body> </html>
</source>