Jump to content

ReportViewer In VB 2005 not load uptodate data

- - - - -

  • Please log in to reply
No replies to this topic

#1
anas

anas

    Newbie

  • Members
  • Pip
  • 1 posts
Dear Friends,

I am new in VB 2005

I have problem loadind data in report viewer ,data loaded suceessfully but it is not the current data.

Deatailed:

I am entering production details into the database (access 2007) .it will add successfully.Then i open

production report there is no current updated data.It will show when i close the vb 2005 and reopen

it.

Code:

Private Sub Report_Production_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)

Handles MyBase.Load
'TODO: This line of code loads data into the 'hajarDataSet19.stockdetails1' table. You can move, or

remove it, as needed.
Me.stockdetails1TableAdapter.Fill(Me.hajarDataSet19.stockdetails1)
'Dim rds As New reportdatasource


Me.ReportViewer1.RefreshReport()

End Sub
End Class

Report_Production : Form
hajarDataSet19 : Dataset
stockdetails1 : Table




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users