Select from following answers:- Using DataTable Copy() Method
- Using DataTable Merge() Method,
- Using directly assign 1 Datatable to another
- All of the above
- All Above
All options are used to Merge one DataTable into another DataTable.
For example:-
dt1 = dt.Copy();
dt1.Merge(dt);
dt1 = dt;
Here,dt1 and dt are our DataTable objects.
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator