Je remplis la zone de liste comme ça. vouloir firts était nul. comment puis-je faire ça?Les premières valeurs de Combobox doivent être nulles
private void txtLoadname_DropDown(object sender, EventArgs e)
{
HashSet<string> LoadName = new HashSet<string>();
for (int i = 0; i < dataGridView1.Rows.Count - 1; i++)
{
LoadName.Add(dataGridView1.Rows[i].Cells["loadNameDataGridViewTextBoxColumn"].Value.ToString());
}
txtLoadname.DataSource = LoadName.ToList();
}
Pourquoi puis-je demander? – Vishal