我不管怎么改些,读出来的值都是四川.我都弄了2个小时了。不晓得什么地方错了<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" %><%@ Import NameSpace="System.Data" %>
<%@ Import NameSpace="System.Data.OleDb" %>
<script language="vb" runat="server">
Sub Page_Load(Sender As Object, E as EventArgs)
         
         If Not Page.IsPostBack Then
 end if
 end subSub okpass(Sender As Object, E as EventArgs)dim shengfengx as string=""
shengfengx=shengfeng.SelectedItem.text
dim timex as string=""response.write(shengfengx & timex)end sub
</script>
<html>
<head><title>无标题文档</title>
</head>
<body>
<form  name="form1"  runat="server">
  <table width="100%" border="1" cellspacing="0">
    <tr>
      <td colspan="2">1. 您所在省份:<asp:DropDownList viewstate="true"  ID="shengfeng" runat="server">
        <asp:ListItem value="四川">四川</asp:ListItem>
<asp:ListItem value="北京">北京</asp:ListItem>
<asp:ListItem value="重庆">重庆</asp:ListItem>
<asp:ListItem value="福建">福建</asp:ListItem>
<asp:ListItem value="广东">广东</asp:ListItem>
<asp:ListItem value="广西">广西</asp:ListItem>
<asp:ListItem value="贵州">贵州</asp:ListItem>
<asp:ListItem value="甘肃">甘肃</asp:ListItem>
<asp:ListItem value="湖南">湖南</asp:ListItem>
<asp:ListItem value="湖北">湖北</asp:ListItem>
<asp:ListItem value="黑龙江">黑龙江</asp:ListItem>
<asp:ListItem value="河北">河北</asp:ListItem>
<asp:ListItem value="海南">海南</asp:ListItem>
<asp:ListItem value="河南">河南</asp:ListItem>
<asp:ListItem value="江苏">江苏</asp:ListItem>
<asp:ListItem value="江西">江西</asp:ListItem>
<asp:ListItem value="吉林">吉林</asp:ListItem>
<asp:ListItem value="辽宁">辽宁</asp:ListItem>
<asp:ListItem value="宁夏">宁夏</asp:ListItem>
<asp:ListItem value="内蒙古">内蒙古</asp:ListItem>
<asp:ListItem value="山西">山西</asp:ListItem>
<asp:ListItem value="陕西">陕西</asp:ListItem>
<asp:ListItem value="天津">天津</asp:ListItem>
<asp:ListItem value="山东">山东</asp:ListItem>
<asp:ListItem value="云南">云南</asp:ListItem>
<asp:ListItem value="新疆">新疆</asp:ListItem>
<asp:ListItem value="西藏">西藏</asp:ListItem>
<asp:ListItem value="浙江">浙江</asp:ListItem>
<asp:ListItem value="其他">其他</asp:ListItem>

      </asp:DropDownList>
   <tr>
      <td>&nbsp;</td>
      <td><asp:Button ID="okpassbutton" OnClick="okpass" Text="确认提交" runat="server" /></td>
    </tr>
  </table>
</form>我把原来写的代码拿来看了,和原来的没有什么差别,但就是读不出我选的值,求助阿!