J
JANEMAN
Hi guyz.
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..?
dgFileList is a DataGrid from ASP.NET Can some please help me..?
Cheers.
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..?
Code:
dgFileList.DataSource = myDirInfo.GetFiles("*.GIF|*.txt")
dgFileList is a DataGrid from ASP.NET Can some please help me..?
Cheers.