Non ProgramThe generated text can be displayed. However, only e text generated by the program can be displayed. All Chinese characters? Number, which is caused by database garbled characters. The solution can be considered as follows:
Method 1:
Use Microsoft Access 2000 to open the database. Choose tools> Database Utilities> convert database> to an earlier access database version. OK!
Method 2:
Later, I subscribed to Microsoft's newsgroup. I found a topic discussed in Microsoft's newsgroup DOTNET. Framework. aspplus. General.ArticleTo add <% @ codePage = "936" %> to the beginning of each page, a bit similar to <% @ Page C %> in JSP, sure enough !!!
The example is shown below:
<% @ CodePage = "936" %>
<% @ Import namespace = "system. Data" %>
<% @ Import namespace = "system. Data. Ado" %>
<% @ Import namespace = "system. Globalization" %>
<HTML>
<Head>
<Meta http-equiv = "Content-Type" C>
</Head>
Method 3:
Add a config. Web file to the web directory. Create a config. Web file with the following content in the web directory:
<Configuration>
<Globalization
Requestencoding = "UTF-8"
Resp
/>
</Configuration>