473,761 Members | 9,284 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Equivalent ADODB.Connector and ADODB.Recordset in VB.NET

Hi,

What is the VB.NET equivalent of the VB6 ADODB.Connector and
ADODB.Recordset ?

Thanks

Marty
Jul 21 '05 #1
3 3155
Marty,

You can use in VB.Net ADODB. However exactly as I write "use" it is not
really dotNet.

In dotNet are the equivalent of the ADODBconnection the ADONET connections,
normally SQLConnection and OleDbConnection while there is at least one more
for Oracle.

A kind of equivalent from the recordset is the datatable, which is mostly
used in a dataset which can hold more datatables.

The big difference between ADODB and ADONET is that ADODB is connected and
ADONET disconnected.

I hope this helps?

Cor.
"Marty" <ma**@to.foru m> schreef in bericht
news:cs******** *******@fe51.us enetserver.com. ..
Hi,

What is the VB.NET equivalent of the VB6 ADODB.Connector and
ADODB.Recordset ?

Thanks

Marty

Jul 21 '05 #2
Hi Marty,

In .NET, they are the OleDBConnection or SqlConnection object, and the
DataSet objects.

HTH,
- Rakesh Rajan

"Marty" <ma**@to.foru m> wrote in message
news:cs******** *******@fe51.us enetserver.com. ..
Hi,

What is the VB.NET equivalent of the VB6 ADODB.Connector and
ADODB.Recordset ?

Thanks

Marty

Jul 21 '05 #3
Great, thanks guys for your reply. Now I know what where to go.

Marty

Rakesh Rajan wrote:
Hi Marty,

In .NET, they are the OleDBConnection or SqlConnection object, and the
DataSet objects.

HTH,
- Rakesh Rajan

"Marty" <ma**@to.foru m> wrote in message
news:cs******** *******@fe51.us enetserver.com. ..
Hi,

What is the VB.NET equivalent of the VB6 ADODB.Connector and
ADODB.Records et?

Thanks

Marty


Jul 21 '05 #4

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

Similar topics

0
3074
by: Randi | last post by:
Hi all, I have this project to use the ADODB control to acces and manipulate the Access DB. I amd the mistake of first doing this project with just the data control. It worked fine with this control. I adjusted a few things and can get the ADODB controlto move through the records of the DB, but my menu controls do not work. I used them to look up certain records through various criteria. When I click on the lookup, it brings up the...
0
2878
by: elcc1958 | last post by:
I need to support a VB6 application that will be receiving disconnected ADODB.Recordset from out DotNet solution. Our dotnet solution deals with System.Data.DataTable. I need to populate a disconnected ADODB.Recordset from System.Data.DataTable data. Below is the source code I am implementing to test the process. I do not get any error, that I can see. The problem I have is that at the end, the recordset seems to be empty. Any...
0
2478
by: Channing Jones | last post by:
Hello everyone, I am trying to store data in a binary field of an SQL-Server table using ADODB. So far, I have managed to store a record but not any data in the binary field. I only get exceptions on various part. I have tried both AppendChunk and using a stream object. Unfortunately all the examples I can find in the Net and on the Microsoft site
5
29846
by: Simone | last post by:
Hello I hope you guys can help me. I am very new to ADO... I am creating a ADODB connection in a module and trying to access it from a command button in a form. Function fxEIDAssgn(plngEID As Long) As Boolean Dim rsAssignedUser As ADODB.Recordset Dim strSelectUser As String
2
61352
by: Lauren Quantrell | last post by:
In my Access2000 .MDB database I use this sort of structure all over the place (How do I replace it in my Access2000 .ADP database?): Dim db as Database Dim rs as DAO.Recordset Dim strSQL as String Dim myUniqueID as Long Dim myExtract as Long strSQL = "Select myTableName.myIDField, myTableName.myTextField " & _
3
2662
by: Andy G | last post by:
I have some code that hits a DB2 database from my ASP.NET application. I haven't been able to exactly nail it down but my connections are not getting closed for some reason. I look at the database and it's like everytime I click a button in the ASP.NET applicaiton and it runs a database command it leaves the connection open. The DBA's are not happy with me right now. Luckily I'm still in test. Does anyone have any idea why the below...
3
7516
by: Marty | last post by:
Hi, What is the VB.NET equivalent of the VB6 ADODB.Connector and ADODB.Recordset? Thanks Marty
6
5174
by: Oko | last post by:
I'm currently developing an MS Access Data Project (.adp) in MS Access 2002. One of the reports within the DB uses data that is Dynamic and cannot be stored on the SQL Server. To resolve this, I have created an ADODB.Recordset in the reports OPEN event, built the necessary records inside of it, and then bound the report to this newly created recordset. Here's the rub:
1
3372
by: shivasusan | last post by:
Hi Friends! Please Help me! How i can solve this error? Please explain me, what is the error and how to solve? Error Type: ADODB.Recordset (0x800A0E7D) The connection cannot be used to perform this operation. It is either closed or invalid in this context. /H3finalresult/include/accept_reject2.asp, line 18
0
9376
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
9988
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...
0
9811
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8813
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7358
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5266
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...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3911
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
3
3509
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.