create a subclass of DataAdapter, see how it is done here:
http://www.dotnet247.com/247reference/msgs/21/105513.aspx

解决方案 »

  1.   

    但我要的是SqlDataAdapter,SqlDataAdapter不能继承!怎么办??????
      

  2.   

    比如说有三个字段:object[] os = new object[3];
    DataReader.GetValues(os);
    DataTable.Rows.Add(os);
      

  3.   

    简单方法,用微软的数据访问组件:Microsoft.ApplicationBlock.Data
    微软网站有下载,内有组件源码,参考一下
      

  4.   

    saucer(思归, MS .NET MVP)的方法完全可行!