How can I populate datatable2 (dt2) from the first datatable1 (dt1), but I do not want dt2 to be dependant of dt1.
I am populating dt2 from dt1. But if the data in dt1 changes, so does dt2.
I do not want dt2 to change.
How can I do this for dt2 please?
datatable dt1 = ds.table...
//copy the distinct field to dt2
DataTable dt2 = dt.DefaultView.ToTable(true, "FieldName");
do I have to do anything with Binding context for dt2 ?