简体   繁体   中英

Browse to a file directory and display its files in a listview

Would anyone offer tips, links, code snippets on how to browse to a file folder from within an ASP.NET 3.5 web application and list the folder contents within a ListView?

Regards, Rey R. [neophyte web application developer]

I assume you mean at the client? In which case, using regular methods you are limited to the <input type="file"/> and whatever that does in your user's browser.

Beyond that, you need additional tools; for example, flash or Silverlight - which would allow access, but even that may be sand-boxed for security.

You certainly can't list the user's files from the server.

Upload Multiple Files in ASP.NET using jQuery

http://www.dotnetcurry.com/ShowArticle.aspx?ID=317

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM