I have an array of records pulled from a dateset linq query thgen parsed to contatecate first names and last names.
The new array looks like:
person(int1,0) <--- this holds person ID
person(int1,1) <--- this holds person name
I have the following code to create the new data table
I am trying to use:
I think i am probably kinda close, but still far from the solution. The above doesn't work
Thanks
The new array looks like:
person(int1,0) <--- this holds person ID
person(int1,1) <--- this holds person name
I have the following code to create the new data table
Code:
dim data As New Dataset
data.Tables.Add("people")
data.Tables("people").Columns.Add("id")
data.Tables("people").Columns.Add("name")
I am trying to use:
Code:
data.Tables("people").BeginLoadData()
data.Tables("people").LoadDataRow(parsed(int1, 1), True)
data.Tables("people").EndLoadData()
Thanks
Comment