473,325 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Conversion overflows error

Am getting the 'conversion overflows' error while running the stored procedure. In stored procedure one column is having 30 decimal places. Due to this am getting this error. But, i have only read only access to stored procedure. i cant modify it. So i need to solve this problem in code.

Please help me......

Expand|Select|Wrap|Line Numbers
  1. Dim objCMD As New SqlCommand            
  2. Dim objDA As New SqlDataAdapter            
  3. Dim objDS As DataSet            
  4. With objCMD                
  5. .Connection = sqlCon                
  6. .Parameters.AddRange(sqlParam)
  7. .CommandType = CommandType.StoredProcedure                
  8. .CommandText = "stored procedure name"
  9. End With
  10. objDA.SelectCommand = objCMD            
  11. objDS = New DataSet            
  12. objDA.Fill(objDS)
  13.  
In data adapter filling am getting this error.
Jul 8 '10 #1
0 1113

Sign in to post your reply or Sign up for a free account.

Similar topics

19
by: Randy Yates | last post by:
Consider the following code: #include "dsptypes.h" /* definitions */ #define VECTOR_LENGTH 64 /* local variables */
0
by: daniel li | last post by:
I got a runtime error for the following C# code which is converted from java to C# by .net conversion tool. Error: out of range exception "Ticks must be between DataTime.MinValue.Ticks and...
0
by: Chris | last post by:
I have a template class called Image and I want to make a conversion function to that I can easily convert one template type to another. I tried making functions for a couple specific cases, but...
0
by: Eph0nk | last post by:
Hi, I get an overload resolution failed error (Overload resolution failed because no accessible 'New' can be called without a narrowing conversion), and I can't seem to find a lot of relevant...
28
by: James Brown | last post by:
All, I have a series of characters which I need to convert to integer values. Each character is read in turn from a function 'nextch', and hex-digits are identified by the isxdigit function - so...
1
by: Anna | last post by:
I have two data types in my program: Foo1 and FooTD (which is a typedef of type Foo2) Foo1 has an operator= function which takes a const& to Foo2 as input and assigns it to a Foo1 type. ...
26
by: drako | last post by:
Hi, I'm a bit stumped as I am getting a "Notice: Array to String Conversion" error when trying to do something that on the surface should be a very simple task - create an array, and write a set...
13
by: problem. | last post by:
#include <stdio.h> #include <stdlib.h> int main(void) { int a, b; float result = 0.0f; char symbol = '\0'; int loop = 0;
14
by: yeah | last post by:
hi all I am working with linux environment and i compiled device driver programs using native compiler "gcc".In one of my macro i have these lines #if (1 << HARDIRQ_BITS) < MAX_HARDIRQS_PER_CPU...
4
by: smugcool | last post by:
HI, I am trying to import an excel data. All the fields are geting imported properly. But i am geting error in the date field. I tried to keep the format both in excel and access very similar.But...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.