Skip to content

Commit 438f2ad

Browse files
authored
Fix strange Console.WriteLine (dotnet#8669)
1 parent 97c6865 commit 438f2ad

File tree

1 file changed

+3
-3
lines changed
  • snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataView Example/CS

1 file changed

+3
-3
lines changed

snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataView Example/CS/source.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ private void PrintTableOrView(DataTable table, string label)
6565
Console.WriteLine("\n" + label);
6666
for(int i = 0; i<table.Rows.Count;i++)
6767
{
68-
Console.WriteLine("\table" + table.Rows[i]["item"]);
68+
Console.WriteLine(table.Rows[i]["item"]);
6969
}
7070
Console.WriteLine();
7171
}
@@ -77,9 +77,9 @@ private void PrintTableOrView(DataView view, string label)
7777
Console.WriteLine("\n" + label);
7878
for(int i = 0; i<view.Count;i++)
7979
{
80-
Console.WriteLine("\table" + view[i]["item"]);
80+
Console.WriteLine(view[i]["item"]);
8181
}
8282
Console.WriteLine();
8383
}
8484
}
85-
// </Snippet1>
85+
// </Snippet1>

0 commit comments

Comments
 (0)