File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22title : " Step 3: Proof of concept connecting to SQL using ADO.NET | Microsoft Docs"
33description : " Contains C# code examples for connecting to SQL Server, executing a query and inserting a row."
44ms.custom : " "
5- ms.date : " 08/15/2019 "
5+ ms.date : " 08/05/2020 "
66ms.prod : sql
77ms.prod_service : connectivity
88ms.technology : connectivity
@@ -28,9 +28,8 @@ The method **SqlConnection.Open** is used to connect to your SQL database.
2828
2929
3030``` csharp
31- // C# , ADO.NET
3231using System ;
33- using QC = Microsoft .Data .SqlClient ; // System.Data.dll
32+ using QC = Microsoft .Data .SqlClient ;
3433
3534namespace ProofOfConcept_SQL_CSharp
3635{
@@ -71,9 +70,9 @@ The method SqlCommand.ExecuteReader:
7170
7271
7372``` csharp
74- using System ; // C# , ADO.NET
75- using DT = System .Data ; // System.Data.dll
76- using QC = Microsoft .Data .SqlClient ; // System.Data.dll
73+ using System ;
74+ using DT = System .Data ;
75+ using QC = Microsoft .Data .SqlClient ;
7776
7877namespace ProofOfConcept_SQL_CSharp
7978{
@@ -159,9 +158,9 @@ This example demonstrates how to:
159158
160159
161160``` csharp
162- using System ; // C# , ADO.NET
163- using DT = System .Data ; // System.Data.dll
164- using QC = Microsoft .Data .SqlClient ; // System.Data.dll
161+ using System ;
162+ using DT = System .Data ;
163+ using QC = Microsoft .Data .SqlClient ;
165164
166165namespace ProofOfConcept_SQL_CSharp
167166{
You can’t perform that action at this time.
0 commit comments