Binding Programatically Generated Datasets To Report Viewer

Posted by mavera on Stack Overflow See other posts from Stack Overflow or by mavera
Published on 2010-05-06T08:31:53Z Indexed on 2010/05/06 8:38 UTC
Read the original article Hit count: 370

Today I researched about reportviewer to use it in my project. As I see the samples and tutorials in the web, We should create an dataset file to Solution Explorer and bind it to report viewer to show data.

However I want to create dataset programatically like sample code below. And I want to bind it.

Dim ds As New DataSet
DB_Gateway.myDataSet("select * from users", ds, "users")

How can I do it?

© Stack Overflow or respective owner

Related posts about reporting

Related posts about reportviewer