I have two DataTable [System.Data] .One contains three rows id,name,date and another contains id only>How can I get the value [id] of first datatable to second one.Is there any possible way to achieve this without using iteration methods. I have values in the first datatable. I need to copy it to another one.I don’t wan’t to execute any query in between.This is not what i required C# Adding a Datatable to a Datatable
I have two DataTable [System.Data] .One contains three rows id,name,date and another contains id
Share
You can try this method: