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.

Comments

  • edited 9:21PM
    Hello,

    Here is the VB.Net equivalent:

    Dim report as SimpleListReport = New SimpleListReport
    WebReport1.Report = report
    WebReport1.RegisterDataAsp(report, your_data, "your_data_name")

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.