Say if I have a datatable called Identity:
Q1) I am trying to retrieve the Name column from Identity datatable and add this column to a new datatable. I have tried to assign a variable called Name (datacolumn type) to Identity.column(0) but it is not working and saying that column 0 cannot be found.
Q2) Also, I am wondering how I can build another datatable using the Name column.
Say I have successfully retrieved the Name column. I want to build a datatable called Hobby:
what I would like to do is assign the value for Hobby column one by one. Is using for loop the method to do it?