dropdownlist邦定初始值

#region 事件:设定一级类别初始值
    protected void DropClassType_DataBound(object sender, EventArgs e)
    {
        DropClassType.Items.Insert(0, new ListItem(" ", " "));
        DropClassType.Text = " ";
    }
    #endregion
posted on 2008-05-24 11:33  freexiaoyu  阅读(431)  评论(0编辑  收藏  举报