Hi all,
How do i get only some attributes of a file say Name, Length and DateModified displayed in a gridview.
I am currently using the the code below but it list all the attributes.
DirectoryInfo dirInfo = new DirectoryInfo(strpath);
FileInfo[] fileInfo = dirInfo.GetFiles("*.XML", SearchOption.TopDirectoryOnly);
RadGrid1.DataSource = fileInfo;
RadGrid1.DataBind();
thanks
Go to the complete details ...