473,586 Members | 2,472 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

all rows from excel are not getting imported to datatable using oledbconnection

1 New Member
Hi all, I am stucked up at this point. I searched alot on gooogle but didnot find anything. My problem is: I have an Excel file which i want to export to datatable and from datatable i want to save it to oracle DB. Excel file contains multiple columns and each column consists of large data(approx 20000characters/numbers). using oledbconnection (http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/),excel columns with such large data are not imported to datatble.(Small data columns gets copied). Can anyone suggest workaround to my problem??? Thanks in advance.
Apr 25 '11 #1
1 2152
samueal
8 New Member
"(Small data columns gets copied)".
Can i know how many rows ?

You import some values to datatable and add in database,
and again import some values and add in database.

Try this?
May 19 '11 #2

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

Similar topics

7
12056
by: Egor Shipovalov | last post by:
I'm implementing paging through search results using cursors. Is there a better way to know total number of rows under a cursor than running a separate COUNT(*) query? I think PostgreSQL is bound to know this number after the first FETCH, isn't it? On a side note, why queries using LIMIT are SO terribly slow, compared to cursors and...
0
1934
by: Seth | last post by:
First off, my apologies if this is in the wrong newsgroup, but I hope I'm close enough. I'm trying to do some parsing of a CSV file using OleDbConnection, but for some reason, when I populate my DataSet, it is trimming the trailing spaces. Anybody know why? Here is my code: System.Data.OleDb.OleDbConnection connection = null;
3
2770
by: Shreeram Natarajan | last post by:
Hello, Iam developing a sharepoint webpart which needs to read data from an excel file. Iam using OleDbconnection for reading data from excel. However using OleDbconnection object gives the following error: "Request Failed: System.Security.SecurityException."
1
1335
by: Sam | last post by:
Hi, I have filtered a datatable using a dataview. Afterward, I get the datarow indices of the datable of the rows that are contained by the dataview: Dim MyIndex As New ArrayList For Each drv As DataRowView In myDataview MyIndex.Add(myDatatable.Rows.IndexOf(drv.Row))
5
25684
by: kewalmehra | last post by:
Hi All, I have a requirement of saving Excel files as HTML using C#. I have managed to write code for saving as HTLM file. however this seems to be not working in the once perticular case . For e.g I hav the following values are in column say A1 & A2.
0
1165
by: Kewal | last post by:
Hi All, I have a requirement of saving Excel files as HTML using C#. I have managed to write code for saving as HTLM file. however this seems to be not working in the once perticular case . For e.g I hav the following values are in column say A1 & A2. A1A2 D B
1
8016
by: Seemaraj | last post by:
I have doubt in VB.Net on how to update the records in table. I m using MS Access database. I have a table named len_graph with 9 fields like Lenid,Lenval,Lenval1,test1,test2,test3,test4,test5,test6. At first time when the start button is clicked the records are added in the table where only 4 fields of the table is filled . When the button...
1
2881
by: fniles | last post by:
To do a connection pooling for MS Access using OleDBConnection, do I need to include OLE DB Services=-1 in the connection string ? What will the connection string be for connection pooling for MS Access using OleDBConnection ? Thank you. ConnectionDemoOLE = New OleDb.OleDbConnection sPath = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &...
8
16160
by: fniles | last post by:
Can I change the connection time out in VB.Net 2003 and MS Access (using OLEDbConnection) ? When I use Connect Timeout = 60 in the connectionstring, I get an error "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done." Thanks. ConnectionOLE = New OleDb.OleDbConnection sPath =...
1
1821
by: questionit | last post by:
Hi Like we can retreive all the records from a table using this method: While (Not rst.EOF) .... End While How to retrieve all the records when using OleDbConnection
0
7841
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...
0
8204
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7965
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...
0
6617
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5712
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3869
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
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
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1184
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...

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.