473,666 Members | 1,992 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IConvertible

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

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 1364

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

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
11355
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: oleDbConDemoReq.Open(); oleDbCmdAddDemoReq.ExecuteNonQuery(); oleDbConDemoReq.Close(); I get this error message:
4
3579
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 able to see any of this methods, even if I make a direct cast in the int. What am I missing? Thanks.
3
1415
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, Culture=neutral, PublicKeyToken=b77a5c561934e089" type="xs:string" />
5
3931
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 button: Object must implement IConvertible. What Can I do to fix this problem. It seems like it want to explicit convert a value to a specific datatype, but I set my command through vs.net which took care of that for me. what would you suggest?
1
1800
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 = cmd.Parameters("@PageID").Value Line 232: Line 233: Dim myReader As SqlDataReader = cmd.ExecuteReader()
4
2137
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? +++++++++++++++++++++++++++++++++++++++++++ + EXCEPTION + +++++++++++++++++++++++++++++++++++++++++++ Object must implement IConvertible. Description: An unhandled exception occurred during the execution of
1
2435
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 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:...
3
2630
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 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:...
2
2356
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
8445
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8356
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8781
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8551
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5664
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2771
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 we have to send another system
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1776
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.