Problem with RegisterData on ASP.NET
Hi i'm trying Fast-Report on a simple ASP.NET project. I have designed a simple report that shows all records of a table from SQLServer. Everything runs ok. The problem comes when i try to load only one record of the table. I'm using this code:
But the report still shows all the records of the table. I've checked that the dataset has the record. Does the demo version allow this use? See the attached file to check the report table alias an tablename.
Thanks
   Â
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Me.WebReport1.ReportFile = "fast.frx"
        Me.WebReport1.Prepare()
    End Sub
    Protected Sub WebReport1_StartReport(sender As Object, e As EventArgs) Handles WebReport1.StartReport
        Dim r As FastReport.Report = WebReport1.Report
        Dim ds As New LotesDS
        Dim t As New LotesDSTableAdapters.LOTESTableAdapter
        t.FillByID(ds.LOTES, 1)
        r.RegisterData(ds, "LOTES")
    End Sub
But the report still shows all the records of the table. I've checked that the dataset has the record. Does the demo version allow this use? See the attached file to check the report table alias an tablename.
Thanks