Article:
  Transparent Database Access with ADO.NET
Subject:   Can't be done
Date:   2003-04-30 22:43:29
From:   anonymous2
Response to: Can't be done

yeah, i face the same problem with you. when we use IDbDataAdapter, we will lost many nice OverLoading method of "Fill". we left only IDbDataAdapter.Fill(DataSet)...... :(
that's mean we cant Fill in DataTable, we cant Fill DataTable with a name....etc.
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Can't be done
    2003-05-02 09:47:01  anonymous2 [View]

    you can get around this by writing your own overloaded versions. (Not great but works)

    Ie. MyDBAccess.Fill(IDbDataAdapter aDataAdapter, DataSet aDataSet, string aTableName)

    etc and determining the db used inside this function.
    works quite well really.

    bj