DataRow[] drChildList = dsBooking.BOOKING.Rows[this.dgrBooking.CurrentCell.RowNumber].GetChildRows(dsBooking.Relations[0]);
this.dgrContainer.DataSource = drChildList;
还有一种方法来取得第一个表中的选择行
DataRow[] drChildList = dsBooking.BOOKING.Rows[((BindingManagerBase)sender).Position].GetChildRows(dsBooking.Relations[0]);
this.dgrContainer.DataSource = drChildList;
this.dgrContainer.DataSource = drChildList;
还有一种方法来取得第一个表中的选择行
DataRow[] drChildList = dsBooking.BOOKING.Rows[((BindingManagerBase)sender).Position].GetChildRows(dsBooking.Relations[0]);
this.dgrContainer.DataSource = drChildList;
浙公网安备 33010602011771号