DirectoryInfo dirinfo = new DirectoryInfo(Server.MapPath("upload"));
        FileSystemInfo[] dirs 
= dirinfo.GetFileSystemInfos();
        
if (dirs.Length > 1)
        
{
            DropDownList1.DataSource 
= dirs;
            DropDownList1.DataBind();
        }
posted on 2007-12-17 20:55 不惊了 阅读(70) 评论(0)  编辑 收藏 所属分类: ASP.NET

标题  
姓名  
主页
Email (博主才能看到) 
验证码 *  看不清,换一张 [登录][注册]
内容(请不要发表任何与政治相关的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
"五向定位"职业成长路线公开课(上海、南京、大连)
Google站内搜索


相关链接: