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. 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. Green Start Button

    DataGrid.Items.Count and DataGrid Paging...

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

    Column count / Access GridView Column after DataBind

    Finn Stampe Mikkelsen, Aug 19, 2010, in forum: ASP .Net
    Replies:
    4
    Views:
    3,170
    Finn Stampe Mikkelsen
    Aug 20, 2010
  3. efelnavarro09
    Replies:
    2
    Views:
    916
    efelnavarro09
    Jan 26, 2011
  4. SK

    DataGrid.Column.Count is empty?

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

    Datagrid column count = 0??

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

Share This Page