I am using DirectoryInfo to get the list of files from 1 directory and
then display it in grid. I am using ASP.NET with VB.NET code behind.
But I have to pick 2 different kind of files and leave rest alone. The
following code doesn't seem to be working. Where is the wrong
syntex..?
Expand|Select|Wrap|Line Numbers
- dgFileList.DataSource = myDirInfo.GetFiles("*.GIF|*.txt")
Cheers.