UPDATE not working in GRIDVIEW

Discussion in 'ASP .Net' started by loga123, Jun 25, 2006.

  1. loga123

    loga123 Guest

    Hi All,

    I am using asp.net 2.0. I have a gridview where I want to update a row
    value on clicking 'UPDATE" buttomn.

    I have set up sqlDataSource and UPDATE statement. When I click on
    UPDATE, it simply returns to EDIT and changes are not reflected either
    in gridview or in the database.

    My update statement works fine in QA. If I hard code the values from
    gridview (edited values) in my UPDATE statement, it works fine.
    I am not sure what am I missing. For every parameter in UPDATE
    statement, I set "control" parameters where controlID = "MyGridView".

    Any help is greatly appreciated. I have already spent many hours on
    this and trying to figure out the problem. It's very urgent for me.
    Please help

    Thanks
    loga123, Jun 25, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    1,134
  2. beaudetious

    GridView: Update is just not working for me

    beaudetious, Dec 22, 2005, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    267
    beaudetious
    Dec 22, 2005
  3. Saubz

    GridView Update Not Working

    Saubz, Sep 25, 2006, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    563
    Walter Wang [MSFT]
    Sep 27, 2006
  4. Morris Neuman

    Gridview update not working for AccessDataSource

    Morris Neuman, Oct 7, 2008, in forum: ASP .Net Web Controls
    Replies:
    6
    Views:
    378
    Morris Neuman
    Oct 13, 2008
  5. JoanneB

    Gridview update not working (2.0)

    JoanneB, Oct 21, 2008, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    150
    JoanneB
    Oct 21, 2008
Loading...

Share This Page