Bonjour,
je suis un débutant en informatique ;
je veux afficher une requête avec crystalreport en vb.net 2008 ;
voici mon code :
mon problème est ici :
Dim AxCrystalReport2 As New AxCrystal.AxCrystalReport()
vb.net n'accepte pas cette déclaration
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button4.Click
AxCrystalReport1.ReportFileName = "C:\CrystalReport1.rpt"
AxCrystalReport1.SelectionFormula = "({trainligne.N})='" & TextBox3.Text & "'"
AxCrystalReport1.WindowState = 2
AxCrystalReport1.Action = 1
End Sub
s'il vous plaît est ce que quelqu'un peut m'aider