The OleDbParameterCollection only accepts non-null OleDbParameter type objects, not SqlParameter objects.
I have encountered the above error message while executing my sql parameter. What could be the root cause for the above error.
I am connecting to a Ms access table using oledb connection string and copying some info based on user selection into sql server tables.. i have check whether the same info already exist in my sql server table also .. but when i run my code.. i have experienced above issue..
If needed i can provide my code also...