Hi Fred,
Refer this KB
How do I insert an unbound check box column in a GridDataBoundGrid?
To add a push button column, use the QueryCellInfo handler as used in the sample.
int PushbuttonColIndex = this.gridDataBoundGrid1.Model.NameToColIndex("Pushbutton");
if(e.RowIndex > 0 && e.ColIndex == PushbuttonColIndex)
{
e.Style.CellType = "PushButton";
e.Style.Description = "Edit";
e.Style.CellAppearance = GridCellAppearance.Raised;
}
Best regards,
Stanley