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?