90dd8bb5124b28a84ca939c2ae328abded809b03
FAQ/PostExecuteReportSet.md
| ... | ... | @@ -0,0 +1,25 @@ |
| 1 | +#PostExecuteReportSet |
|
| 2 | + |
|
| 3 | +[[_TOC_]] |
|
| 4 | + |
|
| 5 | +##About |
|
| 6 | + |
|
| 7 | +Represents a method that allows operations to be performed after executing a ReportSet and before displaying it to the screen. |
|
| 8 | + |
|
| 9 | +##C♯ Example |
|
| 10 | + |
|
| 11 | +```csharp |
|
| 12 | + |
|
| 13 | +public override void PostExecuteReportSet(ReportSet reportSet) |
|
| 14 | +{ |
|
| 15 | + File.WriteAllText(string.Format("C:\\Backup\\Reports\\{0}\\{1}.xml", reportSet.ReportCategory, reportSet.ReportName), reportSet.WriteXml()); |
|
| 16 | +} |
|
| 17 | +``` |
|
| 18 | + |
|
| 19 | +##VB.NET Example |
|
| 20 | + |
|
| 21 | +```visualbasic |
|
| 22 | +Public Overrides Sub PostExecuteReportSet(reportSet As ReportSet) |
|
| 23 | + File.WriteAllText(String.Format("C:\\Backup\\Reports\\{0}\\{1}.xml", reportSet.ReportCategory, reportSet.ReportName), reportSet.WriteXml()) |
|
| 24 | +End Sub |
|
| 25 | +``` |
|
| ... | ... | \ No newline at end of file |