Bonjour,
Je cherche désespérement a créer un sous report à un report rdlc.
j'ai créer un report, puis inseret un objet sous report.
j'ai mis le nom du sous report dans la propiéte.
je passe les données au report principale de la façon suivante :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
Sql_Maconextion = New SqlConnection(Str_Nom_connection)
Sql_Maconextion.Open()
Sql_Monadapteur72 = New SqlDataAdapter
Sql_Macommande72 = Sql_Maconextion.CreateCommand
Sql_Macommande72.CommandType = CommandType.StoredProcedure
Sql_Macommande72.CommandText = "Eta_Tache"
Sql_Monadapteur72.SelectCommand = Sql_Macommande72
Sql_Mondataset72 = New DataSet
Sql_Monadapteur72.Fill(Sql_Mondataset72, "Tbl_Eta_Tache")
Sql_Maconextion.close()
'**********************************
'** On alimente de Report_Viewer **
'**********************************
Binding_Source.DataSource = Sql_Mondataset72
Binding_Source.DataMember =  "Tbl_Eta_Tache"
'*****************************************
'** On crée le Dataset pour le document **
'*****************************************
Dim Report_Source As New Microsoft.Reporting.WinForms.ReportDataSource
Report_Source.Name = "DataSet1"
Report_Source.Value = Me.BindingSource1
Report_Viewer.LocalReport.DataSources.Add(Report_Source)
Me.ReportViewer1.RefreshReport()
mais alors aprés je séche comment passer les données a mons sous-report1

Quelqu'un a t'il une idée ?

Merci d'avance