myDataSet.Tables.Add("CoastGeoInfo");  
myDataSet.Tables.Add("SlopeGeoInfo");  
myDataSet.Tables.Add("CreviceGeoInfo");  --------------------------------------------
老兄,你并没有把你前面的DataTable加到DataSet,而是加了三个空表阿

解决方案 »

  1.   

    myDataSet.Tables.Add(dtDataTableCreviceGeoInfo);  
    myDataSet.Tables.Add(dtDataTableSlopeGeoInfo);  
    myDataSet.Tables.Add(dtDataTableCoastGeoInfo);
      

  2.   

    楼上的我按你的方法改了却出以下我错,帮我一下哦!System.Data
    DataTable 已属于另一个 数据集。
       at System.Data.DataTableCollection.BaseAdd(DataTable table)
       at System.Data.DataTableCollection.Add(DataTable table)
       at AccessToOracle.ConvertCoast.AddGeoInfo() in e:\vs2003\accesstooracle_1\accesstooracle\accessread.cs:line 489
      

  3.   

    489行  就是这一行    myDataSet.Tables.Add(dtDataTableCreviceGeoInfo);
      

  4.   

    http://community.csdn.net/Expert/topic/3181/3181904.xml?temp=5.662173E-02帮忙来看看!高手们!
      

  5.   

    我在 myDataSet.Tables.Add(dtDataTableCreviceGeoInfo);上面加上下行MessageBox.Show(dtDataTableCreviceGeoInfo.DataSet.ToString());得的消息为System.Data.DataSet.