Por la sintaxis que tienes me imagino que estas usando web matrix, o algo por el estilo, entonces te faltaría agreagar ésto a tu datagrid.
Cita: <asp:DataGrid id="MyDataGrid" runat="server" OnItemCommand="MyDataGrid_ItemDataBound"
...
..
Para que enlaces el evento de tu grid..