Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mvit777 authored Nov 15, 2021
1 parent fef6ad3 commit ed2ad71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ from their own repository description:
## How to use ExcelHelper

outputs a table with a total row. Only numeric columns are taken into consideration
```
```csharp
var SomeDataTable = GetDataTable(sql);

var file = AppDomain.CurrentDomain.BaseDirectory + "/output/rowtotal.xlsx";
Expand All @@ -29,7 +29,7 @@ eh.Dispose();
![RowTotal](https://github.com/mvit777/ExcelHelper/raw/master/img/rowTotal.png)

outputs a pivot table in a separate SHEET
```
```csharp
string sql = "SELECT * FROM Invoices ORDER BY OrderDate";
var results = GetDataTable(config, sql, null);
var file = AppDomain.CurrentDomain.BaseDirectory + "/output/pivot_at_once.xlsx";
Expand Down

0 comments on commit ed2ad71

Please sign in to comment.