使用asp.net搜索目录 [英] search the directory using asp.net

查看:93
本文介绍了使用asp.net搜索目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1)如何将主目录放入数据集中. 2)如何使用vb.net搜索主目录和子目录.数据集没有目录.下半部分取决于您是否要在服务器上搜索文件夹,请使用server.MapPath查找根目录,然后使用常规的System.IO方法.如果要在客户端上搜索,则不能.


1) how to get the main directory into the dataset. 2) how to search the main directory and sub directories using vb.net.

解决方案

The first half of your question makes no sense.  A dataset doesn''t HAVE a directory.  The second half, it depends, if you want to search folders on the server, use server.MapPath to find the root, then use normal System.IO methods.  If you want to search on the client, you cannot.


这篇关于使用asp.net搜索目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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