在MSDN(http://msdn.microsoft.com/library/en-us/vbcon/html/vbtskselectingencodingforwebformsglobalization.asp?frame=true)上有这样一段说明:
In HTML view, add the encoding values to the page directive. 
<%@ Page ResponseEncoding="utf-8" RequestEncoding="utf-8"%>
Note   
You can use the Page directive to specify any attribute except for fileEncoding, because it applies to the file itself. You can use the globalization section of the Web.config file to specify any attribute, including fileEncoding. 
这段话说,Page对象可以使用除fileEncoding之处的所有属性,在web.Config的globalization节中可以支持包括fileEncoding在内的所有属性
=======================================================================
MSDN写错了。
我查了sdk文档,也没有发现有支持RequestEncoding属性。

解决方案 »

  1.   

    你这样写试试<%@ Page Language="C#" ResponseEncoding="gb2312" %>
    <%//@ Page Language="C#" %>
    <form action="1.aspx" method="post" runat="server">
    选择:
    <asp:dropdownlist ID="mylist" runat="server">
            <asp:listitem value=0>唐工fff</asp:listitem>
            <asp:listitem value=1>白同志</asp:listitem>
            <asp:listitem value=2>秋叶</asp:listitem>
    </asp:dropdownlist>
    <asp:button  ID="myb" runat="server" Text="点击" OnClick="MyClick" />
    <asp:label ID="myLable" runat="server" />
    </form>
    <script language="C#" runat=server>
    void MyClick(Object sender, EventArgs e)
    {
       myLable.Text = "您好,您选择了:" + mylist.SelectedItem;
    }
    </script>
      

  2.   

    关键是ResponseEncoding="gb2312",多了它就不行!
    这句是Dreamweaver MX自动产生