当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

    摘要: jive 我就不多说了是一个功能强大的免费的论坛 欢迎访问jive的汉化测试版! http://jive.sczcedu.com:8080/jsp/jive/ 也许还存在bug 希望大家多提意见 在此愿意与大家交流jive的心得, ......
 ·vbscript调用子程序问题    »显示摘要«
    摘要: 请看下面一段程序: 1 <html> 2 <head> 3 <title>文件列表</title> 4 5 <script language="vbscript"> 6 function delit(str) 7 msgbox "str" 8 end function 9 </scri......


如何在dropdownlist中输入内容

如何在dropdownlist中输入内容??是不是不能输入,如果能,要改哪个属性呢???

NO.1   作者: jtdo

你说的是添加Item,还是想直接把DropDownList当文本框使用向里面添加东西?如果是前者则按照   luoy3551(传佩)   说得做就行了,如果是后者那么你想都不要想了。

NO.2   作者: fxmpch

1、方法一:  
  <asp:dropdownlist   id="ddlAccessType"   runat="server">  
  <asp:ListItem   Value="0">无权限</asp:ListItem>  
  <asp:ListItem   Value="1">浏览</asp:ListItem>  
  <asp:ListItem   Value="11">浏览、添加</asp:ListItem>  
  <asp:ListItem   Value="101">浏览、编辑</asp:ListItem>  
  <asp:ListItem   Value="111">浏览、编辑、添加</asp:ListItem>  
  <asp:ListItem   Value="1111">浏览、添加、编辑、删除</asp:ListItem>  
  </asp:dropdownlist></TD>  
  2、方法二:  
  dropdownlist.items.insert(i,"??")  
        dropdownlist.items.item(i).value=??  
  循环就行了

NO.3   作者: imfine

自己写控件就可以


    摘要: 入题 ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE