Merge is used for merging one Datatable/Dataset to another Datatable/Dataset.it's just like Copy() method in Datatable/Dataset.
DataTable dt_employee = new DataTable();
DataTable dt_merge = new DataTable();
Here,All the columns as well as rows of dt_employee will be copied or merged to dt_merge DataTable.
Merge method will have no return type.
Asked In: Many Interviews |