Skip to content

Instantly share code, notes, and snippets.

@gavilanch
Created June 20, 2016 23:10
Show Gist options
  • Save gavilanch/10d5f6acbc00ad15f6c325e44b36c00e to your computer and use it in GitHub Desktop.
Save gavilanch/10d5f6acbc00ad15f6c325e44b36c00e to your computer and use it in GitHub Desktop.
// Si mi procedimiento almacenado tiene 3 parámetros, entro escribo tres lineas como estas:
cmd.Parameters.Add(new SqlParameter("@parametro1", "valor1"));
cmd.Parameters.Add(new SqlParameter("@parametro2", "valor2"));
cmd.Parameters.Add(new SqlParameter("@parametro3", "valor3"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment