Bonjour,
jai crée une page crystal report puis jai mis dedant les attributs de ma table, le pb qu'il y'a il recupère que la 1ere ligne de la table, jai fais appel a la page crystal report comme suit
Comment afficher toute les lignes de ma table?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 CrystalReport2 objRpt = new CrystalReport2(); this.oleDbDataAdapter1.SelectCommand.CommandText = "SELECT * FROM bonsortie "; dataSet1.Clear(); oleDbDataAdapter1.Fill(dataSet1, "bonsortie"); objRpt.SetDataSource(dataSet1); crystalReportViewer1.ReportSource = objRpt;
Merci beaucoup
Partager