How can I pass dataset to report viewer in visual studio. Note I already create the dataset I just need to pass it?
All I get so far is this.
string sql = "SELECT * FROM product where dat>='" + yy + "' and dat<'" + xx + "'and product_sold>0 and total >0";
SqlDataAdapter dscmd = new SqlDataAdapter(sql, con);
DataSet5 ds = new DataSet5();
Now, I want to pass to report viewer?
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)