I have the following code:
for(int i = 1; i<dataTable.Rows.Count; i++)
{comboBox.Items.Add( dataTable.Rows[i].ToString());}
When I run the application, in combobox
, only System.Data.DataRow
appears to me.
I wanted all the items in the table to appear in combobox
.