Calling a SQLServer stored procedure

Mar 25 2005 11:10 AM
I'm trying to call a SQLServer stored procedure. There is a parameter list that needs to be built. The code below doesn't work but am looking for working examples of calling SQLServer stored procedures. Does anyone have any examples of how to accomplish the task? c.Parameters.Add(new SqlParameter("p_Curr_Year", System.Data.SqlTypes.Integer, 4, "HID"));

Answers (2)