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
just appears to me System.Data.DataRow
.
I wish I could see all the items on the combobox
.
Wouldn’t that be:
dataTable.Rows[i]["nome_da_coluna"].ToString()
?– Roberto de Campos
Thank you, silly thing XD
– Rafael Anunciada
I’m voting to close because the question has been answered in the comments and it’s been two years since an answer was posted.
– Leandro Angelo