retrieving text from a selected data grid row cell...

Discussion in 'ASP .Net' started by Daniel Bass, Jul 8, 2003.

  1. Daniel Bass

    Daniel Bass Guest

    this was working

    Dim szMsgNumber = db_grid.SelectedItem.Cells(0).Text



    until i changed the first column (at index 0) to a ASP:ButtonColumn from a
    boundcolumn...



    now it just returns blank text every time...



    how do i retrieve text from a buttoncolumn cell??
    Daniel Bass, Jul 8, 2003
    #1
    1. Advertising

  2. Daniel Bass

    Daniel Bass Guest

    Dim linkbtnMsgNumber As LinkButton =
    db_grid.SelectedItem.Cells(0).Controls(0)

    Dim szMsgNumber = linkbtnMsgNumber.Text

    "Daniel Bass" <> wrote in message
    news:...
    > this was working
    >
    > Dim szMsgNumber = db_grid.SelectedItem.Cells(0).Text
    >
    >
    >
    > until i changed the first column (at index 0) to a ASP:ButtonColumn from a
    > boundcolumn...
    >
    >
    >
    > now it just returns blank text every time...
    >
    >
    >
    > how do i retrieve text from a buttoncolumn cell??
    >
    >
    Daniel Bass, Jul 8, 2003
    #2
    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. Maheshkumar.R
    Replies:
    1
    Views:
    5,457
    Charlie@NISH
    Aug 12, 2005
  2. Daniel Bass

    --- retrieving text from a selected datagrid cell ---

    Daniel Bass, Jul 8, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    121
    Daniel Bass
    Jul 8, 2003
  3. Empire City
    Replies:
    3
    Views:
    390
    Empire City
    Apr 30, 2004
  4. Thomasa Gregg
    Replies:
    1
    Views:
    148
    Eliyahu Goldin
    Jun 9, 2004
  5. D
    Replies:
    0
    Views:
    198
Loading...

Share This Page