A
Aamir Ghanchi
The detail (children tables) rows don't get physically deleted in the
SQL server tables when using the RemoveAt() method of
DataRowCollection object. In fact it got deleted only with the
BindingManagerBase.RemoveAt() method
this.BindingContext[MyDataSetObject, strChildTable].RemoveAt(0);//
THIS WORKS
dsobjIDA.tblChild.Rows.RemoveAt(0);//THIS DOES NOT
I have the the relationship already setup in the Dataset.xsd file
between the master and children tables. MyDataSetObject includes both
master and related children tables
Amazed.
Aamir
SQL server tables when using the RemoveAt() method of
DataRowCollection object. In fact it got deleted only with the
BindingManagerBase.RemoveAt() method
this.BindingContext[MyDataSetObject, strChildTable].RemoveAt(0);//
THIS WORKS
dsobjIDA.tblChild.Rows.RemoveAt(0);//THIS DOES NOT
I have the the relationship already setup in the Dataset.xsd file
between the master and children tables. MyDataSetObject includes both
master and related children tables
Amazed.
Aamir