How to pass a large number of parameters (say 20+) to stored procedure from code?
Like we can group all the parameters in one class object and then pass it across, but h
You shouldn't normally need lots of variables to store parameters; you will need to add SqlParameter (etc) per arg, but you can set them in a loop (/etc).
SqlParameter