Can't get values from GridView when in the RowDeleting Event

Discussion in 'ASP .Net' started by ryan.wilkins@paccar.com, Sep 11, 2006.

  1. Guest

    I'm new to ASP.NET 2.0 and the gridview control so forgive the dumb
    question. I have a BoundField column that I can't seem to get the
    value from in the RowDeleting Event.

    <asp:BoundField DataField="ServiceId" Visible="False" />

    Also, side question. I've had problems with all Invisible BoundField
    columns and not getting the data, so I've had to make those columns
    visible at runtime and then hide them before the page renders. There
    has got to be a better way to do that :).

    Thank you for your help.
    , Sep 11, 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. keithb
    Replies:
    1
    Views:
    4,296
    PeterKellner
    Jun 10, 2006
  2. jobs
    Replies:
    0
    Views:
    1,470
  3. Bart

    problem with Rowdeleting event

    Bart, Jan 31, 2008, in forum: ASP .Net
    Replies:
    0
    Views:
    481
  4. David C
    Replies:
    0
    Views:
    3,362
    David C
    Jan 9, 2009
  5. Marianne

    GridView rowdeleting - e.Values.Count = 0??

    Marianne, Apr 17, 2007, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    2,280
    matt_c
    May 11, 2007
Loading...

Share This Page