By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,815 Members | 1,143 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,815 IT Pros & Developers. It's quick & easy.

"Object must implement IConvertible. "

P: n/a
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

Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Please post your code

--

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

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

"dan" <de*@deamon.com> wrote in message
news:e2*************@TK2MSFTNGP12.phx.gbl...
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

Nov 20 '05 #2

P: n/a
Hi,

What is the type of objReservation.r?
Ken

-------------------------------

"dan" <de*@deamon.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Here it is. Thanks, Dan


"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in
message
news:O$**************@TK2MSFTNGP09.phx.gbl...
Please post your code

--

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

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

"dan" <de*@deamon.com> wrote in message
news:e2*************@TK2MSFTNGP12.phx.gbl...
> 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
>
>
>



Nov 20 '05 #3

P: n/a
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

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi,

What is the type of objReservation.r?
Ken

-------------------------------

"dan" <de*@deamon.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Here it is. Thanks, Dan


"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in
message
news:O$**************@TK2MSFTNGP09.phx.gbl...
Please post your code

--

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

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

"dan" <de*@deamon.com> wrote in message
news:e2*************@TK2MSFTNGP12.phx.gbl...
> 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
>
>
>




Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.