资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.xml.Linq;
using System.Threading;
using System.Globalization;


namespace LocalCultureResx
{
    public partial class _Default : System.Web.UI.Page
    {

        public string currDate = string.Empty;
        protected void Page_Load(object sender EventArgs e)
        {
            if (!IsPostBack)

                ddlCulture.SelectedValue =CultureInfo.CurrentCulture.Name.ToString();

                lblCulture.Text = CultureInfo.CurrentCulture.Name.ToString();

                if (lblCulture.Text.ToLower() == “en-us“)
                {
                    currDate =Common_DateFormat.DisplayDateByCultureName( System.DateTime.Now11);            
                }

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-01-16 10:53  LocalCultureResx\
     目录           0  2013-01-22 10:14  LocalCultureResx\LocalCultureResx\
     目录           0  2013-01-23 16:21  LocalCultureResx\LocalCultureResx\App_Data\
     目录           0  2013-01-22 10:07  LocalCultureResx\LocalCultureResx\App_GlobalResources\
     文件        3507  2013-01-22 09:43  LocalCultureResx\LocalCultureResx\App_GlobalResources\lang.Designer.cs
     文件           0  2013-01-22 10:07  LocalCultureResx\LocalCultureResx\App_GlobalResources\lang.En-US.designer.cs
     文件        6034  2013-01-22 10:07  LocalCultureResx\LocalCultureResx\App_GlobalResources\lang.En-US.resx
     文件           0  2013-01-22 09:43  LocalCultureResx\LocalCultureResx\App_GlobalResources\lang.ZH-CN.designer.cs
     文件        6025  2013-01-22 09:43  LocalCultureResx\LocalCultureResx\App_GlobalResources\lang.ZH-CN.resx
     文件        6025  2013-01-22 09:43  LocalCultureResx\LocalCultureResx\App_GlobalResources\lang.resx
     目录           0  2013-01-22 09:43  LocalCultureResx\LocalCultureResx\App_LocalResources\
     文件        6628  2013-01-16 15:17  LocalCultureResx\LocalCultureResx\App_LocalResources\Default.aspx.en-US.resx
     文件        6628  2013-01-22 09:43  LocalCultureResx\LocalCultureResx\App_LocalResources\Default.aspx.resx
     文件        6628  2013-01-16 15:17  LocalCultureResx\LocalCultureResx\App_LocalResources\Default.aspx.zh-CN.resx
     文件        1906  2013-01-22 10:14  LocalCultureResx\LocalCultureResx\Default.aspx
     文件       18281  2013-01-22 10:13  LocalCultureResx\LocalCultureResx\Default.aspx.cs
     文件        3616  2013-01-22 09:45  LocalCultureResx\LocalCultureResx\Default.aspx.designer.cs
     文件        5892  2013-01-18 08:48  LocalCultureResx\LocalCultureResx\LocalCultureResx.csproj
     文件        1217  2013-01-18 08:48  LocalCultureResx\LocalCultureResx\LocalCultureResx.csproj.user
     目录           0  2013-01-16 10:52  LocalCultureResx\LocalCultureResx\Properties\
     文件        1322  2013-01-16 10:52  LocalCultureResx\LocalCultureResx\Properties\AssemblyInfo.cs
     文件        7302  2013-01-16 15:20  LocalCultureResx\LocalCultureResx\Web.config
     目录           0  2013-01-22 10:07  LocalCultureResx\LocalCultureResx\bin\
     文件       11776  2013-01-22 10:13  LocalCultureResx\LocalCultureResx\bin\LocalCultureResx.dll
     文件       19968  2013-01-22 10:13  LocalCultureResx\LocalCultureResx\bin\LocalCultureResx.pdb
     目录           0  2013-01-16 10:52  LocalCultureResx\LocalCultureResx\obj\
     目录           0  2013-01-22 10:13  LocalCultureResx\LocalCultureResx\obj\Debug\
     文件         363  2013-01-22 10:13  LocalCultureResx\LocalCultureResx\obj\Debug\LocalCultureResx.csproj.FileListAbsolute.txt
     文件       11776  2013-01-22 10:13  LocalCultureResx\LocalCultureResx\obj\Debug\LocalCultureResx.dll
     文件       19968  2013-01-22 10:13  LocalCultureResx\LocalCultureResx\obj\Debug\LocalCultureResx.pdb
     目录           0  2013-01-22 10:07  LocalCultureResx\LocalCultureResx\obj\Debug\TempPE\
............此处省略5个文件信息

评论

共有 条评论