S
Shapper
Hello,
I have a loop for where I want to add data to a dataset.
I already created the dataset:
Dim dsNews As DataSet = New DataSet()
dsNews.Tables.Add
dsNews.Tables(0).Columns.Add("title", GetType(String))
dsNews.Tables(0).Columns.Add("description", GetType(String))
How to create a new row in each For loop Step and assign it values?
Something like:
For i = 1 to 10
NEW ROW
Row.Title = ...
Row.Description = ...
End
Thank You,
Miguel
I have a loop for where I want to add data to a dataset.
I already created the dataset:
Dim dsNews As DataSet = New DataSet()
dsNews.Tables.Add
dsNews.Tables(0).Columns.Add("title", GetType(String))
dsNews.Tables(0).Columns.Add("description", GetType(String))
How to create a new row in each For loop Step and assign it values?
Something like:
For i = 1 to 10
NEW ROW
Row.Title = ...
Row.Description = ...
End
Thank You,
Miguel