Dec
23
23
DataTable Already Belongs to Another Dataset
I got this error when I was trying to duplicate the datatable.
After searching thru internet I found the below easy solution
ds.Tables.Add(new DataTable());
or
ds.Tables.Add(dt.Copy());
I hope this helps u too…
If yes, don’t forget to post your comment.
There are no comments.