我如何在asp.net中填充手动或静态下拉列表? [英] how could i populate manual or static dropdown list in asp.net?

查看:72
本文介绍了我如何在asp.net中填充手动或静态下拉列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何在asp.net中填充手动或静态下拉列表?

how could i populate manual or static dropdown list in asp.net?

推荐答案

手动下拉列表示例:

Manual DropDown list Sample:

<asp:DropDownList ID="ddlType" Width="200px" runat="server" >
                            <asp:ListItem>--Select One--</asp:ListItem>
                            <asp:ListItem>Yes</asp:ListItem>
                            <asp:ListItem>No</asp:ListItem>
                             </asp:DropDownList>


这篇关于我如何在asp.net中填充手动或静态下拉列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆