none
How can i convert LINKtoSQL result to a report viewer data source ? RRS feed

  • Question

  •  Hi!

    I have the folowing problem:

    I've made a web service that has a method that lists certain data (depending on the parameter provided) from a table from my database. The method uses LinkToSQL that calls a stored procedure and returns an array: ListStoredProcedureNameResult[].

    I want to use this web method in a desktop application to generate a report to view in ReportViewer.

    How can i convert this "ListStoredProcedureNameResult[]" to a ReportViewer data source ?

    If i use a dataGridView its very easy and straightforward. All i have to do is:  

    dataGridView1.DataSource = WebServiceName.WebMethodName(params);


    Thanks,

    Chris

    Wednesday, December 3, 2008 11:43 PM