1. .resx 檔案為資源檔案 由系統自動生成
2.
1
<code><requiredfield isrequired=</code><code>"true"</code>
<code>errortext=</code><code>"<%$ resources:smcwebresource,inputnotnull_tip %>"</code>
<code>/></code>
裡面的寫法是 :在 app_globalresources 檔案夾中,可以有名為
smcwebresource.resx、smcwebresource.es.resx、smcwebresource.de.resx
等的資源檔案,為每個想支援的語言提供一個 smcwebresource資源檔案。smcwebresource.resx
檔案表示在沒有顯式設定區域性的情況下使用的非特定(後備)資源。 在 smcwebresource.resx
檔案中,可能有如下項:
<code><data name=</code><code>"inputnotnull_tip"</code><code>><value>thank you very much!</value></data></code>