asp.net 2.0 Club Web Site Starter Kit patch

Source: Internet
Author: User
Asp.net|web

asp.net2.0 Club Web Site Starter Kit has a major flaw: it does not support Chinese.

Here are two solutions for your reference

Method One:

1 because most of us are developed with SQL SERVER2005 Express, the varchar type of each table is changed to nvarchar after the data table needed by the club is established.

2 Replace all ansistring in the Dataset.xsd file in the App_Code directory with string.

can solve this problem.

It took me about 10 minutes to find and modify the bug above, but it was not easy for everyone to solve the problem ^_^ (joking)

The second solution is to use the SQL 2000 database to change the default language from Chinese to English.

Of course, if you use SQL 2000, you will also need to configure Web.config and provide a custom provider model or rewrite the built-in provider.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.