datagridview update with dataset and dataasapter

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

    #1

    datagridview update with dataset and dataasapter

    is anyone know if i can update access database with dataset in the vs
    2005 express?

    really imortant to me.

    i need to know maybe i just wasting my time!

    i've a datagridView that get is data from a dataset:

    Me.T_1TableAdap ter.Fill(Me.T_1 DateSet.T_1)

    and i try to update it in a bottom-click:

    Me.Validate()

    Me.T_1BindingSo urce.EndEdit()

    Me.T_1TableAdap ter.Update(Me.T _1DataSet.T_1)

    and i get the followin error:

    Update requires a valid UpdateCommand when passed DataRow collection
    with modified rows.

    i'll appriciate any help!!!!

  • Brian Tkatch

    #2
    Re: datagridview update with dataset and dataasapter


    mikalush wrote:
    is anyone know if i can update access database with dataset in the vs
    2005 express?
    >
    really imortant to me.
    >
    i need to know maybe i just wasting my time!
    >
    i've a datagridView that get is data from a dataset:
    >
    Me.T_1TableAdap ter.Fill(Me.T_1 DateSet.T_1)
    >
    and i try to update it in a bottom-click:
    >
    Me.Validate()
    >
    Me.T_1BindingSo urce.EndEdit()
    >
    Me.T_1TableAdap ter.Update(Me.T _1DataSet.T_1)
    >
    and i get the followin error:
    >
    Update requires a valid UpdateCommand when passed DataRow collection
    with modified rows.
    >
    i'll appriciate any help!!!!
    Did you instantiate a New (valid) update command to
    Me.T_1TableAdap ter.UpdateComma nd?

    Comment

    Working...