I am trying to add a buttoncolumn to a Datagrid I am dynamicaly adding
to a custom control (code below). The Datagrid outputs fine but all of
the entries in the button column are just text, no link. The source
for the entries looks like <a>build</a>. Any help would be great.

TreeTable = new DataGrid();

TreeTable.AutoGenerateColumns=true;
TreeTable.DataSource = dal.GetDataViewSql("SELECT * FROM tblAIs left
join tblNodes on tblAIS.id=tblNodes.NodeID").Table; //this is our
custom data accessor

ButtonColumn buildColumn = new ButtonColumn();
buildColumn.Text="Build";
buildColumn.ButtonType = ButtonColumnType.PushButton;
buildColumn.CommandName="Select";
buildColumn.DataTextField = "ID";
TreeTable.Columns.Add(buildColumn);

TreeTable.ItemCommand += new
DataGridCommandEventHandler(TreeTable_ItemCommand) ;