SqlCommand getrc = new SqlCommand();
getrc.CommandType = CommandType.StoredProcedure;
getrc.CommandText = "YourSPName";
getrc.Connection = YourSqlConnection; // Make sure your sqlconnection is opened
getrc.Parameters.AddWithValue("@a","A");
getrc.Parameters.AddWithValue("@b","B");
...
getrc.ExecuteNonQuery(); // Maybe