Link to home
Start Free TrialLog in
Avatar of Alex A
Alex A

asked on

ASP.NET GridView RowDataBound event

How to get access to the cell object using column name?
Thanks.
Avatar of guru_sami
guru_sami
Flag of United States of America image

You mean control inside a cell or a database field for that corresponding cell?
Avatar of Alex A
Alex A

ASKER

I would like to get access to the cell object.
It can be done using column index like this:
e.Row.Cells[ColumnIndex]

I would like to have cell object returned using dataview column name, not column order number.
Thank you in advance.

ASKER CERTIFIED SOLUTION
Avatar of guru_sami
guru_sami
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Alex A

ASKER

closing it