Gridview bound to Datatable. Update doesn't work, need help

Discussion in 'ASP .Net' started by eric.dehaan@gmail.com, Feb 19, 2007.

  1. Guest

    Hello.

    I have a Gridview on my webpage. To this gridview, I bind a
    datatable. The results are correctly displayed. But after I edit
    some values and trigger the [GridView1_RowUpdating] event, the
    values [e.NewValues] & [e.OldValues] are empty. What am I doing
    wrong?

    Thanks in advance.


    --
    --------------------------------- --- -- -
    Posted with NewsLeecher v3.9 Beta 1
    Web @ http://www.newsleecher.com/?usenet
    ------------------- ----- ---- -- -
     
    , Feb 19, 2007
    #1
    1. Advertising

  2. By any chance, do you set Visible property for these columns to false?

    --
    Eliyahu Goldin,
    Software Developer & Consultant
    Microsoft MVP [ASP.NET]
    http://msmvps.com/blogs/egoldin
    http://usableasp.net


    "Jaymz" <> wrote in message
    news:WdiCh.56$...
    > Hello.
    >
    > I have a Gridview on my webpage. To this gridview, I bind a
    > datatable. The results are correctly displayed. But after I edit
    > some values and trigger the [GridView1_RowUpdating] event, the
    > values [e.NewValues] & [e.OldValues] are empty. What am I doing
    > wrong?
    >
    > Thanks in advance.
    >
    >
    > --
    > --------------------------------- --- -- -
    > Posted with NewsLeecher v3.9 Beta 1
    > Web @ http://www.newsleecher.com/?usenet
    > ------------------- ----- ---- -- -
    >
    >
     
    Eliyahu Goldin, Feb 19, 2007
    #2
    1. Advertising

  3. Guest

    The Visible property of the columns is 'True'. So that's not the
    problem I think.


    --
    --------------------------------- --- -- -
    Posted with NewsLeecher v3.9 Beta 1
    Web @ http://www.newsleecher.com/?usenet
    ------------------- ----- ---- -- -
     
    , Feb 19, 2007
    #3
    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. Elmo Watson
    Replies:
    0
    Views:
    2,769
    Elmo Watson
    Aug 17, 2006
  2. Tomasz Jastrzebski
    Replies:
    4
    Views:
    3,778
    Walter Wang [MSFT]
    Dec 8, 2006
  3. Evan M.
    Replies:
    1
    Views:
    1,215
    Evan M.
    Apr 18, 2007
  4. Replies:
    2
    Views:
    723
  5. Mel
    Replies:
    0
    Views:
    309
Loading...

Share This Page