Example OnStartReport event handler using VB
Can anyone share with me an example OnStart event handler using VB for using an ASP.NET report as a class?
I am working with ASP.NET and the Programmer Manual provide a nice example using c#, but I could use an example using VB
Example of the OnStartReport event handler using C#:
SimpleListReport report = new SimpleListReport();
report.RegisterDataAsp(your_data, "your_data_name");
WebReport1.Report = report;
I am storing and using a report as a VB.NET Class, using version 1.4.3.0. Thank you in advance for any help offered.
I am working with ASP.NET and the Programmer Manual provide a nice example using c#, but I could use an example using VB
Example of the OnStartReport event handler using C#:
SimpleListReport report = new SimpleListReport();
report.RegisterDataAsp(your_data, "your_data_name");
WebReport1.Report = report;
I am storing and using a report as a VB.NET Class, using version 1.4.3.0. Thank you in advance for any help offered.
Comments
Here is the VB.Net equivalent:
Dim report as SimpleListReport = New SimpleListReport
WebReport1.Report = report
WebReport1.RegisterDataAsp(report, your_data, "your_data_name")