credo che la sintassi sia:

codice:
tmp.SelectedIndexChanged += new EventHandler(dataGridFunctionHandler);