Sunday, February 19, 2012

How get the new recorde ID after formview insert

I have formview and want to get uniq id from SQL Server 2005 after it inserted.

I think i should put some code in the event of oniteminserted, anybody have sample code

Thanks

Hu

http://www.davidj.org/stories/162/ASP.NET_Return_Identity_After_SQL_Insert.html

No comments:

Post a Comment