S
Steve Kershaw
Hi,
I need a way to bind a DirectoryInfo[] array to a GridView without any
errors.
The code I'm using to create the DirectoryInfo[] array is:
// Define the current directory
DirectoryInfo dir = new DirectoryInfo("C:\\Temp\\");
// Get the Directory info array
DirectoryInfo[] dirs = dir.GetDirectories();
This works fine, but everytime I try to bind it to the GridView I get
an error (something about LastWriteTime not found).
Can anybody help Please!!!
Thanks
Steve
I need a way to bind a DirectoryInfo[] array to a GridView without any
errors.
The code I'm using to create the DirectoryInfo[] array is:
// Define the current directory
DirectoryInfo dir = new DirectoryInfo("C:\\Temp\\");
// Get the Directory info array
DirectoryInfo[] dirs = dir.GetDirectories();
This works fine, but everytime I try to bind it to the GridView I get
an error (something about LastWriteTime not found).
Can anybody help Please!!!
Thanks
Steve