טבלה ב-DataSet
שלום, אני מנסה להעתיק רשומות מ-DataSet אחד לשני אבל מקבלת את השגיאה- "a column named 'first' already belongs to this DataTable " מישהו יכול להסביר לי מה אני מפספסת פה??? איך לסדר את זה?? תודה Dim drRow As DataRowCollection Dim objNewRow As DataRow drRow = ds1.Tables(0).Rows ds2.Tables.Add(New DataTable With ds2.Tables(0 Columns.Add("first .Columns.Add("sec End With () objNewRow = ds2.Tables(0).NewRow objNewRow("first") = ds1.Tables(0).Rows(i).Item("first objNewRow("sec") = ds1.Tables(0).Rows(i).Item("sec
שלום, אני מנסה להעתיק רשומות מ-DataSet אחד לשני אבל מקבלת את השגיאה- "a column named 'first' already belongs to this DataTable " מישהו יכול להסביר לי מה אני מפספסת פה??? איך לסדר את זה?? תודה Dim drRow As DataRowCollection Dim objNewRow As DataRow drRow = ds1.Tables(0).Rows ds2.Tables.Add(New DataTable With ds2.Tables(0 Columns.Add("first .Columns.Add("sec End With () objNewRow = ds2.Tables(0).NewRow objNewRow("first") = ds1.Tables(0).Rows(i).Item("first objNewRow("sec") = ds1.Tables(0).Rows(i).Item("sec