FAQ/ListReports.md
... ...
@@ -98,7 +98,7 @@ public override ReportInfo[] ListReports() {
98 98
99 99
###DatabaseAdHocConfig
100 100
101
-```
101
+```visualbasic
102 102
Public Class CustomAdHocConfig
103 103
Inherits Izenda.AdHoc.DatabaseAdHocConfig
104 104
... ...
@@ -124,6 +124,6 @@ Public Class CustomAdHocConfig
124 124
125 125
If command.Connection.State = System.Data.ConnectionState.Open Then command.Connection.Close()
126 126
Return DirectCast(reportNames.ToArray(GetType(Izenda.AdHoc.ReportInfo)), Izenda.AdHoc.ReportInfo())
127
- }
128
-}
127
+ End Sub
128
+End Class
129 129
```
... ...
\ No newline at end of file