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.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.ButtonType = ButtonColumnType.PushButton;
buildColumn.DataTextField = "ID";

TreeTable.ItemCommand += new
DataGridCommandEventHandler(TreeTable_ItemCommand) ;