gridview row index

Discussion in 'ASP .Net Web Controls' started by Abraham Andres Luna, Sep 19, 2005.

  1. i want to display a column with the row index
    i think i have to use a templatefield but i'm now sure what property or
    method is available
    thank you
     
    Abraham Andres Luna, Sep 19, 2005
    #1
    1. Advertising

  2. <%# (Container.DataItemIndex + 1).ToString() %>



    "Abraham Andres Luna" <> wrote in message
    news:%...
    >i want to display a column with the row index
    > i think i have to use a templatefield but i'm now sure what property or
    > method is available
    > thank you
    >
    >
     
    Abraham Andres Luna, Sep 20, 2005
    #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. H5N1
    Replies:
    0
    Views:
    2,768
  2. Replies:
    5
    Views:
    694
  3. troutbum

    Cannot Find Row Index after using row filter

    troutbum, Jan 22, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    10
    Views:
    497
    Andre
    Feb 19, 2004
  4. Tomasz Chmielewski

    sorting index-15, index-9, index-110 "the human way"?

    Tomasz Chmielewski, Mar 4, 2008, in forum: Perl Misc
    Replies:
    4
    Views:
    356
    Tomasz Chmielewski
    Mar 4, 2008
  5. Giggle Girl

    ie6 Insert Row at specific Row Index of Table

    Giggle Girl, Feb 5, 2006, in forum: Javascript
    Replies:
    18
    Views:
    323
    Thomas 'PointedEars' Lahn
    Feb 7, 2006
Loading...

Share This Page