Simple question? Updating database...

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

    #1

    Simple question? Updating database...

    Hi

    I'm having trouble with updating my database which is SqlServer. I'm using
    the update command
    and only the dataset is being changed not the actual row in the database.



    Best Regards

    Maria Hammarsten



  • Cor Ligthert

    #2
    Re: Simple question? Updating database...

    Maria,[color=blue]
    >
    > I'm having trouble with updating my database which is SqlServer. I'm using
    > the update command
    > and only the dataset is being changed not the actual row in the database.
    >[/color]
    Than there is something wrong I think, however do you want some help, than
    we have to know how you do that updating, a piece of code is mostly telling
    the most.

    :-)

    Cor


    Comment

    • Test Person

      #3
      Re: Simple question? Updating database...

      Hello,
      here is a piece of the code.


      private void CmdUpdate_Click (object sender, System.EventArg s e)

      {

      this.sqlDataAda pter1.Update(th is.dsCustomers1 .Customers);

      }



      Maria




      "Cor Ligthert" <notfirstname@p lanet.nl> wrote in message
      news:%23C%23keX RhEHA.1048@tk2m sftngp13.phx.gb l...[color=blue]
      > Maria,[color=green]
      > >
      > > I'm having trouble with updating my database which is SqlServer. I'm[/color][/color]
      using[color=blue][color=green]
      > > the update command
      > > and only the dataset is being changed not the actual row in the[/color][/color]
      database.[color=blue][color=green]
      > >[/color]
      > Than there is something wrong I think, however do you want some help, than
      > we have to know how you do that updating, a piece of code is mostly[/color]
      telling[color=blue]
      > the most.
      >
      > :-)
      >
      > Cor
      >
      >[/color]


      Comment

      • Cor Ligthert

        #4
        Re: Simple question? Updating database...

        Maria,

        I do not see that you updated the dataset, how did you do that?

        Cor


        Comment

        Working...