473,507 Members | 2,377 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IConvertible

I am getting an error message on .ExecuteNonQuery using a procedure stating
the I need to use IConvertible. The data the gives the error is a defined as
"SqlDbType.Money."

When I search Microsoft and find an explantion of IConvertible, nothing is
mentioned for "Money."

Can someone provide me to a coding example where the data is "Text" coming
from the from and data going to the database is "Money?"

Thanks.
Nov 21 '05 #1
1 1361

"Bruce A. Julseth" <br***********@attglobal.net> wrote in message
news:u6**************@TK2MSFTNGP09.phx.gbl...
I am getting an error message on .ExecuteNonQuery using a procedure stating the I need to use IConvertible. The data the gives the error is a defined as "SqlDbType.Money."

When I search Microsoft and find an explantion of IConvertible, nothing is
mentioned for "Money."

Can someone provide me to a coding example where the data is "Text" coming
from the from and data going to the database is "Money?"

Thanks.


I found my problem, after a full day of debugging,. User error.

Thanks..
Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
11346
by: Bill Cart | last post by:
This is a question from a confused newbe.I have an oldDbCommand component called oleDbCmdAddDemoReq and an oldDbConnection called oleDbConDemoReq on a web form. I have the following code: ...
4
3571
by: Rene | last post by:
According to the documentation, the int (Int32) type inherits the Iconvertible interface. This interface has a bunch of methods such as ToDecimal, ToDouble etc. The thing is that I don't seem to be...
3
1409
by: sjoshi | last post by:
Hello All I have schema as such: <xs:element name="OFDateProxies"> <xs:complexType> <xs:sequence> <xs:element name="M_CRProxy_OID" msdata:DataType="System.Guid, mscorlib, Version=1.0.5000.0,...
5
3927
by: Leon Shaw | last post by:
I'm trying to insert a record into a sql server 2000 database using a store procedure (vs.net is my develop tool) on the button click event but I keep getting the following error after clicking the...
1
1798
by: Tim::.. | last post by:
Hi can someone please help me with the following error! I keep getting: ERROR: System.InvalidCastException: Object must implement IConvertible. Line 231: PageID =...
4
2132
by: charleswesley | last post by:
I think the problem is with the strPrice variable in the AddToCart() sub. I've been messing with it all morning and can't seem to figure it out. Any ideas? ...
1
2431
by: dan | last post by:
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...
3
2624
by: dan | last post by:
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...
2
2352
by: lcorrias | last post by:
i try to do a simple insert using SQLDataSource and a Stored Procedure I try all night and always have this error Object Must Implement IConvertible
0
7111
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7319
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7485
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1542
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
760
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.