Have a look at Microsofts Data Access Application Block. It contains a
SQL Helper class that is doing exactly what you need. It retrievs the
Parameters of a stored Procedure and caches them. Additionally
SQLHelper class provides methods to ease the execution of stored
procedures, so that you don't even have to care about the
specification of SQLParameters.
Data Access Application Block
http://msdn.microsoft.com/library/de...ml/daab-rm.asp
Hope this helps
Peter Gossmann
MCP for ASP.NET
"uiranejeb" <(E-Mail Removed)> wrote in message news:<#(E-Mail Removed)>...
> How can I determine the parameters of a SQL Server stored procedure based
> only the name of stored procedure.
> Ideally it will be to obtain a collection of SqlParameters.
>
> Thanks!