I’ve created a simple validity checker desktop application for Rapidshare links.
I am giving out the source code and the binary, in case anyone is interested.
This may be old news to you, but I have learned the existence of something like that in C# just now.
C# offers a very elegant solution to this problem with something called parameter arrays.
The signature of the method should be something like this:
void PassDynamicNumberofParameters (params int parameters)
It is quite easy to get the last inserted row id in TSQL.
Just create a stored procedure as below.