Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Dim dirInfo as New DirectoryInfo(Server.MapPath("/p1/q/csr rpt")) Dim arrFileInfo As Array Dim filesInfo As FileInfo Dim filesTable As New DataTable Dim drFiles As DataRow Dim dvFiles As DataView Dim ofn,ext As String Dim charCt as Integer filesTable.Columns.Add("Name", Type.GetType("System.String")) filesTable.Columns.Add("LastWriteTime", Type.GetType("System.DateTime")) ' Get File Info arrFileInfo = dirInfo.GetFiles("*.pdf") For Each filesInfo In arrFileInfo drFiles = filesTable.NewRow() ofn = filesInfo.Name ext = Right(ofn, 4) charCt = Instr(ofn, ".") -1 ofn = Mid(ofn, 1, charCt) drFiles("Name") = ofn drFiles("LastWriteTime") = filesInfo.LastWriteTime filesTable.Rows.Add(drFiles) Next filesInfo dvFiles = filesTable.DefaultView dvFiles.Sort = "LastWriteTime DESC" dg1.DataSource = dvFiles dg1.DataBind()
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.