Datarow and Dataset questions
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Lets say i do this: DataRow dr1 = dataset1.Tables[0].NewRow(); I want to add dr1 to dataset2 but it says it is already in another dataset (dataset1) how can i clone/duplicate/copy dr1 so that i may add it to dateset2 as well? thanks!
-
Lets say i do this: DataRow dr1 = dataset1.Tables[0].NewRow(); I want to add dr1 to dataset2 but it says it is already in another dataset (dataset1) how can i clone/duplicate/copy dr1 so that i may add it to dateset2 as well? thanks!
Hello Use
DataTable.ImportRow()
method.Regards:rose: