Ping Lee

Ping Lee

  • NA
  • 11
  • 2.6k

Can Create button for Array List?

Jun 8 2019 10:29 PM
 I Have the code for add to combo list, how to change to create button
 
 Thank  
  1. {  
  2. List<string>[] Addlist;  
  3. list_Combo.Items.Clear();  
  4. for (int i = 0; i < Addlist[0].Count; i++)  
  5. {  
  6. //int number = dgDisplay.Rows.Add();  
  7. int number = Combo.Items.Add("");  
  8. Combo.Items[number] = AddCatlist[0][i];  
  9. }  
  10. }  
 

Answers (3)