Re: How to enter data in a SQL database (SQL Server 2000)?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Mark,

In vb6 we use ADO to access Database( we can access many kinds of
database), e.g. oracle, access , sql server, the different is that we need
to use different provider,connection string.
e.g. the string below will use the SQLOLEDB provider to connect to a
sqlserver.
"Provider=SQLOLEDB;Data Source=MySQLServer;" _
& "Integrated Security=SSPI;Initial Catalog=pubs"

Here are a few links for your reference.

HOWTO: Use Bound Controls with an ADO Recordset (190371)
http://support.microsoft.com/default.aspx?scid=KB;EN-US;190371

INFO: Using ActiveX Data Objects (ADO) via Visual Basic
http://support.microsoft.com/default.aspx?scid=kb;EN-US;168335

Here is link about ADO for starter.

ActiveX Data Objects 2.8 Start Page
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/
dasdkadooverview.asp

ActiveX Data Objects (ADO)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/
mdmscsection1_ado.asp




Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: How to connect MS ACCESS in Netwaork base VB6.0 Programme from server
    ... Structure you can use to connect to and query an Access Database using ADO. ... How to connect MS ACCESS in Netwaork base VB6.0 Programme from server ... SIDE) AND ATTENDENS STORE OM MS ACCESS DATABASE WHICH IS STORED ON ...
    (microsoft.public.vb.winapi)
  • Re: ADO and Active Server pages on a mac
    ... In otherwords does the Excel object model on a Mac have ADO? ... Here is how to create a connection to a MS Access Database: ... Does ADO only work on Active Server Pages on a PC? ...
    (microsoft.public.mac.office.excel)
  • ADO and Active Server pages on a mac
    ... Can you use ADO object to connect to an Access database from Excel on a Mac ... Does ADO only work on Active Server Pages on a PC? ...
    (microsoft.public.mac.office.excel)
  • Re: Importing data From Word Form to Access
    ... you have DAO and ADO. ... > access database. ... This reply is posted in the Newsgroup; please post any follow question or reply ...
    (microsoft.public.word.docmanagement)
  • Closing an ADOX connection?
    ... I have to CREATE an Access database via C#. ado.net doesn't allow CREATING. ... I used ADOX (ActiveX Data Objects (ADO)) from C#. ... In anycase, ...
    (microsoft.public.dotnet.framework.adonet)