by any chance...

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

    #1

    by any chance...

    hey all,

    does the dataset have an internal array that can be passed to:

    SqlDataAdapter. Update(array)?

    If not, will i need a custom collection to take advantage of being able to
    pass a light object like an array as opposed to a dataset?

    thanks,
    ari
  • Cor Ligthert [MVP]

    #2
    Re: by any chance...

    Ari,

    What do you mean with light object?

    In other words what advantage you supect that you get by not using a dataset
    or a datatable?

    Cor


    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: by any chance...

      "ari" <ari@discussion s.microsoft.com > schrieb:[color=blue]
      > does the dataset have an internal array that can be passed to:
      >
      > SqlDataAdapter. Update(array)?
      >
      > If not, will i need a custom collection to take advantage of being able to
      > pass a light object like an array as opposed to a dataset?[/color]

      No. You can pass the data in a datatable or dataset directly:

      ..NET Framework Class Library -- 'DbDataAdapter. Update' Method
      <URL:http://msdn.microsoft. com/library/en-us/cpref/html/frlrfsystemdata commondbdataada pterclassupdate topic.asp>

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://classicvb.org/petition/>

      Comment

      • ari

        #4
        Re: by any chance...

        for some reason i thought you could pass an array object to
        sqldataadapter. update. oh well, thanks for the help everyone.

        "Cor Ligthert [MVP]" wrote:
        [color=blue]
        > Ari,
        >
        > What do you mean with light object?
        >
        > In other words what advantage you supect that you get by not using a dataset
        > or a datatable?
        >
        > Cor
        >
        >
        >[/color]

        Comment

        Working...