sql server 2008 - how to get stored procedure parameters count using C# -
i have 2 stored procedure "same name" different functionality in different database.
suppose have 2 database named db1 & db2. in db1 stored procedure contains 7 parameteres , db2 contains 11 parameters.
so how can stored procedure parameteres count using c#. using count can add condition both different databases.
following links you,
http://www.4guysfromrolla.com/articles/092408-1.aspx
http://adamprescott.net/2012/09/21/sqlcommandbuilder-deriveparameters/
http://blogs.lessthandot.com/index.php/datamgmt/datadesign/getting-the-list-of-parameters/
any let me know...............
Comments
Post a Comment