From: Bury, Manchester UK
I'm trying to post the Summary reports from ISA 2004 standard ed to our internal intranet page or at least put a link on there to display the daily summary. I am having problems doing this as the published report folder name changes every day as follows...
How can i get the reports to publish into a folder just entitled 'daily summary' with no date info on the end? This would then enable me to put a link on our intranet to the published location such as...
From: Norfolk, VA
As far as I know, there is no way of making them not in a folder. I too have them in our intrnet, but I just enumerate all sub folders. This is written in ASP.net
sub Getwebreports() Dim dataSet As System.Data.DataSet = New System.Data.DataSet Dim dirInfo as New DirectoryInfo("E:\Intranet\admin\ISAreports") dim dt as new datatable Dim myDataColumn As DataColumn Dim myDataRow As DataRow
Dim fsi As directoryInfo ' loop through our array of FileSysteminfo objects For Each fsi In dirInfo.Getdirectories() try myDataRow = dt.NewRow() myDataRow("Name") = fsi.Name myDataRow("CreationTime") = fsi.CreationTime dt.rows.Insertat(myDataRow,dt.rows.count) catch ex as exception end try next Dim DV As DataView = New DataView(dt) dv.sort = "CreationTime DESC" datagrid2.datasource=DV datagrid2.databind() end sub