How to know the count of column and row in a gridview ?And how to get the cell value in row 2 column 2?

2 posts, 0 answers
  1. PEIYANG
    PEIYANG avatar
    65 posts
    Member since:
    Jul 2012

    Posted 02 Sep 2012 Link to this post

    How to know the count of  column and row in a gridview ?And how to get the cell value in row 2 column 2?
  2. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 03 Sep 2012 Link to this post

    Hi,

    You can do :

    int columnCount = this.RadGridView1.Columns.Count;
    int rowCount = this.RadGridView1.Items.Count;


    All the best,
    Pavel Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top