目的:创建可编辑(可输入)下拉框
步骤一:在VS2005中 新建WEB 控件库 WebControlLibrary1
步骤二:建立自定义控件类DropDownListExtend





















































































































步骤三: 编译工程,生成跟WEB控件库工程名字一样的DLL,如WebControlLibrary1.dll
步骤四: 在需要使用下拉框的工程添加应用(就是在其BIN目录里添加WebControlLibrary1.dll)
步骤五:具体应用:
页面代码如下:
















CS文件如下:







































目的:创建可编辑(可输入)下拉框
步骤一:在VS2005中 新建WEB 控件库 WebControlLibrary1
步骤二:建立自定义控件类DropDownListExtend
步骤三: 编译工程,生成跟WEB控件库工程名字一样的DLL,如WebControlLibrary1.dll
步骤四: 在需要使用下拉框的工程添加应用(就是在其BIN目录里添加WebControlLibrary1.dll)
步骤五:具体应用:
页面代码如下:
CS文件如下: