Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!
Dim Ds As DataSet Dim myColumn As DataColumn ' Create new DataColumn, set DataType, ColumnName and add to DataTable. myColumn = New DataColumn() myColumn.DataType = System.Type.GetType("System.String") myColumn.ColumnName = "ImageUrlField" Ds.Tables("Banners").Columns.Add(myColumn) Dim dirInfo As New DirectoryInfo(Server.MapPath("~/Images/HeaderImages/")) For Each dirInfo In Dir.GetDirectories() DataRow(dr = Ds.Tables("Banners").Rows.NewRow()) dr("ImageUrlField") = dirInfo.GetFiles Ds.Tables("Banners").Rows.Add(dr) Next DataList1.DataSource = Ds DataList1.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.