How to get value return by a Store Procedure

Hi! All
I m inserting record in a table by store procedure which return me id of that record; which is used to a reference for other table. Record is inserted successfully but i did not get id of that record; because id is not an output parameter but it is return by
store procedure with return keyword. so, how do i tackle this?
any suggestion regarding this will be anticipated.