Datagrid Column Count HELP

Discussion in 'ASP .Net Datagrid Control' started by Christopher Calhoun, Jan 29, 2004.

  1. How do I determine the last column in a datagrid with auto-generated
    columns. I need to use the column.AddAt method to add a button column to the
    end of the columns.
    In my case this must be done programmatically.
    So If I know the last index I can do i that way..


    Thanks in Advance!
     
    Christopher Calhoun, Jan 29, 2004
    #1
    1. Advertisements

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. Jim Hammond
    Replies:
    1
    Views:
    3,912
    bruce barker
    Nov 26, 2003
  2. Hai Nguyen
    Replies:
    0
    Views:
    516
    Hai Nguyen
    Jan 16, 2004
  3. Dexter
    Replies:
    1
    Views:
    566
    Eliyahu Goldin
    Jan 18, 2005
  4. Green Start Button

    DataGrid.Items.Count and DataGrid Paging...

    Green Start Button, Aug 4, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    6,093
    agravar
    Aug 2, 2006
  5. Finn Stampe Mikkelsen

    Column count / Access GridView Column after DataBind

    Finn Stampe Mikkelsen, Aug 19, 2010, in forum: ASP .Net
    Replies:
    4
    Views:
    3,659
    Finn Stampe Mikkelsen
    Aug 20, 2010
  6. efelnavarro09
    Replies:
    2
    Views:
    1,220
    efelnavarro09
    Jan 26, 2011
  7. SK

    DataGrid.Column.Count is empty?

    SK, Feb 17, 2005, in forum: ASP .Net Building Controls
    Replies:
    2
    Views:
    315
    MattC
    Feb 23, 2005
  8. Kris Rudin

    Datagrid column count = 0??

    Kris Rudin, Nov 10, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    255
Loading...