I have followed your code for adding a row to the datagrid, but I can't get it to fire the event. Onitemcommand has the name of the sub to run, the commandname is insert, I check that in the sub but it isn't even getting to the sub. Any ideas?