Hi guys,
I have a confusing problem. I have a stored procedure that gets Consultant data from the db.The problem is that the procedure that doesn't work in all parts of the code. For example when printing, the procedure works fine. When retriving the data to view on screen(or doing any other function) the procedure will crash, givng me this error message
"Item can't be found in the collection corresponding
to the requested name or ordinal"
does anyone have any idea why it would work in one part of the program and not another?
the call to the procedure is like this
devdb.GetConsultant mvarConsID
I can post more code if needed.
Thanks for looking.
I have a confusing problem. I have a stored procedure that gets Consultant data from the db.The problem is that the procedure that doesn't work in all parts of the code. For example when printing, the procedure works fine. When retriving the data to view on screen(or doing any other function) the procedure will crash, givng me this error message
"Item can't be found in the collection corresponding
to the requested name or ordinal"
does anyone have any idea why it would work in one part of the program and not another?
the call to the procedure is like this
devdb.GetConsultant mvarConsID
I can post more code if needed.
Thanks for looking.