About IDataParameter( )
Hi, guys,
What's up with (p.35) using IDataParameter() instead of a SQLParameterCollection? For one thing doesn't the latter implement the former? In any case I can't get the former to convert to the latter. In the BuildIntCommand() function, for instance, I use "ByVal parameters As IDataParamter()" and this won't convert in the body of the function on the line, "Dim command as SQLCommand = BuildquesryCommand(SPName, parameters)" . Yup, it doesn't like parameters being type IDataParameter.
I suppose I can substitute SQLParameterCollection, right? But why is the book using IDataParameter?
Thanks .... Paul
|