Click here to Skip to main content
15,741,692 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,
This is my code for load Report:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack() Then

                Dim ds As DataSet
                Dim parameters As Object() = New Object() {""}
                ds = ConnectionSQL.GetDataSet("Get_ThongTinThueBaoIn", parameters)

                ds.Tables(0).TableName = "ThueBao"
                Dim rp As New CrystalReport
                CrystalReportViewer1.ReportSource = rp

            Catch ex As Exception
                ScriptManager.RegisterStartupScript(Me, Me.[GetType](), "Thông báo", "alert('Lỗi:" + ex.Message & "');", True)
            End Try

        End If
    End Sub

and result[^]

that's right, but when click to one of row in group tree, it show error dialog:[^]

thanks for help.
Updated 30-Sep-13 18:28pm

1 solution

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900