hi there, im trying to insert multiple rows in a datagrid by item inside a combox heres my code
with this code i can enter multiple rows in the grid depending to IndexTotalItems, but i wanted to insert all cb_series.Items(i) to grid. Thanks in advance
VB.NET:
For i = 1 To IndexTotalItems
Dim row1() As String = {cb_series.Items(i)}
Dim rows() As Object = {row1}
Dim row As String()
For Each row In rows
DataGridView1.Rows.Add(row)
Next row
Next
with this code i can enter multiple rows in the grid depending to IndexTotalItems, but i wanted to insert all cb_series.Items(i) to grid. Thanks in advance