ADO.NET Example?

  • Thread starter Thread starter RJ
  • Start date Start date
R

RJ

I've used ADO 2.x in VB6, and now moving to ADO.NET.

Anyone have a simple example? (Any NET language is fine).

All I want to do is connet to a database. How do I do that?
 
Do you have the documentation?

dim cn as New sqlConnection("server=fred;integrated security=sspi")
cn.Open


--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top