| |

VerySource

 Forgot password?
 Register
Search
View: 607|Reply: 1

How to read the file name of a file in a folder into a DataList in C #

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Great Britain

Post time: 2020-1-20 23:40:01
| Show all posts |Read mode
In C #, how to bind the file names of the files in the folder to the DataList and put the file names in the DataList, and you can add, delete, and modify these files.
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-1-30 12:09:01
| Show all posts
DataSource = DirectoryInfo.GetFiles ();
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list