Folder items sorting Asp.net 1.1
-
Hi everyone, I am working with Asp.net 1.1 I want to list folder items (newly add first or only newly add items only (display in datagrid)) sorting i am trying this code Dim objFSO, objFile, objFolder objFSO = Server.CreateObject("Scripting.FileSystemObject") objFolder = objFSO.GetFolder(Server.MapPath("~/big/")) For Each objFile In objFolder.Files Response.Write(objFile.Name & " : ") Response.Write(objFile.DateLastModified & "<br>") Next objFolder = Nothing objFSO = Nothing please can any one help me on this script or any other Thanks
Kirthi
-
Hi everyone, I am working with Asp.net 1.1 I want to list folder items (newly add first or only newly add items only (display in datagrid)) sorting i am trying this code Dim objFSO, objFile, objFolder objFSO = Server.CreateObject("Scripting.FileSystemObject") objFolder = objFSO.GetFolder(Server.MapPath("~/big/")) For Each objFile In objFolder.Files Response.Write(objFile.Name & " : ") Response.Write(objFile.DateLastModified & "<br>") Next objFolder = Nothing objFSO = Nothing please can any one help me on this script or any other Thanks
Kirthi
kirthikirthi wrote:
please can any one help me on this script
What is the problem?
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article
-
kirthikirthi wrote:
please can any one help me on this script
What is the problem?
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article
Thx for reply I want to list folder items (Listing folder items(images) in datagrid) But i want show (newly added first or only newly added items in the folder and display in datagrid) I am trying this code Dim objFSO, objFile, objFolder objFSO = Server.CreateObject("Scripting.FileSystemObject") objFolder = objFSO.GetFolder(Server.MapPath("~/big/")) For Each objFile In objFolder.Files Response.Write(objFile.Name & " : ") Response.Write(objFile.DateLastModified & "<br>") Next objFolder = Nothing objFSO = Nothing Thank you
Kirthi
-
Hi everyone, I am working with Asp.net 1.1 I want to list folder items (newly add first or only newly add items only (display in datagrid)) sorting i am trying this code Dim objFSO, objFile, objFolder objFSO = Server.CreateObject("Scripting.FileSystemObject") objFolder = objFSO.GetFolder(Server.MapPath("~/big/")) For Each objFile In objFolder.Files Response.Write(objFile.Name & " : ") Response.Write(objFile.DateLastModified & "<br>") Next objFolder = Nothing objFSO = Nothing please can any one help me on this script or any other Thanks
Kirthi