Adding and editing grids with AutoGeneratedColumns

Discussion in 'ASP .Net Datagrid Control' started by et, Feb 21, 2006.

  1. et

    et Guest

    I still can't get the values from a datagrid with autogenerated columns,
    anyone have ideas?

    I can display the grid in add or edit mode, but then I cannot retrieve the
    values, it tells me I have no columns when I attempt to retrieve a value of
    a column or a cell.

    Please note that these are autogenerated columns, not bound columns. The
    same functions do not work, I have many other grids with bound columns that
    work just fine, but they do not work here, such as:
    dg.Items(row_index)Cells(column_index).Text

    Or maybe I just don't have it in the proper event that can capture the
    values?

    Thank you for your help.
    et, Feb 21, 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. topmind

    Dynamic SQL handling, and edit-grids?

    topmind, May 2, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    2,250
    topmind
    May 2, 2006
  2. Replies:
    0
    Views:
    572
  3. Simon Cropper
    Replies:
    4
    Views:
    276
    Simon Cropper
    Sep 6, 2011
  4. eagle

    Grids and displays on different monitors

    eagle, Aug 2, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    112
    eagle
    Aug 9, 2005
  5. eagle

    Grids, dropdown, sql queries and extra spaces

    eagle, Aug 22, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    134
    eagle
    Aug 23, 2005
Loading...

Share This Page