Add DataRow to DataSet
אני מנסה להוסיף DataRow ל DataSet ע"י הקוד הבא:
אבל כשאני מריץ את הקוד, אני מקבל את הודעת השגיאה:
אני מנסה להוסיף DataRow ל DataSet ע"י הקוד הבא:
DataRow row; row = dsRes.Tables["results"].NewRow(); row["id"] = ds.Tables["News"].Rows["id"]; dsRes.Tables["results"].Rows.Add(row);
אבל כשאני מריץ את הקוד, אני מקבל את הודעת השגיאה:
This row already belongs to this table.