Skip to content

Commit 4c486e9

Browse files
authored
Merge pull request #16470 from David-Engel/patch-1
Updating code sample
2 parents b722de2 + 817cde1 commit 4c486e9

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

docs/connect/ado-net/step-3-connect-sql-ado-net.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Step 3: Proof of concept connecting to SQL using ADO.NET | Microsoft Docs"
33
description: "Contains C# code examples for connecting to SQL Server, executing a query and inserting a row."
44
ms.custom: ""
5-
ms.date: "08/15/2019"
5+
ms.date: "08/05/2020"
66
ms.prod: sql
77
ms.prod_service: connectivity
88
ms.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
3231
using System;
33-
using QC = Microsoft.Data.SqlClient; // System.Data.dll
32+
using QC = Microsoft.Data.SqlClient;
3433

3534
namespace 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

7877
namespace 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

166165
namespace ProofOfConcept_SQL_CSharp
167166
{

0 commit comments

Comments
 (0)