deleting related records

  • Thread starter Thread starter Konrad
  • Start date Start date
K

Konrad

Hi

I have strongly typed data set.
I want to delete record in one table.
It has related tables (it is parent table).
How to load all related records from child tables
and delete them (and also discover and delete they children records) to have
possibility to delete parent record.

Thanks
Konrad
 
U¿ytkownik "Konrad said:
Hi

I have strongly typed data set.
I want to delete record in one table.
It has related tables (it is parent table).
How to load all related records from child tables
and delete them (and also discover and delete they children records) to
have
possibility to delete parent record.

Why do you want to load to your dataset all related records? Why don't you
run sql command in your database? Do you want to show user all records that
will be deleted?

Regards,
Grzegorz
 
Back
Top