Hi,
Please Suggest Which method is best to pass parameteres in stored procedure.
Using Hashtable input.Add("param1",value) or Parameters.Addwithvalues("param1",value)
Hashtable input vs add parameters with value
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Sibeesh VenuRank #27 · 42.9K reputationPosted Jan 19, 2015, 3:49 AM EST
I always uses parameters.addwithvalue.
Please read here :
http://weblogs.sqlteam.com/dang/archive/2008/02/18/Why-Parameters-are-a-Best-Practice.aspx
Please accept and up vote if it helped you.
Kindest Regards
Sibeesh
http://sibeeshpassion.com/