DataGrid - ButtonColumn Question

  • Thread starter Thread starter 00_CumPeeWearD12
  • Start date Start date
0

00_CumPeeWearD12

<asp:datagrid ......>
<columns>
.........
.........
<asp:ButtonColumn Text="Delete" HeaderText="Delete"
ButtonType="PushButton" CommandName="Delete"></asp:ButtonColumn>
.....

I am using this: e.Item.Cells[4].Controls[0] to find the control in cell
[x], is there a way to find it by name?? It is not a regular button, it
doesn't have the "ID" attribute. I know there is a FindControl method, but
it doesn't help in Cells[] array.

Help...
 
Back
Top