load the report?

piccolo

New member
Joined
Feb 21, 2013
Messages
1
Programming Experience
Beginner
Hello everyone, I would like to help UN Semper If Fosse possible.
I had to form1 with due TextBox, then I created Form2 with the ReportViewer, always in vb. net, now I want That When I click on the button to load the report, only the data from my person views Currents What I write because in TextBox1 and TextBox2 That Are Present In form1.
At the moment with qusto code, I load all data present in the database, do not fare so come and say What you need to view the relationship as only the data of the current TextBox.
please. I rate does not help me to come.
VB.NET:
Public Class Form2 
Private Sub Form2_Load (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 
'TODO: This line of code loads data Table' DatabaseDataSet.ANG '. . Ì can move it or remove it if Necessary 
Me.ANGTableAdapter.Fill (Me.DatabaseDataSet.ANG) Me.ReportViewer1.RefreshReport () 
End Sub End Class
Sorry Grace to You All.
 
Back
Top