I am using multiview index to insert the news details. In the first view the user can enter details of news which is then inserted into db on clicking the next button the se
As part of your INSERT statement (into the first News table), after it runs, execute
SELECT SCOPE_IDENTITY()
and return NewsId
value to caller.
Ref.
A separate SQL statement
SELECT SCOPE_IDENTITY()
Or the OUTPUT clause
INSERT MyTable (...=
OUTPUT INSERTED.KeyCol
VALUES (...) --Or SELECT ... FROM Another table)
Edit: