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.
Protected Sub loadFileGrid() Dim filePaths() As String = Nothing If Session("files") = "tasks" Then filePaths = Directory.GetFiles(Server.MapPath(Session("taskFilePath"))) ElseIf Session("files") = "projects" Then filePaths = Directory.GetFiles(Server.MapPath(Session("projectFilePath"))) End If Dim files As List(Of ListItem) = New List(Of ListItem) For Each filePath As String In filePaths files.Add(New ListItem(Path.GetFileName(filePath), filePath)) Next GridView1.DataSource = files GridView1.DataBind() End Sub
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.