Here is an example...
I've sent datatable value from a form to a report viewer..
string sqlQuery1 = "SELECT * from table";
adp = new SqlDataAdapter(sqlQuery1, conn);
DataTable dt1 = new DataTable();
adp.Fill(dt1);
CRViewerAll cvphall = new CRViewerAll();
cvphall.dt = dt1;
cvphall.Show();
CRViewerAll page code
public partial class CRViewerAll : Form
{
public CRViewerAll()
{
InitializeComponent();
}
public DataTable dt = new DataTable();
}