This is a migrated thread and some comments may be shown as answers.

How to get Items value?

3 Answers 37 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ali
Top achievements
Rank 1
Ali asked on 20 Apr 2011, 05:02 PM
In standard DataGridView i can get items value by this code : Ivalue = DataGridView1.Item(i, j).Value .
Please help me how to i do this by RadGridView.
Thank you.

3 Answers, 1 is accepted

Sort by
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 20 Apr 2011, 05:32 PM
Hello,

In RadGridView you can access cells via ordinal position or name for the row/cell you wish to access. For example:

this.radGridView1.Rows[0].Cells[3].Value;

For more information, please refer to this help topic on accessing cells

Hope that helps
Richard
0
Ali
Top achievements
Rank 1
answered on 20 Apr 2011, 06:15 PM
Hi 
Thank you Richard Slade.

Best regards.
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 20 Apr 2011, 09:22 PM
You're welcome. Please remember to mark as answer. Thanks.
Tags
GridView
Asked by
Ali
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Ali
Top achievements
Rank 1
Share this question
or