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.
__________________________________
 
Back
Top