how to configure the databinding source through dataset

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chea kimcheng
    New Member
    • May 2007
    • 2

    how to configure the databinding source through dataset

    I have seen the solution about the reportviewer VB.Net 2005 but I have some question to ask you.
    Code:
    Private Sub btnClientTest_Click(ByVal sender As System.Object, ByVal e As
    System.EventArgs) Handles btnClientTest.Click
    
    Me.ReportViewer1.Reset()
    Me.ReportViewer1.ProcessingMode =
    Microsoft.Reporting.WinForms.ProcessingMode.Local
    
    
    Dim newds As New
    Microsoft.Reporting.WinForms.ReportDataSource("NorthwindDataSet1_Region")
    newds.Value = Me.RegionBindingSource
    
    Me.ReportViewer1.LocalReport.DataSources.Add(newds )
    
    
    Me.ReportViewer1.LocalReport.ReportEmbeddedResourc e =
    "ClientReportApp.Report2.rdlc"
    Me.ReportViewer1.RefreshReport()
    I don't know how to configure the databinding source throug dataset/Dataadapter. Can you tell me the step to configure it? Thank in advance.
Working...