怎么重新赋值给DropDownList?
我做了一个新闻发布页面add.aspx,里面做了一个DropDownList代码如下
文章所属栏目:<asp:DropDownList ID="tb" runat="server" AutoPostBack="True" >
<asp:ListItem Value="xxdj">鑫祥点金1</asp:ListItem>
<asp:ListItem Value="hjzx">黄金资讯2</asp:ListItem>
<asp:ListItem Value="nyxx">能源信息3</asp:ListItem>
<asp:ListItem Value="jjzb">经济指标4</asp:ListItem>
</asp:DropDownList>
其中xxdj hjzx nyxx jjzb为四个表名。我通过DropDownList的选择来确定我的文章放在哪一个表。然后通过Response.Redirect("addnoice.aspx?ddl=" + tb.SelectedValue.ToString() + "")来把DropDownList的表名传递给addnoice.aspx页。发布是成功的。在addnoice.aspx 页面里有二个按钮一个是“继续发布文章”另外一个是“更改文章”继续发布文章按键我做点击事件 Response.Redirect("adda.aspx?id=mych"); 其中mych的值为mych = Request.QueryString["ddl"]这样就把表名传给了adda.aspx里面。然后我想把adda.aspx里面的DropDownList值重新赋值让它显示刚才我发布文章的那个表。要怎么重写呢!!???