Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
185
Binding report to a class with parameters
posted

Hello,

I am using vb 2012 and Infragistics 13.2 and trying to bind my report to a class.

The class has getAppts function with to date arguments.

Here is my function:

    Public Function getAppts(StartDate As Date, EndDate As Date) As IEnumerable(Of dsReportQueries.ApptsByCreatedDateRow)
        Dim drList As New List(Of dsReportQueries.ApptsByCreatedDateRow)

        Dim taAppts As New dsReportQueriesTableAdapters.ApptsByCreatedDateTableAdapter
        Dim dtAppts As New dsReportQueries.ApptsByCreatedDateDataTable

        taAppts.FillByCreatedDate(dtAppts, StartDate, EndDate)

        For Each row As dsReportQueries.ApptsByCreatedDateRow In dtAppts.Rows
            drList.Add(row)
        Next

        Return drList
    End Function

My report is bound to the function.

How do I supply arguments to the report at run-time?

Thanks in advance

Parents
No Data
Reply Children
No Data