How can I convert .Row values to string and insert into a combobox? W#

0

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 .

    
asked by anonymous 12.11.2018 / 21:48

0 answers