Sorry you do not have frames enabled. Here is the link of the tutorial:
http://www.dotnetindex.com/articles/3474_How_to_use_SCOPE_IDENTITY____in_ASPNET.asp