You are trying to use step.rows.add method but steps is a gridview not a datatable. the datatable object contains a methods row.add that expect a ...
stackoverflow.com