自己解决了。
在MASTER表的展开事件中得到detail有的view.然后就可以利用它了。例: 
//主表的masterrowexpanded事件   private void gridView1_MasterRowExpanded(object sender, DevExpress.XtraGrid.Views.Grid.CustomMasterRowEventArgs e) 
        {         
    detailView = gridView1.GetDetailView(e.RowHandle, e.RelationIndex) as DevExpress.XtraGrid.Views.Grid.GridView;   
      }  
  //取得从表的当前行  int[] i = detailView.GetSelectedRows();        
      DataRowView dt = (DataRowView)detailView.GetRow(i[0]);   
 //获得当前行某列的值可以使用   
dt["列名"].ToString();   //获得当那个列的值。