resources为二进制格式,resx为XML文本格式,在VS编辑器中只能使用resx格式,但编译时,它会把resx格式转化为resources格式,显示中文时乱码,说明你把当前文化设置为繁体,但又找不到繁体的资源文件,所以是乱码。
   你把简体的资源文件作为系统默认资源,将繁体取名为:名称.big.resources
big你查一下MSDN,可能名称不对,记不清了。简体的是cn。包含进去编译就行了。

解决方案 »

  1.   

    默认资源文件与你的Web控件源程序同名xxx.resxResourceManager manager = new ResourceManager(this.GetType());
      

  2.   

    在应用程序里嵌入资源,可以避免用户因删除资源文件而造成应用程序出现错误。要使用资源文件中的文件,只需要按下面的方法调用即可:VB.NET 
    Function GetEmbeddedResource(ByVal strname As String) As System.IO.Stream
      Return System.Reflection.Assembly.GetExecutingAssembly.GetManifestResourceStream(strname)
    End FunctionC# 
    System.IO.Stream GetEmbeddedResource(string strname){
    return System.Reflection.Assembly.GetExecutingAssembly.GetManifestResourceStream(strname) ;
    }其中的参数strname必须是下面的格式:..,比如: "MyApplication.Icon1.ico"。参数是大小写敏感的。如果不正确或者缺少文件,将会出现返回Null的错误。