473,497 Members | 2,051 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

OdbcDataAdapter batch inserts

This has probably already been answered, but it didn't show up when I
did a search.

I need to be able to perform a batch insert using the ODBC ADO.NET
objects (OdbcCommand, OdbcDataAdapter, etc).

I know that there are ODBC method to perform this via the DLL, but
want to do this via ADO.NET. Is this possible?

If so, can you point me to an example?

Apr 19 '07 #1
1 3412
Paul,

It doesn't look like the OdbcDataAdapter class supports this out of the
box.

If anything, you are going to have to access the functions that do this
directly through the P/Invoke layer.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<pa************@gmail.comwrote in message
news:11*********************@d57g2000hsg.googlegro ups.com...
This has probably already been answered, but it didn't show up when I
did a search.

I need to be able to perform a batch insert using the ODBC ADO.NET
objects (OdbcCommand, OdbcDataAdapter, etc).

I know that there are ODBC method to perform this via the DLL, but
want to do this via ADO.NET. Is this possible?

If so, can you point me to an example?

Apr 19 '07 #2

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

Similar topics

0
1108
by: Steve - DND | last post by:
Is there a way to perform multiple inserts and updates to SQL Server with stored procedures and the Command object's named parameters all at once? The only way to do this that I'm gathering so far...
3
1840
by: jm | last post by:
I do not want to use the datagrid, datalist, etc. I want to retrieve simply the value from the query. I know the sql is returning data, because, if I use a grid, I can populate it. I have...
1
1544
by: ML | last post by:
We have a large batch type update process that the user needs to launch from a button on an ASP.NET webpage. The process basically does some queries against SQL Server, loops through the result...
3
2328
by: Carlos | last post by:
Hello Forum, I would appreciate it if you could recommend settings to use auto-vacuum in my version 7.4 database. I am uploading several thousands records in the database at a rate of ~1 second...
12
5093
by: Selva Chinnasamy | last post by:
Hi I am using batch commands against Ms-Access and getting an error Message "Characters found after end of SQL statement." String Here is my sql Dim str_screens As String = "Select * from Screens...
0
3744
by: varac | last post by:
Hi list, I am new to mysql and would appreciate any advice that you have to offer. I am attempting to batch insert 100 rows into a table, and I need to know the 100 id's of all the inserted...
2
2355
by: Private Pyle | last post by:
We are prototyping an application that is inserting 500 rows into a table. One method is to using batching and make one database call to insert all 500 rows, the other method is to make 500...
2
5598
by: monteiro | last post by:
Hi, I am using OdbcDataAdapter to insert data to postgreeSQL.. Everything’s seems to be fine, but nothing is inserting in the database. Andy Idea?? Thanks in advance string selectCommand =...
3
3553
by: Amber | last post by:
We are using 8.2.9 Windows 64 edtion, in one of our projects we need to recreate a few lager tables which have many millions of rows each, we have used concurrent Java threads to read from data...
0
7121
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,...
0
7162
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,...
1
6881
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...
0
7375
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...
1
4899
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...
0
4584
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
3088
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...
1
650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
287
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...

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.