Forum Discussion
DanielWillis
2 years agoValued Contributor
The error actually describes the issue exactly here. You're:
1. trying to add something to a list passing 2 arguments but only one is allowed.
2. trying to add a string to a list of DBParamInfo
paramList.Add("@myFileName", myFileName)
I think perhaps what you want to do is something like (also untested!)
paramList.Add(new DBParamInfo("@myFileName", myFileName))
- JackLacava2 years agoHonored Contributor
Good spot Daniel, that's exactly it, I forgot the wrapping. Will correct.
Related Content
- 8 months ago
- 5 months ago
- 3 years ago
- 11 months ago