command builder RRS feed

  • Question

  • i have one Master table,two child table

    Master1-----------one chid,second chid

    in table,have relation (Parent child relation)
    one chid---fid
    second chid--fid

    i delete row,then
    Master  row state---delete
    one child row state--delete

    i pass dataset to the command builder,master database update correctly(select * from Master)
    but  in  child  ,so i again pass dataset to command builder(select * one child)

    my question is

    command builder update ,delete,insert  accordingly  primary key
    but chid is  updated by foreign key,not primary key

    please tell me

    Tuesday, November 10, 2009 6:54 AM