data adapter

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rodney

    #1

    data adapter

    Hey all,

    I was just wondering why in some examples in loading a
    dataset I see the data adapter object and then in others
    I don't see the data adapter object.

    Thanks,
    Rodney
  • William Ryan

    #2
    Re: data adapter

    Not sure which you are referring to. The DataAdapter is the primary way to
    fill a Dataset/DataTable. Granted you can created Datatable or Dataset
    programatically and populate them as such, but if you are getting the data
    from a Database, and you using Disconnected mode (ie DataSet/DataTable vs.
    DataReader objects), then a DataAdapter is being used. [There could be some
    example out there where they are reading an XML file or similary
    methodology, but my guess is that the DataAdapter is withing scope, it's
    probably just not in the code snippet.

    However, if they aren't using a DataSet, they may be using a DataReader or
    one of the command methods like ExecuteNonQuery or ExecuteScalar, in which
    case they may not be using an Adapter.


    If you have a link or two, I can speak to them a little better.

    Cheers,

    Bill
    "rodney" <rsantiago@co.c olumbia.ga.us> wrote in message
    news:0d5601c36d 76$938a51b0$a50 1280a@phx.gbl.. .[color=blue]
    > Hey all,
    >
    > I was just wondering why in some examples in loading a
    > dataset I see the data adapter object and then in others
    > I don't see the data adapter object.
    >
    > Thanks,
    > Rodney[/color]


    Comment

    Working...