Hi Charlie,
Regarding the issue, you may try following code:
foreach(DataGridItem DemoGridItem in DataGrid1.Items)
{
Button myButton=
(Button)DemoGridItem.Cells[CellIndex].Controls[ControlIndex];
myButton.Text="Select";
}
CellIndex and ControlIndex are zero based integer. You need to change them
to the actural value based on the button's position in the datagrid.
Luke
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)