如何把dataGridView的数据放到水晶报表中
string sql = "select * ,(QTY*(ISNULL(SH,0)))L_SH from V_PRQT where PRQNO='" + textBox2.Text + "'";
//dataset.Tables["View_1"].Clear();
dataAdapter = new SqlDataAdapter(sql, Class1.connection);
dataAdapter.Fill(dataset, "View_1");
dataGridView1.DataSource = dataset.Tables["View_1"];
数据源是View_1吗?
但是我在报表中找不到啊