![]() ![]() ![]() I have a web page that is supposed to display a crystal report. Protected Sub Page_Unload(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.UnloadĬonverting Crystal Reports 9 report to Crystal Reports. ORpt.SetDataSource(_GeneralProduct.oDataTable)ĭropDownList1.DataTextField = "ProductID"ĭropDownList1.DataValueField = "ProductID"ĭropDownList1.DataSource = _GeneralProduct.oDataTableĬrystalReportViewer1.EnableDatabaseLogonPrompt = False ORpt.Load(Server.MapPath("CrystalReport2.rpt"))ĭim _GeneralProduct As New GeneralProduct Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load The class return the data table is working fine as the DropDownList1 indeed listed 30 records. ![]() But no records were shown in the report when run on IDE. I have return a datatable from a class, set the viewer reportsource datasource to the datatable.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |