none
reportViewer1 数据绑定 RRS feed

  • 问题

  •         private void Form2_Load(object sender, EventArgs e)
            {

                string Sqlstring = "SELECT EmployeeID, LastName, FirstName FROM dbo.Employees";

                SqlDataAdapter da = new SqlDataAdapter(Sqlstring, Sqlstr.GetCon());

                DataSet ds = new DataSet();

                da.Fill(ds, "Temp");


                this.reportViewer1.RefreshReport();

     

    请问如何将DS绑定到reportViewer1?

    2010年6月6日 17:22

答案

全部回复