Wei Ding
Software Developer and Investment Performance Analyst
Sydney, Australia
Tuesday, October 14, 2008
SQL Server: The SqlParameter with ParameterName is already contained by another SqlParameterCollection
It happens when you try to re-use the SqlCommand object. The solution is that make sure use command.Parameters.Clear() at the end.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment