List all files in a folder in an asp.net gridview




















Add your solution here. OK Paste as. Treat my content as plain text, not as HTML. Existing Members Sign in to your account. This email is in use. Do you need your password? Submit your solution! When answering a question please: Read the question carefully.

Understand that English isn't everyone's first language so be lenient of bad spelling and grammar. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem.

Insults are not welcome. Don't tell someone to read the manual. Also added in this demo is to extract and browse a list of files with a particular extension. For this purpose, we will use an Asp. Net Listbox control, which will have a predefined list of file types. Once, you choose a particular File type you will click a button to postback information to the server. IO namespace. Partial Class VBCode1. Inherits System. End Sub.

Protected Sub BindGridview. End Class. Newer Post Older Post Home. Subscribe to: Post Comments Atom. Interview Questions in ASP. NET Framework Simple login form example in asp. Search This Site. Get Latest articles in your inbox for free. Enter your email address:. Tags Asp. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?

Collectives on Stack Overflow. Learn more. NET Ask Question. Asked 7 years, 6 months ago. Active 7 years, 6 months ago. Viewed 2k times. I've made an image that shows what the application must be able to do: list the directories list the files and subdirectories download the file when you click on it Could this be done using a gridview, or what can I use to do this?

Thanks in advance..!



0コメント

  • 1000 / 1000