"Object must implement IConvertible. "

D

dan

I am using VB.NET 2003 and SQL Server 2000.
My program inserts new rows in a SQL table based on data read from a file.
I generated the commands and the stored procedures with the DataAdapter
wizard.
The execution of the Insert Command throws the exception: "Object must
implement IConvertible. "
1. What object does it refer to? The Command itself?
2. On the other hand, in the VS Help file all IConvertible members have this
warning: "This member supports the .NET Framework infrastructure and is not
intended to be used directly from your code."

Your help will be much appreciated.
Thanks, Dan
 
O

One Handed Man \( OHM - Terry Burns \)

Please post your code

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 
K

Ken Tucker [MVP]

Hi,

What is the type of objReservation.r?


Ken

-------------------------------
 
D

dan

Hello Ken,
objReservation is an object of class Reservation. But it is not used in the
current version of the program. All references to it were actually
outcommented and
are now completely removed, see new source file attached to a separate
message.
Thanks, Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top