I am trying to insert a new record to an AspxGridView. The insertCommand like: insert into Table (col1, col2, col3) values (123, @col2, @col3) The @col2's direction is "InputOutput". I need to get its value after inserting. So, I put a code into the SqlDataSource_inserted event handler...