473,574 Members | 4,964 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 3142
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
3055
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...
0
2857
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,...
0
2471
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...
5
29820
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
61334
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
2657
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...
3
7499
by: Marty | last post by:
Hi, What is the VB.NET equivalent of the VB6 ADODB.Connector and ADODB.Recordset? Thanks Marty
6
5155
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...
1
3360
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
7821
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...
0
8083
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
7835
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
8121
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...
0
6487
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
5635
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
3777
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2255
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
0
1087
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.