发布新闻 给标题加颜色,并且到数据库,如何写代码

发布新闻 给标题加颜色,并且到数据库,怎么写代码
本帖最后由 pengxiaoshuang0 于 2014-10-31 23:47:37 编辑

发布新闻 给标题加颜色,并且到数据库,怎么写代码,发不到数据库



发布新闻 给标题加颜色,并且到数据库,如何写代码


标题:<asp:TextBox ID="TextBox1" runat="server" MaxLength="45"  
        Width="450px"></asp:TextBox>最多45个字&nbsp;&nbsp;
        颜色分类:<asp:DropDownList ID="DropDownList1" runat="server">
    <asp:ListItem></asp:ListItem>
  <asp:ListItem>黄色</asp:ListItem>
<asp:ListItem>红色</asp:ListItem>
<asp:ListItem>蓝色</asp:ListItem>
<asp:ListItem>紫色</asp:ListItem>
<asp:ListItem>绿色</asp:ListItem>
    </asp:DropDownList>


------解决思路----------------------
你的服务器代码呢?
下个断点,看看DropDownList1的值是多少。