Bonjour,

J'ai ceci :

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
 
 this.lvLastReasons.Columns.Clear();
            this.lvLastReasons.Columns.Add("ReasonCode", "Reason Code", 100);
            this.lvLastReasons.Columns.Add("ReasonMessage", "Reason Message", 170);
 
            this.lvLastReasons.Groups.Clear();
            this.lvLastReasons.Groups.Add("LastSentAcknowledgementforSchedule", "Last Sent Acknowledgement for Schedule");
            this.lvLastReasons.Groups.Add("LastSentConfirmationreport", "Last Sent Confirmation report");
            this.lvLastReasons.Groups.Add("LastSentAcknowledgementforConfirmationreport", "Last Sent Acknowledgement for Confirmation report");
            this.lvLastReasons.Groups.Add("LastReceivedAcknowledgementforschedule", "Last Received Acknowledgement for schedule");
            this.lvLastReasons.Groups.Add("LastReceivedConfirmationreport", "Last Received Confirmation report");
            this.lvLastReasons.Groups.Add("LastReceivedAcknowledgementforConfirmationreport", "Last Received Acknowledgement for Confirmation report");
 
            this.lvLastReasons.Items.Add(new ListViewItem("test", lvLastReasons.Groups["LastSentAcknowledgementforSchedule"]));
            this.lvLastReasons.Items.Add(new ListViewItem("test2", lvLastReasons.Groups["LastReceivedAcknowledgementforConfirmationreport"]));
Mais je n'arrive pas à ajouter mon item sur une colonne en particulier... Comment procéder ?

Merci bonne fin de journée !