none
vs2005 reportviewer問題 RRS feed

  • 一般討論

  •         Dim cmdreport As String = "Select * from sodetails"
            Dim dsReport As New ITIprojectDataSet

            Dim ad1 As New SqlClient.SqlDataAdapter(cmdreport, conReport)

            ad1.Fill(dsReport)


            Dim rds As New Microsoft.Reporting.WinForms.ReportDataSource
            rds.Name = "ITIprojectdataset_sodetails"
            rds.Value = dsReport.Tables(0)

            ReportViewer1.LocalReport.DataSources.Add(rds)

            ReportViewer1.LocalReport.Refresh()

     

    為何form load後沒有反應 沒顯示任何data

    - - 我是寫window application

    2007年4月25日 上午 02:07

所有回覆